SourceRecord

class lsst.afw.table.SourceRecord

Bases: lsst.afw.table.SimpleRecord

Attributes Summary

schema
table

Methods Summary

assign(*args, **kwargs) Overloaded function.
extract(*patterns, **kwargs) Extract a dictionary of {<name>: <field-value>} in which the field names match the given shell-style glob pattern(s).
get(self, arg0)
getAngle(self, arg0)
getApFluxFlag(self)
getApInstFlux(self)
getApInstFluxErr(self)
getArrayB(self, arg0)
getArrayD(self, arg0)
getArrayF(self, arg0)
getArrayI(self, arg0)
getArrayU(self, arg0)
getB(self, arg0)
getCalibFluxFlag(self)
getCalibInstFlux(self)
getCalibInstFluxErr(self)
getCentroid(self)
getCentroidErr(self)
getCentroidFlag(self)
getCoord(self)
getD(self, arg0)
getDec(self)
getF(self, arg0)
getFlag(self, arg0)
getFootprint(self)
getGaussianFluxFlag(self)
getGaussianInstFlux(self)
getGaussianInstFluxErr(self)
getI(self, arg0)
getId(self)
getIxx(self)
getIxy(self)
getIyy(self)
getL(self, arg0)
getModelFluxFlag(self)
getModelInstFlux(self)
getModelInstFluxErr(self)
getParent(self)
getPsfFluxFlag(self)
getPsfInstFlux(self)
getPsfInstFluxErr(self)
getRa(self)
getSchema(self)
getShape(self)
getShapeErr(self)
getShapeFlag(self)
getString(self, arg0)
getTable(self)
getU(self, arg0)
getX(self)
getY(self)
set(self, arg0, arg1)
setAngle(self, arg0, arg1)
setArrayB(self, arg0, arg1)
setArrayD(self, arg0, arg1)
setArrayF(self, arg0, arg1)
setArrayI(self, arg0, arg1)
setArrayU(self, arg0, arg1)
setB(self, arg0, arg1)
setCoord(self, arg0)
setD(self, arg0, arg1)
setDec(self, arg0)
setF(self, arg0, arg1)
setFlag(self, arg0, arg1)
setFootprint(self, arg0)
setI(self, arg0, arg1)
setId(self, arg0)
setL(self, arg0, arg1)
setParent(self, id)
setRa(self, arg0)
setString(self, arg0, arg1)
setU(self, arg0, arg1)
updateCoord(*args, **kwargs) Overloaded function.

Attributes Documentation

schema
table

Methods Documentation

assign(*args, **kwargs)

Overloaded function.

  1. assign(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.BaseRecord) -> None
  2. assign(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.BaseRecord, arg1: lsst.afw.table.SchemaMapper) -> None
extract(*patterns, **kwargs)

Extract a dictionary of {<name>: <field-value>} in which the field names match the given shell-style glob pattern(s).

Any number of glob patterns may be passed; the result will be the union of all the result of each glob considered separately.

Parameters:
items : dict

The result of a call to self.schema.extract(); this will be used instead of doing any new matching, and allows the pattern matching to be reused to extract values from multiple records. This keyword is incompatible with any position arguments and the regex, sub, and ordered keyword arguments.

regex : str or re pattern object

A regular expression to be used in addition to any glob patterns passed as positional arguments. Note that this will be compared with re.match, not re.search.

sub : str

A replacement string (see re.MatchObject.expand) used to set the dictionary keys of any fields matched by regex.

ordered : bool

If True, a collections.OrderedDict will be returned instead of a standard dict, with the order corresponding to the definition order of the Schema. Default is False.

