filters_to_fft_table¶
- synphot.filter_parameterization.filters_to_fft_table(filters_mapping, n_terms=10)[source]¶
Run
filter_to_fft()
on a list of filters and store results in a table.- Parameters:
- filters_mappingdict
Dictionary mapping human-readable filter name to its
SpectralElement
and wavelengths, if applicable. If the filter object has a validwaveset
, just provideNone
for wavelengths; otherwise provide a Quantity array for sampling. For example:{'JOHNSON/V': (<SpectralElement ...>, None), 'Flat': (<SpectralElement ...>, <Quantity [1000., ..., 9999.] Angstrom>)}
- n_termsint
Number of FFT parameters to keep.
- Returns:
- fft_table
Table
Table storing FFT parameterization for the given filters. Use its
write
method to save it to file.
- fft_table