threeML.utils.photometry.filter_set module
- class threeML.utils.photometry.filter_set.FilterSet(filter, mask=None)[source]
-
Bases:
object- ab_magnitudes()[source]
-
Return the effective stimulus of the model and filter for the given magnitude system :return: np.ndarray of ab magnitudes.
- property effective_wavelength
-
the average wave length of the filters
- Type:
-
return
- property filter_names
-
the filter names
- Type:
-
return
- property n_bands
-
the number of bands
- Type:
-
return
- property native_filter_names
-
return:
- Type:
-
The native filter names
- set_model(differential_flux)[source]
-
Set the model of that will be used during the convolution.
Not that speclite considers a differential flux to be in units of erg/s/cm2/lambda so we must convert astromodels into the proper units (using astropy units!)
- property speclite_filters
-
Exposes the speclite fitlers for simulations.
- Returns:
- property wavelength_bounds
-
return:
- Type:
-
IntervalSet of FWHM bounds of the filters
- property waveunits
-
the pysynphot wave units
- Type:
-
return