bayflux.core.fluxes
Module Contents
Classes
Class to store a flux vector associated with a ReactionNetwork. |
- class bayflux.core.fluxes.FluxVector(model, fluxes=False)
Class to store a flux vector associated with a ReactionNetwork.
- Args:
model (bayflux.ReactionNetwork): The model this flux vector is associated with. fluxes (numpy.array, optional): An array of np.float64 fluxes in the same order as model.variables. Can also optionally be a dict of 2-tuples, where keys are reaction ids and values represent (forward flux, backwards flux)
- Attributes:
model (bayflux.ReactionNetwork): The model this flux vector is associated with. fluxes (numpy.array, optional): An array of np.float64 fluxes in the same order as model.variables.
- to_Series()
convert the flux vector into a Pandas Series object.
- Returns:
A pandas.Series object where each index represents a model variable name, and each value is a 64 bit flux for that variable.
- __getitem__(key)
- __repr__()
Return repr(self).
- _repr_html_()