xrscipy.signal.extra.lowpass

xrscipy.signal.extra.lowpass(darray: DataArray, f_cutoff: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], *args, **kwargs) DataArray

Applies lowpass filter to a darray.

This is a 1-d filter. If the darray is one dimensional, then the dimension along which the filter is applied is chosen automatically if not specified by an arg dim. If darray is multi dimensional then axis along which the filter is applied has to be specified by an additional argument dim string.

Parameters:
  • darray (DataArray) – An xarray type data to be filtered.

  • f_cutoff (array_like) – A scalar specifying the cut-off frequency for the lowpass filter.

  • args – Additional arguments passed to frequency_filter function to further specify the filter. The following parameters can be passed: (order, irtype, filtfilt, apply_kwargs, in_nyq, dim)

  • kwargs – Arbitrary keyword arguments passed when the filter is being designed. See frequency_filter documentation for furhter information.