src.model_balancing.io ====================== .. py:module:: src.model_balancing.io .. autoapi-nested-parse:: A module for I/O operations related to model balancing. Module Contents --------------- .. py:function:: standardize_input_matrix(x: Union[List[float], numpy.array], unit: str) -> src.model_balancing.Q_ 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. .. py:function:: to_state_sbtab(v, c, e, delta_g, metabolite_names, reaction_names, state_names) -> sbtab.SBtab.SBtabDocument 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. .. py:function:: to_model_sbtab(kcatf, kcatr, Keq, Km, Ka, Ki, S, A_act, A_inh, metabolite_names, reaction_names, state_names) -> sbtab.SBtab.SBtabDocument Create a model SBtab. The model SBtab contains the values of the state-independent variables, i.e. kcatf, kcatr, Km, Ka, and Ki.