Spectra1D¶
-
class
libra.Spectra1D(wavelength, flux, error=None, header=None, t_eff=None)[source] [edit on github]¶ Bases:
objectMethods Summary
interp_flux(new_wavelengths)n_photons(wavelengths, exp_time, J)Estimate the number of photons received from a target with J magnitude Jover exposure timeexp_time.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
Jover exposure timeexp_time.Parameters: wavelengths :
QuantityWavelengths to test
exp_time :
QuantityExposure time
J : float
J-band magnitude of the target
Returns: fluxes :
ndarrayCounts that reach the telescope at each wavelength
-