make_lowpass_filter
- jwst.clean_flicker_noise.nsclean.make_lowpass_filter(f_half_power, w_cutoff, n, d=1.0)[source]
Make a lowpass Fourier filter.
- Parameters:
- f_half_powerfloat
Half power frequency
- w_cutofffloat
Width of cosine cutoff. The response transitions from 1x to 0x over this range of frequencies
- nint
Number of samples in the timeseries
- dfloat
Sample spacing (inverse of the sampling rate). Defaults to 1.
- Returns:
- filtndarray
Filter array