Main API
Types
LinearNoiseApproximation.LNASystem
— TypeA type that contains the information of the LNA system.
Fields
rn::ReactionSystem
: a reaction network that is used to construct the LNA system, which is fromCatalyst.jl
odesys::ODESystem
: the linear noise approximation system, it is aODESystem
that extends theReactionSystem
by adding the covariance termskwargs::Any
: Optional keyword arguments
Functions
LinearNoiseApproximation.get_ode_propensity
— FunctionFunction to obtain the ODEs according to the rate equations
Arguments
rn::ReactionSystem
: a reaction network that is used to construct the LNA system, which is fromCatalyst.jl
combinatoric_ratelaws::Bool
: (Optional) whether to use the combinatoric rate laws, default isfalse
LinearNoiseApproximation.get_symbolic_matrix
— FunctionFunction to obtain the symbolic matrix of the LNA system
Arguments
rn::ReactionSystem
: a reaction network that is used to construct the LNA system, which is fromCatalyst.jl
combinatoric_ratelaws::Bool
: (Optional) whether to use the combinatoric rate laws, default isfalse
LinearNoiseApproximation.find_states_cov_number
— FunctionFunction to find the index of the covariance matrix in the LNA system.
Arguments
num::Int
: the index of the species in the reaction networklna_sys::LNASystem
: the LNA system
LinearNoiseApproximation.expand_initial_conditions
— FunctionFunction to expand the initial conditions of the LNA system.
Arguments
sys::LNASystem
: the LNA systemu0::Vector
: the initial conditions of the orignal system (rate equations)