|
lsst.afw
16.0-76-g802307b6d+1
|
Public Member Functions | |
| def | __init__ (self, args) |
| def | __getitem__ (self, args) |
| def | __len__ (self, args) |
| def | append (self, val) |
| def | clone (self) |
| def | writeFits (self, fileName, flags=0) |
| def | getImage (self) |
| def | __reduce__ (self) |
Static Public Member Functions | |
| def | readFits (fileName, hdu=0, flags=0) |
A list-like class to contain a list of (`lsst.afw.math.Background`,
`lsst.afw.math.Interpolate.Style`, `~lsst.afw.math.UndersampleStyle`)
tuples.
Parameters
----------
*args : `tuple` or `~lsst.afw.math.Background`
A sequence of arguments, each of which becomes an element of the list.
In deference to the deprecated-but-not-yet-removed
`~lsst.afw.math.Background.getImageF()` API, we also accept a single
`lsst.afw.math.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 47 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__getitem__ | ( | self, | |
| args | |||
| ) |
Return an item
Parameters
----------
*args
Any valid list index.
Definition at line 52 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__len__ | ( | self, | |
| args | |||
| ) |
Definition at line 81 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.__reduce__ | ( | self | ) |
Definition at line 253 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.append | ( | self, | |
| val | |||
| ) |
Definition at line 84 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 101 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 232 of file backgroundList.py.
|
static |
Read our list of Backgrounds from a file.
Parameters
----------
fileName : `str`
FITS file to read
hdu : `int`
First Header/Data Unit to attempt to read from
flags : `int`
Flags to control details of reading; currently unused, but present
for consistency with `lsst.afw.table.BaseCatalog.readFits`.
See Also
--------
getImage()
Definition at line 145 of file backgroundList.py.
| def lsst.afw.math.backgroundList.BackgroundList.writeFits | ( | self, | |
| fileName, | |||
flags = 0 |
|||
| ) |
Save our list of Backgrounds to a file.
Parameters
-----------
fileName : `str`
FITS file to write
flags : `int`
Flags to control details of writing; currently unused, but present
for consistency with `lsst.afw.table.BaseCatalog.writeFits`.
Definition at line 109 of file backgroundList.py.
1.8.13