dm_filter Module

Filter module, based on FORTRAN 77 procedures by David Harris (1990).


Uses

  • module~~dm_filter~~UsesGraph module~dm_filter dm_filter module~dm_const dm_const module~dm_filter->module~dm_const module~dm_kind dm_kind module~dm_filter->module~dm_kind module~dm_const->module~dm_kind iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Used by

  • module~~dm_filter~~UsedByGraph module~dm_filter dm_filter module~dmpack dmpack module~dmpack->module~dm_filter

Subroutines

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).