lsst.afw  20.0.0-4-gde602ef96+1
Functions
lsst.afw.image.basicUtils Namespace Reference

Functions

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

Function Documentation

◆ makeImageFromArray()

def lsst.afw.image.basicUtils.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 29 of file basicUtils.py.

◆ makeMaskedImageFromArrays()

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

Definition at line 47 of file basicUtils.py.

◆ makeMaskFromArray()

def lsst.afw.image.basicUtils.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 38 of file basicUtils.py.