A collection of functions for single channel burst calculations.
Calculate the end vector for a burst (Eq. 3.4, CH82).
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | eB : array_like, shape (kA, 1) |
Calculate time constants and amplitudes for an ideal (no missed events) pdf of first opening in a burst with 2 or more openings.
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | eigs : ndarray, shape(k, 1)
w : ndarray, shape(k, 1)
|
The distribution of burst length coditional on starting state.
Parameters : | mec : dcpyps.Mechanism
t : float
|
---|---|
Returns : | vec : array_like, shape (kA, 1)
|
Calculate the mean burst length (Eq. 3.19, CH82). m = PhiB * (I - GAB * GBA)^(-1) * (-QAA^(-1)) * (I - QAB * (QBB^(-1)) * GBA) * uA
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | m : float
|
Probability density function of the burst length (Eq. 3.17, CH82). f(t) = phiB * [PEE(t)]AA * (-QAA) * eB, where PEE(t) = exp(QEE * t)
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | f : float |
Calculate time constants and areas for an ideal (no missed events) exponential burst length probability density function.
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | eigs : ndarray, shape(k, 1)
w : ndarray, shape(k, 1)
|
Calculate the mean total open time per burst (Eq. 3.26, CH82).
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | m : float
|
The distribution of openings per burst coditional on starting state.
Parameters : | mec : dcpyps.Mechanism
r : int
|
---|---|
Returns : | vecPr : array_like, shape (kA, 1)
|
The distribution of openings per burst (Eq. 3.5, CH82). P(r) = phiB * (GAB * GBA)^(r-1) * eB
Parameters : | mec : dcpyps.Mechanism
r : int
|
---|---|
Returns : | Pr : float
|
Calculate coeficients for geometric ditribution P(r)- probability of seeing r openings (Eq. 3.9 CH82): P(r) = sum(W * rho^(r-1)) where w wm = phiB * Am * endB (Eq. 3.10 CH82) and rho- eigenvalues of GAB * GBA.
Parameters : | mec : dcpyps.Mechanism
r : int
|
---|---|
Returns : | rho : ndarray, shape (kA,) w : ndarray, shape (kA,) |
Calculate the mean number of openings per burst (Eq. 3.7, CH82). mu = phiB * (I - GAB * GBA)^(-1) * uA
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | mu : float
|
Calculate the start probabilities of a burst (Eq. 3.2, CH82). phiB = (pCinf * (QCB * GBA + QCA)) / (pCinf * (QCB * GBA + QCA) * uA)
Parameters : | mec : dcpyps.Mechanism
|
---|---|
Returns : | phiB : array_like, shape (1, kA) |
Output burst calculations into selected device (sys.stdout, printer, file, text field.
Parameters : | mec : dcpyps.Mechanism
output : output device
eff : string
|
---|