to
Math Channel Reference
Inputs
| CH1 | Current sample of channel 1 (use CH2, CH3 … for others) |
| CH1(T-N) | Sample N steps ago — e.g. CH1(T-1) for previous sample |
Filters
| LP(CH1, fc) | 4th-order Butterworth lowpass, cutoff fc Hz |
| HP(CH1, fc) | 4th-order Butterworth highpass, cutoff fc Hz |
| BP(CH1, fc, bw) | Bandpass — center fc Hz, bandwidth bw Hz |
| NOTCH(CH1, fc, bw) | Band-reject — center fc Hz, bandwidth bw Hz |
Statistics
| AVG(CH1, N) | N-sample rolling average |
| FREQ(CH1) | Frequency of CH1 over displayed window (Hz), crossing mid-point |
| FREQ(CH1, lvl) | Frequency using specified crossing level |
| RMS(CH1) | RMS of CH1 over whole cycles in displayed window |
| RMS(CH1, lvl) | RMS using specified level to find cycle boundaries |
Math functions (JS Math object — no prefix needed)
abssqrtpowexploglog2log10sincostanasinacosatanatan2floorceilroundsignminmaxhypotPIE
Examples
| CH1 + CH2 | Sum two channels |
| CH1 * 0.001 | Scale to different unit |
| abs(CH1 - CH2) | Absolute difference |
| sqrt(CH1*CH1 + CH2*CH2) | Vector magnitude |
| LP(CH1,10) - HP(CH1,10) | See what the filters removed |
| CH1(T-1) | Delay by one sample |