:py:mod:`cobra.flux_analysis.helpers` ===================================== .. py:module:: cobra.flux_analysis.helpers .. autoapi-nested-parse:: Helper functions for all flux analysis methods. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: cobra.flux_analysis.helpers.normalize_cutoff .. py:function:: normalize_cutoff(model: cobra.Model, zero_cutoff: Optional[float] = None) -> float Return a valid zero cutoff value. :param model: The model to operate on. :type model: cobra.Model :param zero_cutoff: The zero cutoff value. If not specified, defaults to `model.tolerance` (default None). :type zero_cutoff: positive float, optional :returns: The normalized zero cutoff value. :rtype: float :raises ValueError: If the specified `zero_cutoff` is lesser than `model.tolerance`.