Hidden Markov model, e.g. of one ion channel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_onSetRate(self,
i,
field,
val,
prev,
undoing) |
source code
|
|
|
_onSetState(self,
i,
field,
val,
prev,
undoing) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
clear(self)
Removes all states, rates and constraints. |
source code
|
|
|
|
|
enforce_constraints(self)
Modifies rates as necessary to satisfy constraints_kin such as
detailed (im)balance. |
source code
|
|
|
|
|
|
|
|
|
from_tree(self,
f)
Reads in the model from f, a {qubx.tree.Node_numpy} formatted as QMF. |
source code
|
|
|
|
|
|
|
revert_to_saved(self)
Re-reads the model from path. |
source code
|
|
|
saveAs(self,
spath=None,
progressf=<__builtin__.function object>)
Saves the model at as_path. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
IeqFv
whether to use Cond instead of Amp
|
|
OnChangeBalanceLoops
WeakEvent(QubModel, balance_loops)
|
|
OnChangeChanged
WeakEvent(QubModel, is_changed)
|
|
OnChangeField
WeakEvent(QubModel, 'Name' or 'In Folder' or
'Channel Count' or 'vRev' or 'k*format') for ObjectTable
|
|
OnChangePath
WeakEvent(QubModel, path or
"")
|
|
OnChangeVariables
WeakEvent(QubModel, [var_name])
|
|
OnSetChannelCount
WeakEvent(QubModel, channelCount)
|
|
OnSetIeqFv
WeakEvent(QubModel, IeqFv)
|
|
OnSetK0Format
WeakEvent(QubModel, k0format)
|
|
OnSetK1Format
WeakEvent(QubModel, k1format)
|
|
OnSetVRev
WeakEvent(QubModel, vRev)
|
|
balance_loops
True to maintain detailed balance
|
|
changed
(bool) if different from on disk
|
|
channelCount
number of identical mechanisms
|
|
classes
qubx.table.SimpleTable of Amp, Std, Cond, CondStd,
vRev
|
|
constraints_kin
qubx.table.SimpleTable of Type, States
|
|
k0format
format expr for all k0s
|
|
k1format
format expr for all k1s and k2s
|
|
path
folder/file name
|
|
rate_connecting
dict: (a,b) -> index of rate connecting from state a to state b
|
|
rates
qubx.table.SimpleTable of From, To, k0, k1, k2,
Ligand, Voltage, Pressure
|
|
should_enforce_constraints
generally True; temporarily False to set many rates at once
|
|
states
qubx.table.SimpleTable of Class, Pr, x, y, Label
|
|
undoStack
qubx.undo.UndoStack for all model edits
|
|
vRev
reversal potential in millivolts
|
|
variables
names of active variables e.g.
|