MVHistogramSlice.sf (function)
def sf(self, x=None, unit=None)
Expose the survival function (sf; also defined as 1 - cdf, but sf is sometimes more accurate)
See scipy docs
This method is just a wrapper around the scipy.stats method on MVHistogramSlice.dist_constructor_object after doing any requested unit-conversions.
See also:
x
(float or array, optional, default=None): x-values at which to expose the sf. If None or not provided, MVHistogramSlice.cached_sample will be used if available, or raise an error if no cached samples are available.unit
(astropy.unit, optional, default=None): unit of the values inx
. If None or not provided, will assume they're provided in MVHistogramSlice.unit.
- (float or array) sf values of the same type/shape as
x