pybsm.radiance.functional.photon_detector_SNR

pybsm.radiance.functional.photon_detector_SNR(*, sensor: Sensor, radiance_wavelengths: ndarray, target_radiance: ndarray, background_radiance: ndarray) SNRMetrics

Calculates extended target contrast SNR for semiconductor-based photon detector systems.

Calculates extended target contrast SNR for semiconductor-based photon detector systems (as opposed to thermal detectors). This code originally served the NIIRS model but has been abstracted for other uses. Photon, dark current, quantization, and read noise are all explicitly considered. You can also pass in other noise terms (as rms photoelectrons) as a numpy array sensor.other_noise.

Parameters:
  • sensor – an object from the class sensor

  • radiance_wavelengths – a numpy array of wavelengths (m)

  • target_radiance – a numpy array of target radiance values corresponding to radiance_wavelengths (W/m^2 sr m)

  • background_radiance – a numpy array of target radiance values corresponding to radiance_wavelengths (W/m^2 sr m)

Returns:

snr:

an object containing results of the SNR calculation along with many intermediate calculations; the SNR value is contained in snr.snr