th_sae

SAE class filter.

Syntax

th_sae(xvect, yvect, class, sample_rate, debug_flag)

Arguments

xvect
The time vectors (seconds).
yvect
Response vectors to be filtered (any units).
class
Can be 60, 180, 600, or 1000.
sample_rate
Can be 2, 5, or 10.
debug_flag
Optional argument. Flag to turn on debug mode (points to message log). Default is off.

Example

th_sae(p1w1c1.x, p1w1c1.y, 1000, 10)

Comments

SAE class filter is a low-pass filter, which means that high frequencies are filtered.

Here, valid combination of class and sample_rate are 1000/10, 600/5, 180/5, 60/5, 180/2, and 60/2.

Equivalent filters in TH++ are:
  • LOW PASS SAE 1000/10
  • LOW PASS SAE 600/5
  • LOW PASS SAE 180/5
  • LOW PASS SAE 60/5
  • LOW PASS SAE 180/2
  • LOW PASS SAE 60/2