filter_to_fft¶
- synphot.filter_parameterization.filter_to_fft(bp, wavelengths=None, n_terms=10)[source]¶
Calculate filter parameters using FFT.
- Parameters:
- bp
SpectralElement
Filter to parameterize.
- wavelengthsarray-like or
Quantity
Wavelength values for sampling. If not a Quantity, assumed to be in Angstrom. If
None
,waveset
is used.- n_termsint
Number of FFT parameters to keep.
- bp
- Returns: