Package PyDSTool :: Package Toolbox :: Module dssrt :: Class dssrt_assistant
[hide private]
[frames] | no frames]

Class dssrt_assistant

source code

object --+
         |
        dssrt_assistant

Instance Methods [hide private]
 
__init__(self, kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getstate__(self) source code
 
__setstate__(self) source code
 
_setup_taus_psis(self) source code
 
_init_from_MSpec(self, mspec) source code
 
_process_expr(self, expr)
Create two Symbolic.Fun(ction) versions of the given expression:
source code
 
reset(self)
Delete current state based on given trajectory
source code
 
ensure(self) source code
 
calc_tau(self, target, pt)
Calculate tau of target variable directly from a given single point containing only the state variables.
source code
 
calc_inf(self, target, pt)
Calculate inf of target variable directly from a given single point containing only the state variables.
source code
 
calc_psi(self, target, pt, focus=None)
Calculate Psi of focus variable w.r.t.
source code
 
calc_taus_infs(self, focus=False)
Calculate taus and infs from given trajectory.
source code
 
calc_Is(self)
Calculate currents from given trajectory
source code
 
calc_psis(self)
Calculate Psis from given trajectory
source code
 
make_pointsets(self) source code
 
calc_rankings(self, influence_type='psi') source code
 
reduced_Vode_system(self, vars)
Doesn't allow fast vars to be algebraic - better solution is to use ModelTransforms
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, kw)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_process_expr(self, expr)

source code 
Create two Symbolic.Fun(ction) versions of the given expression:

(1) The first is intended for processing post-integration
pointsets to yield the dominant scale Psi quantities,
when the pointsets contain already-computed auxiliary variables
for taus, infs, etc.

(2) The second is intended for on-demand calculation of Psi's
when only the system's state variables are given, thus
taus and infs etc. must be computed this class. If user did not
provide the dssrt_fn functions this will be ignored and not created.

The returned pair of pairs is
 ((arg_list_signature (1), symbolic function (1)),
  (arg_list_signature (2), symbolic function (2)))
unless None was passed (in which case None is returned).

calc_psi(self, target, pt, focus=None)

source code 

Calculate Psi of focus variable w.r.t. the target variable directly from a given single point containing only the state variables.

If focus is None (default) then focus_var attribute is assumed.

calc_taus_infs(self, focus=False)

source code 

Calculate taus and infs from given trajectory.

If focus=True (default False), results are only returned for the variable of focus given by focus_var attribute