butter_band¶
-
gunagala.optical_filter.
butter_band
(w, w1, w2, N, scale=0.95)[source]¶ Simple Butterworth bandpass filter function in wavelength space.
Parameters: - w : astropy.units.Quantity
Wavelength
- w1 : astropy.units.Quantity
Wavelength of short wavelength edge of bandpass
- w2 : astropy.units.Quantity
Wavelength of long wavelength edge of bandpass
- N : int
Order of the Butterworth function
- scale : float, optional
Scaling to apply to the transmission of the Butterworth function, default 0.95
Returns: - transmission : astropy.units.Quantity
Filter transmission at wavelength
w
.