confidence_coefficient#
- cosmicjellyfish.analysis.utilities.confidence_coefficient(confidence_level, dimensions=1)[source]#
This function returns the number of sigmas given a confidence level. See page 815 of Numerical Recipes, Press et al., 2007 Uses the inverse CDF of the chi squared distribution :type confidence_level: :param confidence_level: desired confidence level. Between 0 and 1. :type confidence_level:
float:return: the coefficient (number of sigmas) for the desired confidence level. :rtype:float