ExposureRecord

class lsst.afw.table.ExposureRecord

Bases: lsst.afw.table.BaseRecord

Attributes Summary

schema
table

Methods Summary

assign(*args, **kwargs) Overloaded function.
contains(*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)
getApCorrMap(self)
getArrayB(self, arg0)
getArrayD(self, arg0)
getArrayF(self, arg0)
getArrayI(self, arg0)
getArrayU(self, arg0)
getB(self, arg0)
getBBox(self)
getD(self, arg0)
getDetector(self)
getF(self, arg0)
getFlag(self, arg0)
getI(self, arg0)
getId(self)
getL(self, arg0)
getPhotoCalib(self)
getPsf(self)
getSchema(self)
getString(self, arg0)
getTable(self)
getTransmissionCurve(self)
getU(self, arg0)
getValidPolygon(self)
getVisitInfo(self)
getWcs(self)
set(self, arg0, arg1)
setAngle(self, arg0, arg1)
setApCorrMap(self, apCorrMap)
setArrayB(self, arg0, arg1)
setArrayD(self, arg0, arg1)
setArrayF(self, arg0, arg1)
setArrayI(self, arg0, arg1)
setArrayU(self, arg0, arg1)
setB(self, arg0, arg1)
setBBox(self, bbox)
setD(self, arg0, arg1)
setDetector(self, detector)
setF(self, arg0, arg1)
setFlag(self, arg0, arg1)
setI(self, arg0, arg1)
setId(self, id)
setL(self, arg0, arg1)
setPhotoCalib(self, photoCalib)
setPsf(self, psf)
setString(self, arg0, arg1)
setTransmissionCurve(self, transmissionCurve)
setU(self, arg0, arg1)
setValidPolygon(self, polygon)
setVisitInfo(self, visitInfo)
setWcs(self, wcs)

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
contains(*args, **kwargs)

Overloaded function.

  1. contains(self: lsst.afw.table.ExposureRecord, coord: lsst::geom::SpherePoint, includeValidPolygon: bool = False) -> bool
  2. contains(self: lsst.afw.table.ExposureRecord, point: lsst::geom::Point<double, 2>, wcs: lsst::afw::geom::SkyWcs, includeValidPolygon: bool = False) -> bool
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.

split : bool

If True, fields with named subfields (e.g. points) will be split into separate items in the dict; instead of {“point”: lsst.geom.Point2I(2,3)}, for instance, you’d get {“point.x”: 2, “point.y”: 3}. Default is False.

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
getApCorrMap(self: lsst.afw.table.ExposureRecord) → lsst::afw::image::ApCorrMap
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
getBBox(self: lsst.afw.table.ExposureRecord) → lsst::geom::Box2I
getD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyD) → float
getDetector(self: lsst.afw.table.ExposureRecord) → lsst::afw::cameraGeom::Detector
getF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyF) → float
getFlag(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyFlag) → bool
getI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyI) → int
getId(self: lsst.afw.table.ExposureRecord) → int
getL(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyL) → int
getPhotoCalib(self: lsst.afw.table.ExposureRecord) → lsst::afw::image::PhotoCalib
getPsf(self: lsst.afw.table.ExposureRecord) → lsst::afw::detection::Psf
getSchema(self: lsst.afw.table.BaseRecord) → lsst.afw.table.Schema
getString(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyString) → str
getTable(self: lsst.afw.table.ExposureRecord) → lsst.afw.table.ExposureTable
getTransmissionCurve(self: lsst.afw.table.ExposureRecord) → lsst::afw::image::TransmissionCurve
getU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyU) → int
getValidPolygon(self: lsst.afw.table.ExposureRecord) → lsst::afw::geom::polygon::Polygon
getVisitInfo(self: lsst.afw.table.ExposureRecord) → lsst::afw::image::VisitInfo
getWcs(self: lsst.afw.table.ExposureRecord) → lsst::afw::geom::SkyWcs
set(self: object, arg0: object, arg1: object) → None
setAngle(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyAngle, arg1: lsst::geom::Angle) → None
setApCorrMap(self: lsst.afw.table.ExposureRecord, apCorrMap: lsst::afw::image::ApCorrMap) → 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
setBBox(self: lsst.afw.table.ExposureRecord, bbox: lsst::geom::Box2I) → None
setD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyD, arg1: float) → None
setDetector(self: lsst.afw.table.ExposureRecord, detector: lsst::afw::cameraGeom::Detector) → 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
setI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyI, arg1: int) → None
setId(self: lsst.afw.table.ExposureRecord, id: int) → None
setL(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyL, arg1: int) → None
setPhotoCalib(self: lsst.afw.table.ExposureRecord, photoCalib: lsst::afw::image::PhotoCalib) → None
setPsf(self: lsst.afw.table.ExposureRecord, psf: lsst::afw::detection::Psf) → None
setString(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyString, arg1: str) → None
setTransmissionCurve(self: lsst.afw.table.ExposureRecord, transmissionCurve: lsst::afw::image::TransmissionCurve) → None
setU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyU, arg1: int) → None
setValidPolygon(self: lsst.afw.table.ExposureRecord, polygon: object) → None
setVisitInfo(self: lsst.afw.table.ExposureRecord, visitInfo: lsst::afw::image::VisitInfo) → None
setWcs(self: lsst.afw.table.ExposureRecord, wcs: lsst::afw::geom::SkyWcs) → None