22 """This file only exists to provide deprecation warnings for the deprecated 23 Calib-style interface. 30 from deprecated.sphinx
import deprecated
32 from .photoCalib
import PhotoCalib
38 @deprecated(
"No-op: PhotoCalib never throws on negative instFlux (will be removed after v18).",
39 category=FutureWarning)
41 PhotoCalib._setThrowOnNegativeFlux(raiseException)
44 @deprecated(
"No-op: PhotoCalib never throws on negative instFlux (will be removed after v18).",
45 category=FutureWarning)
47 return PhotoCalib._getThrowOnNegativeFlux()
49 @deprecated(
"For backwards compatibility with Calib; use `instFluxToMagnitude` instead" 50 " (will be removed after v18).", category=FutureWarning)
52 return self._getMagnitude(*args, **kwargs)
54 @deprecated(
"For backwards compatibility with Calib; use `magnitudeToInstFlux` instead" 55 " (will be removed after v18).", category=FutureWarning)
57 return self._getFlux(*args, **kwargs)
59 @deprecated(
"For backwards compatibility with Calib: use `getCalibrationMean`, `getCalibrationErr`, or " 60 "`getInstFluxAtZeroMagnitude` (will be removed after v18).", category=FutureWarning)
62 return self._getFluxMag0()
def setThrowOnNegativeFlux(raiseException)
def getFlux(self, args, kwargs)
def getMagnitude(self, args, kwargs)
def getThrowOnNegativeFlux()