src.model_balancing.io
A module for I/O operations related to model balancing.
Module Contents
- src.model_balancing.io.standardize_input_matrix(x: List[float] | numpy.array, unit: str) src.model_balancing.Q_[source]
Create a 2D Numpy array of Quantities.
If the input is only 1D, make sure it becomes a 2D array with a single column. This is important because we always assume that all our inputs are 2D.
- src.model_balancing.io.to_state_sbtab(v, c, e, delta_g, metabolite_names, reaction_names, state_names) sbtab.SBtab.SBtabDocument[source]
Create a state SBtab.
The state SBtab contains the values of the state-dependent variables, i.e. flux, concentrations of metabolites, concentrations of enzymes, and the ΔG’ values.