BackgroundList¶
-
class
lsst.afw.math.
BackgroundList
(*args)¶ Bases:
object
A list-like class to contain a list of (
lsst.afw.math.Background
,lsst.afw.math.Interpolate.Style
,UndersampleStyle
) tuples.Parameters: - *args :
tuple
orBackground
A sequence of arguments, each of which becomes an element of the list. In deference to the deprecated-but-not-yet-removed
getImageF()
API, we also accept a singlelsst.afw.math.Background
and extract theinterpStyle
andundersampleStyle
from the as-used values.
Methods Summary
append
(val)clone
()Return a shallow copy getImage
()Compute and return a full-resolution image from our list of (Background, interpStyle, undersampleStyle). readFits
(fileName[, hdu, flags])Read our list of Backgrounds from a file. writeFits
(fileName[, flags])Save our list of Backgrounds to a file. Methods Documentation
-
append
(val)¶
-
clone
()¶ Return a shallow copy
Shallow copies do not share backgrounds that are appended after copying, but do share changes to contained background objects.
-
getImage
()¶ Compute and return a full-resolution image from our list of (Background, interpStyle, undersampleStyle).
-
static
readFits
(fileName, hdu=0, flags=0)¶ Read our list of Backgrounds from a file.
Parameters: See also
- *args :