|
lsst.afw g3a5ebb7d8a+28b83bf6a5
|
Public Member Functions | |
| getLocalCalibrationArray (self, x, y) | |
| instFluxToMagnitudeArray (self, instFluxes, x, y) | |
| magnitudeToInstFluxArray (self, magnitudes, x, y) | |
| calibrateImage (self, maskedImage, includeScaleUncertainty=_UnsetEnum.UNSET) | |
| uncalibrateImage (self, maskedImage, includeScaleUncertainty=_UnsetEnum.UNSET) | |
Protected Attributes | |
| _isConstant | |
Definition at line 40 of file _photoCalibContinued.py.
| lsst.afw.image._photoCalibContinued.PhotoCalib.calibrateImage | ( | self, | |
| maskedImage, | |||
| includeScaleUncertainty = _UnsetEnum.UNSET ) |
Return a flux calibrated image, with pixel values in nJy.
Mask pixels are propagated directly from the input image.
Parameters
----------
maskedImage : `lsst.afw.image.MaskedImage`
The masked image to calibrate.
includeScaleUncertainty : `bool`, optional
Deprecated and ignored; will be removed after v29.
Returns
------
calibrated : `lsst.afw.image.MaskedImage`
The calibrated masked image.
Definition at line 114 of file _photoCalibContinued.py.
| lsst.afw.image._photoCalibContinued.PhotoCalib.getLocalCalibrationArray | ( | self, | |
| x, | |||
| y ) |
Get the local calibration values (nJy/counts) for numpy arrays (pixels).
Parameters
----------
x : `np.ndarray` (N,)
Array of x values (pixels).
y : `np.ndarray` (N,)
Array of y values (pixels).
Returns
-------
localCalibration : `np.ndarray` (N,)
Array of local calibration values (nJy/counts).
Definition at line 41 of file _photoCalibContinued.py.
| lsst.afw.image._photoCalibContinued.PhotoCalib.instFluxToMagnitudeArray | ( | self, | |
| instFluxes, | |||
| x, | |||
| y ) |
Convert instFlux (counts) to magnitudes for numpy arrays (pixels).
Parameters
----------
instFluxes : `np.ndarray` (N,)
Array of instFluxes to convert (counts).
x : `np.ndarray` (N,)
Array of x values (pixels).
y : `np.ndarray` (N,)
Array of y values (pixels).
Returns
-------
magnitudes : `astropy.units.Magnitude` (N,)
Array of AB magnitudes.
Definition at line 62 of file _photoCalibContinued.py.
| lsst.afw.image._photoCalibContinued.PhotoCalib.magnitudeToInstFluxArray | ( | self, | |
| magnitudes, | |||
| x, | |||
| y ) |
Convert magnitudes to instFlux (counts) for numpy arrays (pixels).
Parameters
----------
magnitudes : `np.ndarray` or `astropy.units.Magnitude` (N,)
Array of AB magnitudes.
x : `np.ndarray` (N,)
Array of x values (pixels).
y : `np.ndarray` (N,)
Array of y values (pixels).
Returns
-------
instFluxes : `np.ndarray` (N,)
Array of instFluxes (counts).
Definition at line 84 of file _photoCalibContinued.py.
| lsst.afw.image._photoCalibContinued.PhotoCalib.uncalibrateImage | ( | self, | |
| maskedImage, | |||
| includeScaleUncertainty = _UnsetEnum.UNSET ) |
Return a un-calibrated image, with pixel values in ADU (or whatever
the original input to this photoCalib was).
Mask pixels are propagated directly from the input image.
Parameters
----------
maskedImage : `lsst.afw.image.MaskedImage`
The masked image with pixel units of nJy to uncalibrate.
includeScaleUncertainty : `bool`, optional
Deprecated and ignored; will be removed after v29.
Returns
uncalibrated : `lsst.afw.image.MaskedImage`
The uncalibrated masked image.
Definition at line 141 of file _photoCalibContinued.py.
|
protected |
Definition at line 56 of file _photoCalibContinued.py.