pybsm.radiance.functional.photon_detection_rate

pybsm.radiance.functional.photon_detection_rate(*, E: ndarray, w_x: float, w_y: float, wavelengths: ndarray, qe: ndarray) ndarray

IBSM Equation 3-42 with dark current, integration time, and tdi separated out.

Conversion of photons into photoelectrons. There is a possible disconnect here in the documentation. Equation 3-42 appears to be a spectral quantity but the documentation calls for an integrated irradiance. It is definitely used here as a spectral quantity.

Parameters:
  • E – spectral irradiance (W/m^2 m) at the focal plane at each wavelength

  • w_x – detector size (width) in the x direction (m)

  • w_y – detector size (width) in the y direction (m)

  • wavelengths – wavelength array (m)

  • qe – quantum efficiency (e-/photon)

Returns:

dN:

array of photoelectrons/wavelength/second (e-/m)

NOTE:

To calculate total integrated photoelectrons, N = td*n_tdi*integrate.trapezoid(dN, wavelens) where td is integration time (s) and n_tdi is the number of tdi stages (optional).