LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | getColumnView (self) |
def | __getitem__ (self, key) |
def | __setitem__ (self, key, value) |
def | __delitem__ (self, key) |
def | append (self, record) |
def | insert (self, key, value) |
def | clear (self) |
def | addNew (self) |
def | cast (self, type_, deep=False) |
def | copy (self, deep=False) |
def | extend (self, iterable, deep=False, mapper=None) |
def | __reduce__ (self) |
def | asAstropy (self, cls=None, copy=False, unviewable="copy") |
def | __dir__ (self) |
def | __getattr__ (self, name) |
def | __str__ (self) |
def | __repr__ (self) |
def | __new__ (cls, name, bases, attrs) |
def | __call__ (cls, args, kwds) |
def | __subclasscheck__ (cls, subclass) |
def | __instancecheck__ (cls, instance) |
def | __subclasses__ (cls) |
def | register (cls, key, subclass) |
def | alias (cls, key, subclass) |
def | __iter__ (cls) |
def | __len__ (cls) |
def | __contains__ (cls, key) |
def | keys (cls) |
def | values (cls) |
def | items (cls) |
def | get (cls, key, default=None) |
Properties | |
columns = property(__getColumns, doc="a column view of the catalog") | |
|
inherited |
Definition at line 293 of file wrappers.py.
|
inherited |
Definition at line 458 of file wrappers.py.
def lsst.afw.table._base.Catalog.__delitem__ | ( | self, | |
key | |||
) |
def lsst.afw.table._base.Catalog.__dir__ | ( | self | ) |
def lsst.afw.table._base.Catalog.__getattr__ | ( | self, | |
name | |||
) |
def lsst.afw.table._base.Catalog.__getitem__ | ( | self, | |
key | |||
) |
|
inherited |
Definition at line 326 of file wrappers.py.
|
inherited |
Definition at line 452 of file wrappers.py.
|
inherited |
Definition at line 455 of file wrappers.py.
|
inherited |
Definition at line 261 of file wrappers.py.
def lsst.afw.table._base.Catalog.__reduce__ | ( | self | ) |
def lsst.afw.table._base.Catalog.__repr__ | ( | self | ) |
def lsst.afw.table._base.Catalog.__setitem__ | ( | self, | |
key, | |||
value | |||
) |
def lsst.afw.table._base.Catalog.__str__ | ( | self | ) |
|
inherited |
Definition at line 316 of file wrappers.py.
|
inherited |
Return a tuple of all classes that inherit from this class.
Definition at line 336 of file wrappers.py.
def lsst.afw.table._base.Catalog.addNew | ( | self | ) |
|
inherited |
Add an alias that allows an existing subclass to be accessed with a different key.
Definition at line 429 of file wrappers.py.
def lsst.afw.table._base.Catalog.append | ( | self, | |
record | |||
) |
Definition at line 154 of file _base.py.
def lsst.afw.table._base.Catalog.asAstropy | ( | self, | |
cls = None , |
|||
copy = False , |
|||
unviewable = "copy" |
|||
) |
Return an astropy.table.Table (or subclass thereof) view into this catalog. Parameters ---------- cls : Table subclass to use; `None` implies `astropy.table.Table` itself. Use `astropy.table.QTable` to get Quantity columns. copy : bool, optional If `True`, 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. unviewable : `str`, optional One of the following options (which is ignored if copy=`True` ), indicating how to handle field types (`str` 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. Returns ------- cls : `astropy.table.Table` Astropy view into the catalog. Raises ------ ValueError Raised if the `unviewable` option is not a known value, or if the option is 'raise' and an uncopyable field is found.
Definition at line 237 of file _base.py.
def lsst.afw.table._base.Catalog.cast | ( | self, | |
type_, | |||
deep = False |
|||
) |
def lsst.afw.table._base.Catalog.clear | ( | self | ) |
def lsst.afw.table._base.Catalog.copy | ( | self, | |
deep = False |
|||
) |
def lsst.afw.table._base.Catalog.extend | ( | self, | |
iterable, | |||
deep = False , |
|||
mapper = None |
|||
) |
Append all records in the given iterable to the catalog. Parameters ---------- iterable : Any Python iterable containing records. deep : `bool`, optional If `True`, the records will be deep-copied; ignored if mapper is not `None` (that always implies `True`). mapper : `lsst.afw.table.schemaMapper.SchemaMapper`, optional Used to translate records.
Definition at line 200 of file _base.py.
|
inherited |
Return the subclass associated with the given key (including aliases), or ``default`` if the key is not recognized.
Definition at line 477 of file wrappers.py.
def lsst.afw.table._base.Catalog.getColumnView | ( | self | ) |
def lsst.afw.table._base.Catalog.insert | ( | self, | |
key, | |||
value | |||
) |
|
inherited |
|
inherited |
Return an iterable containing all keys (including aliases).
Definition at line 461 of file wrappers.py.
|
inherited |
Register a subclass of this ABC with the given key (a string, number, type, or other hashable). Register may only be called once for a given key or a given subclass.
Definition at line 344 of file wrappers.py.
|
inherited |
Return an iterable of registered subclasses, with duplicates corresponding to any aliases.
Definition at line 466 of file wrappers.py.
|
static |