low_cut_filter

low_cut_filter(df, numtaps, cutoff, fs=10000)[source]

Performs a low-cut filter.

Parameters:
  • df (DataFrame) – The data to filter with loci as columns and timestamps as rows.

  • numtaps (int) – Length of the filter. See scipy.signal.firwin for more details.

  • cutoff (int) – Cutoff frequency of the filter. See scipy.signal.firwin for more details.

  • fs (int, default 10000) – The sampling frequency. See scipy.signal.firwin for more details.

Returns:

The filtered data.

Return type:

DataFrame