|
| | columns = property(__getColumns, doc="a column view of the catalog") |
| |
Definition at line 100 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.__delitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
| def lsst.afw.table.base.baseContinued.Catalog.__dir__ |
( |
|
self | ) |
|
This custom dir is necessary due to the custom getattr below.
Without it, not all of the methods available are returned with dir.
See DM-7199
Definition at line 299 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
| def lsst.afw.table.base.baseContinued.Catalog.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
Return the record at index key if key is an integer,
return a column if key is a string field name or Key,
or return a subset of the catalog if key is a slice
or boolean NumPy array.
Definition at line 112 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.__reduce__ |
( |
|
self | ) |
|
| def lsst.afw.table.base.baseContinued.Catalog.__repr__ |
( |
|
self | ) |
|
| def lsst.afw.table.base.baseContinued.Catalog.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
If ``key`` is an integer, set ``catalog[key]`` to ``value``. Otherwise select column ``key``
and set it to ``value``.
Definition at line 137 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.__str__ |
( |
|
self | ) |
|
| def lsst.afw.table.base.baseContinued.Catalog.addNew |
( |
|
self | ) |
|
| def lsst.afw.table.base.baseContinued.Catalog.append |
( |
|
self, |
|
|
|
record |
|
) |
| |
| def lsst.afw.table.base.baseContinued.Catalog.asAstropy |
( |
|
self, |
|
|
|
cls = None, |
|
|
|
copy = False, |
|
|
|
unviewable = "copy" |
|
) |
| |
Return an astropy.table.Table (or subclass thereof) view into this catalog.
- Parameters
-
| [in] | cls | Table subclass to use; None implies astropy.table.Table itself. Use astropy.table.QTable to get Quantity columns. |
| [in] | copy | Whether to copy data from the LSST catalog to the astropy table. Not copying is usually faster, but can keep memory from being freed if columns are later removed from the Astropy view. |
| [in] | unviewable | One of the following options, indicating how to handle field types (string and Flag) for which views cannot be constructed:
- 'copy' (default): copy only the unviewable fields.
- 'raise': raise ValueError if unviewable fields are present.
- 'skip': do not include unviewable fields in the Astropy Table. This option is ignored if copy=True.
|
Definition at line 225 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.cast |
( |
|
self, |
|
|
|
type_, |
|
|
|
deep = False |
|
) |
| |
Return a copy of the catalog with the given type, optionally
cloning the table and deep-copying all records if deep==True.
Definition at line 173 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.clear |
( |
|
self | ) |
|
| def lsst.afw.table.base.baseContinued.Catalog.copy |
( |
|
self, |
|
|
|
deep = False |
|
) |
| |
| def lsst.afw.table.base.baseContinued.Catalog.extend |
( |
|
self, |
|
|
|
iterable, |
|
|
|
deep = False, |
|
|
|
mapper = None |
|
) |
| |
Append all records in the given iterable to the catalog.
Arguments:
iterable ------ any Python iterable containing records
deep ---------- if True, the records will be deep-copied; ignored
if mapper is not None (that always implies True).
mapper -------- a SchemaMapper object used to translate records
Definition at line 192 of file baseContinued.py.
| def lsst.afw.table.base.baseContinued.Catalog.getColumnView |
( |
|
self | ) |
|
| def lsst.afw.table.base.baseContinued.Catalog.insert |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
| lsst.afw.table.base.baseContinued.Catalog.columns = property(__getColumns, doc="a column view of the catalog") |
|
static |
The documentation for this class was generated from the following file: