lsst.afw g3a5ebb7d8a+28b83bf6a5
Loading...
Searching...
No Matches
lsst.afw.image._basicUtils Namespace Reference

Functions

 makeImageFromArray (array)
 makeMaskFromArray (array)
 makeMaskedImageFromArrays (image, mask=None, variance=None)

Function Documentation

◆ makeImageFromArray()

makeImageFromArray ( array)
Construct an Image from a NumPy array, inferring the Image type from
the NumPy type. Return None if input is None.

Definition at line 28 of file _basicUtils.py.

◆ makeMaskedImageFromArrays()

makeMaskedImageFromArrays ( image,
mask = None,
variance = None )
Construct a MaskedImage from three NumPy arrays, inferring the
MaskedImage types from the NumPy types.

Definition at line 46 of file _basicUtils.py.

◆ makeMaskFromArray()

makeMaskFromArray ( array)
Construct an Mask from a NumPy array, inferring the Mask type from the
NumPy type. Return None if input is None.

Definition at line 37 of file _basicUtils.py.