:py:mod:`bayflux.core.fluxes` ============================= .. py:module:: bayflux.core.fluxes Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: bayflux.core.fluxes.FluxVector .. py:class:: 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. .. py:method:: 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. .. py:method:: __getitem__(key) .. py:method:: __repr__() Return repr(self). .. py:method:: _repr_html_()