dm_filter_low_pass Subroutine

public pure subroutine dm_filter_low_pass(data, ord, cutoff, ts, passes)

Arguments

Type IntentOptional Attributes Name
real(kind=r8), intent(inout) :: data(:)

Sequence to be filtered.

integer, intent(in) :: ord

Order (#poles), not to exceed 10.

real(kind=r8), intent(in) :: cutoff

High-frequency cutoff of filter [Hz].

real(kind=r8), intent(in) :: ts

Sampling interval [sec].

logical, intent(in) :: passes

Forward filtering only if true, else forward and reverse (zero phase).