cogwheel.data.highpass_filter

cogwheel.data.highpass_filter(frequencies, fmin=15.0, df_taper=1.0)

High-pass frequency domain filter with a sin^2 tapering.

Parameters:
frequenciesfloat 1d array

Sorted, regularly spaced frequencies.

fminfloat

Minimum frequency, filter will be 0 below this.

df_taperfloat

Width of the frequency band over which the filter goes to 1.

Returns:
float array

Same shape as frequencies, is 0 below fmin and 1 above fmin + df_taper.