pyrfu.pyrf.lowpass module#

pyrfu.pyrf.lowpass.lowpass(inp, f_cut, fhz)[source]#

Filter the data through low or highpass filter with max frequency f_cut and subtract from the original.

Parameters:
  • inp (xarray.DataArray) – Time series of the input variable.

  • f_cut (float) – Cutoff frequency.

  • fhz (float) – Sampling frequency.

Returns:

out – Time series of the filter data.

Return type:

xarray.DataArray