|
lsst.afw
13.0-98-g5a654715e+2
|
Public Member Functions | |
| def | __init__ |
| def | __getitem__ |
| def | __len__ |
| def | append |
| def | clone |
| def | writeFits |
| def | getImage |
| def | __reduce__ |
Static Public Member Functions | |
| def | readFits |
A list-like class to contain a list of (afwMath.Background, interpStyle, undersampleStyle) tuples In deference to the deprecated-but-not-yet-removed Background.getImage() API, we also accept a single afwMath.Background and extract the interpStyle and undersampleStyle from the as-used values
Definition at line 32 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__init__ | ( | self, | |
| args | |||
| ) |
Definition at line 39 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__getitem__ | ( | self, | |
| args | |||
| ) |
Return an item
Definition at line 44 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__len__ | ( | self, | |
| args | |||
| ) |
Definition at line 67 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__reduce__ | ( | self | ) |
Definition at line 230 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.append | ( | self, | |
| val | |||
| ) |
Definition at line 70 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.clone | ( | self | ) |
Return a shallow copy Shallow copies do not share backgrounds that are appended after copying, but do share changes to contained background objects.
Definition at line 87 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.getImage | ( | self | ) |
Compute and return a full-resolution image from our list of (Background, interpStyle, undersampleStyle)
Definition at line 208 of file backgroundList.py.
|
static |
Read a our list of Backgrounds from a file
@param fileName FITS file to read
@param hdu First Header/Data Unit to attempt to read from
@param flags Flags to control details of reading; currently unused,
but present for consistency with
afw.table.BaseCatalog.readFits.
See also getImage()
Definition at line 127 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.writeFits | ( | self, | |
| fileName, | |||
flags = 0 |
|||
| ) |
Save our list of Backgrounds to a file
@param fileName FITS file to write
@param flags Flags to control details of writing; currently unused,
but present for consistency with
afw.table.BaseCatalog.writeFits.
Definition at line 95 of file backgroundList.py.
1.8.5