IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
plot_pile_up Namespace Reference

Detailed Description

Fluorescence decay pile-up
==========================
In single photon counting at high count rates subseqentially emitted 
photons cannot be detected. This effect is called pile up, as it changes
the the shape of fluorescence decay curves. This examples illustrates 
how pile-up changes the shape of fluorescence decays.

Variables

 ax = fig.add_subplot(1, 1, 1)
 data = np.zeros_like(irf)
 data_with_pileup = np.copy(data)
 dt = time_axis[1] - time_axis[0]
 fig = plt.figure()
 fit
 irf = scipy.stats.norm.pdf(time_axis, loc=irf_position, scale=irf_width)
 irf_position
 irf_width
 label
 lifetime_spectrum = np.array([100., 4])
 model
int n_channels = 128
float period = 8.0
dict pile_up_parameter
int start = 0
 stop = len(irf)
 time_axis = np.linspace(0, 10, n_channels)
 x

Variable Documentation

◆ ax

plot_pile_up.ax = fig.add_subplot(1, 1, 1)

Definition at line 63 of file plot_pile_up.py.

◆ data

plot_pile_up.data = np.zeros_like(irf)

Definition at line 27 of file plot_pile_up.py.

◆ data_with_pileup

plot_pile_up.data_with_pileup = np.copy(data)

Definition at line 55 of file plot_pile_up.py.

◆ dt

plot_pile_up.dt = time_axis[1] - time_axis[0]

Definition at line 23 of file plot_pile_up.py.

◆ fig

plot_pile_up.fig = plt.figure()

Definition at line 62 of file plot_pile_up.py.

◆ fit

plot_pile_up.fit

Definition at line 31 of file plot_pile_up.py.

◆ irf

plot_pile_up.irf = scipy.stats.norm.pdf(time_axis, loc=irf_position, scale=irf_width)

Definition at line 25 of file plot_pile_up.py.

◆ irf_position

plot_pile_up.irf_position

Definition at line 21 of file plot_pile_up.py.

◆ irf_width

plot_pile_up.irf_width

Definition at line 21 of file plot_pile_up.py.

◆ label

plot_pile_up.label

Definition at line 64 of file plot_pile_up.py.

◆ lifetime_spectrum

plot_pile_up.lifetime_spectrum = np.array([100., 4])

Definition at line 26 of file plot_pile_up.py.

◆ model

plot_pile_up.model

Definition at line 57 of file plot_pile_up.py.

◆ n_channels

int plot_pile_up.n_channels = 128

Definition at line 20 of file plot_pile_up.py.

◆ period

float plot_pile_up.period = 8.0

Definition at line 47 of file plot_pile_up.py.

◆ pile_up_parameter

dict plot_pile_up.pile_up_parameter

Definition at line 48 of file plot_pile_up.py.

◆ start

plot_pile_up.start = 0

Definition at line 29 of file plot_pile_up.py.

◆ stop

plot_pile_up.stop = len(irf)

Definition at line 28 of file plot_pile_up.py.

◆ time_axis

plot_pile_up.time_axis = np.linspace(0, 10, n_channels)

Definition at line 22 of file plot_pile_up.py.

◆ x

plot_pile_up.x

Definition at line 31 of file plot_pile_up.py.