get(self: object, arg0: object) → object
getAngle(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyAngle) → lsst.geom.Angle
getApFluxFlag(self: lsst.afw.table.SourceRecord) → bool
getApInstFlux(self: lsst.afw.table.SourceRecord) → float
getApInstFluxErr(self: lsst.afw.table.SourceRecord) → float
getArrayB(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayB) → numpy.ndarray
getArrayD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayD) → numpy.ndarray
getArrayF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayF) → numpy.ndarray
getArrayI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayI) → numpy.ndarray
getArrayU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayU) → numpy.ndarray
getB(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyB) → int
getCalibFluxFlag(self: lsst.afw.table.SourceRecord) → bool
getCalibInstFlux(self: lsst.afw.table.SourceRecord) → float
getCalibInstFluxErr(self: lsst.afw.table.SourceRecord) → float
getCentroid(self: lsst.afw.table.SourceRecord) → lsst.geom.Point2D
getCentroidErr(self: lsst.afw.table.SourceRecord) → numpy.ndarray[numpy.float32[2, 2]]
getCentroidFlag(self: lsst.afw.table.SourceRecord) → bool
getCoord(self: lsst.afw.table.SimpleRecord) → lsst.geom.SpherePoint
getD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyD) → float
getDec(self: lsst.afw.table.SimpleRecord) → lsst.geom.Angle
getF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyF) → float
getFlag(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyFlag) → bool
getFootprint(self: lsst.afw.table.SourceRecord) → lsst::afw::detection::Footprint
getGaussianFluxFlag(self: lsst.afw.table.SourceRecord) → bool
getGaussianInstFlux(self: lsst.afw.table.SourceRecord) → float
getGaussianInstFluxErr(self: lsst.afw.table.SourceRecord) → float
getI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyI) → int
getId(self: lsst.afw.table.SimpleRecord) → int
getIxx(self: lsst.afw.table.SourceRecord) → float
getIxy(self: lsst.afw.table.SourceRecord) → float
getIyy(self: lsst.afw.table.SourceRecord) → float
getL(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyL) → int
getModelFluxFlag(self: lsst.afw.table.SourceRecord) → bool
getModelInstFlux(self: lsst.afw.table.SourceRecord) → float
getModelInstFluxErr(self: lsst.afw.table.SourceRecord) → float
getParent(self: lsst.afw.table.SourceRecord) → int
getPsfFluxFlag(self: lsst.afw.table.SourceRecord) → bool
getPsfInstFlux(self: lsst.afw.table.SourceRecord) → float
getPsfInstFluxErr(self: lsst.afw.table.SourceRecord) → float
getRa(self: lsst.afw.table.SimpleRecord) → lsst.geom.Angle
getSchema(self: lsst.afw.table.BaseRecord) → lsst.afw.table.Schema
getShape(self: lsst.afw.table.SourceRecord) → lsst::afw::geom::ellipses::Quadrupole
getShapeErr(self: lsst.afw.table.SourceRecord) → numpy.ndarray[numpy.float32[3, 3]]
getShapeFlag(self: lsst.afw.table.SourceRecord) → bool
getString(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyString) → str
getTable(self: lsst.afw.table.SourceRecord) → lsst.afw.table.SourceTable
getU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyU) → int
getX(self: lsst.afw.table.SourceRecord) → float
getY(self: lsst.afw.table.SourceRecord) → float
set(self: object, arg0: object, arg1: object) → None
setAngle(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyAngle, arg1: lsst.geom.Angle) → None
setArrayB(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayB, arg1: object) → None
setArrayD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayD, arg1: object) → None
setArrayF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayF, arg1: object) → None
setArrayI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayI, arg1: object) → None
setArrayU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayU, arg1: object) → None
setB(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyB, arg1: int) → None
setCoord(self: lsst.afw.table.SimpleRecord, arg0: lsst.geom.SpherePoint) → None
setD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyD, arg1: float) → None
setDec(self: lsst.afw.table.SimpleRecord, arg0: lsst.geom.Angle) → None
setF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyF, arg1: float) → None
setFlag(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyFlag, arg1: bool) → None
setFootprint(self: lsst.afw.table.SourceRecord, arg0: lsst::afw::detection::Footprint) → None
setI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyI, arg1: int) → None
setId(self: lsst.afw.table.SimpleRecord, arg0: int) → None
setL(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyL, arg1: int) → None
setParent(self: lsst.afw.table.SourceRecord, id: int) → None
setRa(self: lsst.afw.table.SimpleRecord, arg0: lsst.geom.Angle) → None
setString(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyString, arg1: str) → None
setU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyU, arg1: int) → None
updateCoord(*args, **kwargs)

Overloaded function.

  1. updateCoord(self: lsst.afw.table.SourceRecord, wcs: lsst::afw::geom::SkyWcs) -> None
  2. updateCoord(self: lsst.afw.table.SourceRecord, wcs: lsst::afw::geom::SkyWcs, key: lsst.afw.table.Point2DKey) -> None