pysted.base.Detector.get_signal
- Detector.get_signal(photons, dwelltime, rate, seed=None)
Compute the detected signal (in photons) given the number of emitted photons and the time spent by the detector.
- Parameters:
photons – An array of number of emitted photons.
dwelltime – The time spent to detect the emitted photons (s). It is either a scalar or an array shaped like nb_photons.
- Returns:
An array shaped like nb_photons.