pysted.base.Detector

class pysted.base.Detector(**kwargs)

This class implements the photon detector component.

Parameters:

parameters – One or more parameters as described in the following table, optional.

Parameter

Default

Details

n_airy

0.7

The number of airy disks used to compute the pinhole radius \(r_b = n_{airy} 0.61 \lambda/NA\).

noise

True

Whether to add poisson noise to the signal (boolean).

background

0

The average number of photon counts per second due to the background [1].

darkcount

0

The average number of photon counts per second due to dark counts.

pcef

0.1

The photon collection efficiency factor is the ratio of emitted photons that could be detected (ratio).

pdef

0.5 [2]

The photon detection efficiency factor is the ratio of collected photons that are perceived by the detector (ratio).

det_delay

750e-12

Delay between the beginning of a period the start of the detection

det_width

8e-9

Detection duration

Detector.get_detection_psf(lambda_, psf, na, ...)

Compute the detection PSF as a convolution between the fluorscence PSF and a pinhole, as described by the equation from [Willig2006].

Detector.get_signal(photons, dwelltime, rate)

Compute the detected signal (in photons) given the number of emitted photons and the time spent by the detector.