lsst.afw
22.0.1-35-g9503da760+2534fc217b
|
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. 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 45 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 50 of file _backgroundList.py.
def lsst.afw.math._backgroundList.BackgroundList.__len__ | ( | self, | |
* | args | ||
) |
Definition at line 79 of file _backgroundList.py.
def lsst.afw.math._backgroundList.BackgroundList.__reduce__ | ( | self | ) |
Definition at line 234 of file _backgroundList.py.
def lsst.afw.math._backgroundList.BackgroundList.append | ( | self, | |
val | |||
) |
Definition at line 82 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 99 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 213 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 143 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 107 of file _backgroundList.py.