8.1.1.1.1.4. skimpy.analysis.ode¶
[———]
Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
8.1.1.1.1.4.1. Submodules¶
8.1.1.1.1.4.2. Attributes¶
|
|
|
|
|
|
|
|
|
Jacobian Types |
|
|
|
MCA Types |
|
|
|
Item types |
|
|
|
Units |
|
|
|
|
|
OTHER |
|
|
|
8.1.1.1.1.4.3. Classes¶
|
|
|
|
|
|
|
Really just an ordered dict with tab completion in interactive terminals |
|
|
|
Really just an ordered dict with tab completion in interactive terminals |
|
8.1.1.1.1.4.4. Functions¶
|
Takes the items from an iterable and puts them in a TabDict, indexed by the |
|
|
|
|
|
|
|
Return a function that calculates the thermodynamic displacement for |
|
|
|
|
|
|
|
|
|
|
|
Indexing can be done with symbols or strings representing the symbol, |
|
|
|
8.1.1.1.1.4.5. Package Contents¶
- class skimpy.ODEFunction(model, variables, expressions, parameters, pool=None, with_time=False, custom_ode_update=None)¶
- variables¶
- expressions¶
- model¶
- with_time = False¶
- custom_ode_update = None¶
- _parameters¶
- function¶
- property parameters¶
- get_params()¶
- __call__(t, y, ydot)¶
- class skimpy.FluxFunction(variables, expr, parameters, pool=None)¶
- variables¶
- expr¶
- parameters¶
- function¶
- __call__(concentrations, parameters)¶
- class skimpy.GammaFunction(variables, expr, parameters, pool=None)¶
Bases:
skimpy.analysis.ode.flux_fun.FluxFunction
- skimpy.iterable_to_tabdict(iterable, use_name=True)¶
Takes the items from an iterable and puts them in a TabDict, indexed by the elements’ .name property
- Parameters:
iterable
- Returns:
- class skimpy.TabDict¶
Bases:
collections.OrderedDictReally just an ordered dict with tab completion in interactive terminals
- __dir__()¶
Default dir() implementation.
- __getattr__(attr)¶
- iloc(ix)¶
- skimpy.join_dicts(dicts)¶
- skimpy.make_ode_fun(kinetic_model, sim_type, pool=None, custom_ode_update=None)¶
- Parameters:
kinetic_model
sim_type
- Returns:
- skimpy.make_flux_fun(kinetic_model, sim_type)¶
- Parameters:
kinetic_model
sim_type
- Returns:
- skimpy.make_gamma_fun(kinetic_model)¶
Return a function that calculates the thermodynamic displacement for all the reactions in a model :param kinetic_model: :return:
- skimpy.make_expressions(variables, all_flux_expr, volume_ratios=None, pool=None)¶
- skimpy.make_expresson_single_var(input)¶
- skimpy.get_expressions_from_model(kinetic_model, sim_type, medium_symbols=None, biomass_symbol=None)¶
- skimpy.QSSA = 'qssa'¶
- skimpy.TQSSA = 'tqssa'¶
- skimpy.MCA = 'mca'¶
- skimpy.ODE = 'ode'¶
- skimpy.ELEMENTARY = 'elementary'¶
Jacobian Types
- skimpy.NUMERICAL = 'numerical'¶
- skimpy.SYMBOLIC = 'symbolic'¶
MCA Types
- skimpy.NET = 'net'¶
- skimpy.SPLIT = 'split'¶
Item types
- skimpy.PARAMETER = 'parameter'¶
- skimpy.VARIABLE = 'variable'¶
Units
- skimpy.KCAL = 'kcal'¶
- skimpy.KJ = 'kJ'¶
- skimpy.JOULE = 'JOULE'¶
OTHER
- skimpy.WATER_FORMULA = 'H2O'¶
- skimpy.make_cython_function(symbols, expressions, quiet=True, simplify=True, optimize=False, pool=None)¶
- class skimpy.FluxFunction(variables, expr, parameters, pool=None)¶
- variables¶
- expr¶
- parameters¶
- function¶
- __call__(concentrations, parameters)¶
- skimpy.make_cython_function(symbols, expressions, quiet=True, simplify=True, optimize=False, pool=None)¶
- skimpy.robust_index(in_var)¶
Indexing can be done with symbols or strings representing the symbol, so we harmonize it by returning the name of the symbol if the input is of type symbol
- Parameters:
in_var (str or sympy.Symbol)
- Returns:
- class skimpy.TabDict¶
Bases:
collections.OrderedDictReally just an ordered dict with tab completion in interactive terminals
- __dir__()¶
Default dir() implementation.
- __getattr__(attr)¶
- iloc(ix)¶
- class skimpy.ODEFunction(model, variables, expressions, parameters, pool=None, with_time=False, custom_ode_update=None)¶
- variables¶
- expressions¶
- model¶
- with_time = False¶
- custom_ode_update = None¶
- _parameters¶
- function¶
- property parameters¶
- get_params()¶
- __call__(t, y, ydot)¶
- skimpy.EPSILON = 1e-07¶
- skimpy.sample_initial_concentrations(kmodel, reference_concentrations, lower_bound=0.8, upper_bound=1.2, n_samples=10, absolute_bounds=False)¶
- skimpy.create_linear_model(A, rhs, variables, lower_bound=None, upper_bound=None)¶