n_photons

libra.n_photons(wavelengths, fluxes, exp_time, J, header)[source] [edit on github]

Estimate the number of photons received from a target with J magnitude J over exposure time exp_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