Plotting utilities for single channel currents.
Calculate Popen curve parameters and data for Popen curve plot.
Parameters : | mec : instance of type Mechanism tres : float
|
---|---|
Returns : | c : ndarray of floats, shape (num of points,)
pe : ndarray of floats, shape (num of points,)
pi : ndarray of floats, shape (num of points,)
|
Calculate the mean burst length and data for burst length distribution.
Parameters : | mec : instance of type Mechanism conditional : bool
tmin, tmax : floats
points : int
|
---|---|
Returns : | t : ndarray of floats, shape (num of points)
fbst : ndarray of floats, shape (num of points)
cfbrst : ndarray of floats, shape (num of open states, num of points)
|
Calculate the mean number of openings per burst and data for the distribution of openings per burst.
Parameters : | mec : instance of type Mechanism n : int
conditional : bool
|
---|---|
Returns : | r : ndarray of ints, shape (num of points,)
Pr : ndarray of floats, shape (num of points,)
cPr : ndarray of floats, shape (num of open states, num of points)
|
Calculate data for the plot of burst length versus concentration.
Parameters : | mec : instance of type Mechanism cmin, cmax : float
|
---|---|
Returns : | c : ndarray of floats, shape (num of points,)
br : ndarray of floats, shape (num of points,)
brblk : ndarray of floats, shape (num of points,)
|
Calculate ideal asymptotic and exact open time distributions.
Parameters : | mec : instance of type Mechanism tres : float
tmin, tmax : floats
points : int
unit : str
|
---|---|
Returns : | t : ndarray of floats, shape (num of points)
ipdf, epdf, apdf : ndarrays of floats, shape (num of points)
|
Calculate ideal asymptotic and exact shut time distributions.
Parameters : | mec : instance of type Mechanism tres : float
tmin, tmax : floats
points : int
unit : str
|
---|---|
Returns : | t : ndarray of floats, shape (num of points)
ipdf, epdf, apdf : ndarrays of floats, shape (num of points)
|
Calculate ideal pdf of any subset dwell times.
Parameters : | mec : instance of type Mechanism tres : float
state1, state2 : ints tmin, tmax : floats
points : int
unit : str
|
---|---|
Returns : | t : ndarray of floats, shape (num of points)
spdf : ndarray of floats, shape (num of points)
|
Class for generating square root scaled axis for probability density function plots.
Methods
InvertedSqrTransform | |
SqrTransform | |
get_transform | |
limit_range_for_scale | |
set_default_locators_and_formatters |
Set the actual transform for the axis coordinates.
Set the locators and formatters to reasonable defaults.
Returns the range vmin, vmax, possibly limited to the domain supported by this scale.