Spectrum1D¶
-
class
libra.
Spectrum1D
(wavelength, flux, error=None, header=None, t_eff=None)[source] [edit on github]¶ Bases:
object
Methods Summary
interp_flux
(new_wavelengths)n_photons
(wavelengths, exp_time, J)Estimate the number of photons received from a target with J magnitude J
over exposure timeexp_time
.plot
([ax])Methods Documentation
-
interp_flux
(new_wavelengths)[source] [edit on github]¶
-
n_photons
(wavelengths, exp_time, J)[source] [edit on github]¶ Estimate the number of photons received from a target with J magnitude
J
over exposure timeexp_time
.Parameters: wavelengths :
Quantity
Wavelengths to test
exp_time :
Quantity
Exposure time
J : float
J-band magnitude of the target
Returns: fluxes :
ndarray
Counts that reach the telescope at each wavelength
-
plot
(ax=None, **kwargs)[source] [edit on github]¶
-