lsst.afw g2603b601e3+f394777a51
|
Public Member Functions | |
def | getLocalCalibrationArray (self, x, y) |
def | instFluxToMagnitudeArray (self, instFluxes, x, y) |
def | magnitudeToInstFluxArray (self, magnitudes, x, y) |
Definition at line 33 of file _photoCalibContinued.py.
def 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 34 of file _photoCalibContinued.py.
def 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 55 of file _photoCalibContinued.py.
def 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 77 of file _photoCalibContinued.py.