AmpInfoRecord

class lsst.afw.table.AmpInfoRecord

Bases: lsst.afw.table.BaseRecord

Attributes Summary

schema
table

Methods Summary

assign(*args, **kwargs) Overloaded function.
extract(*patterns, **kwds) 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)
getArrayB(self, arg0)
getArrayD(self, arg0)
getArrayF(self, arg0)
getArrayI(self, arg0)
getArrayU(self, arg0)
getB(self, arg0)
getBBox(self)
getD(self, arg0)
getF(self, arg0)
getFlag(self, arg0)
getGain(self)
getHasRawInfo(self)
getI(self, arg0)
getL(self, arg0)
getLinearityCoeffs(self)
getLinearityType(self)
getName(self)
getRawBBox(self)
getRawDataBBox(self)
getRawFlipX(self)
getRawFlipY(self)
getRawHorizontalOverscanBBox(self)
getRawPrescanBBox(self)
getRawVerticalOverscanBBox(self)
getRawXYOffset(self)
getReadNoise(self)
getReadoutCorner(self)
getSaturation(self)
getSchema(self)
getString(self, arg0)
getSuspectLevel(self)
getTable(self)
getU(self, arg0)
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)
setBBox(self, bbox)
setD(self, arg0, arg1)
setF(self, arg0, arg1)
setFlag(self, arg0, arg1)
setGain(self, gain) Set amplifier gain in electron/adu
setHasRawInfo(self, hasRawInfo)
setI(self, arg0, arg1)
setL(self, arg0, arg1)
setLinearityCoeffs(self, coeffs)
setLinearityType(self, type)
setName(self, name) Set name of amplifier location in camera
setRawBBox(self, bbox)
setRawDataBBox(self, bbox)
setRawFlipX(self, rawFlipX)
setRawFlipY(self, rawFlipY)
setRawHorizontalOverscanBBox(self, bbox)
setRawPrescanBBox(self, bbox)
setRawVerticalOverscanBBox(self, bbox)
setRawXYOffset(self, offset)
setReadNoise(self, readNoise) Set read noise in electron
setReadoutCorner(self, corner)
setSaturation(self, saturation) Set level in ADU above which pixels are considered saturated; use nan if no such level applies
setString(self, arg0, arg1)
setSuspectLevel(self, suspectLevel) Set level in ADU above which pixels are considered suspicious; use nan if no such level applies
setU(self, arg0, arg1)

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, **kwds)

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
getArrayB(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayB) → ndarray::Array<unsigned char, 1, 1>
getArrayD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayD) → ndarray::Array<double, 1, 1>
getArrayF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayF) → ndarray::Array<float, 1, 1>
getArrayI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayI) → ndarray::Array<int, 1, 1>
getArrayU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyArrayU) → ndarray::Array<unsigned short, 1, 1>
getB(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyB) → int
getBBox(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Box2I
getD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyD) → float
getF(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyF) → float
getFlag(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyFlag) → bool
getGain(self: lsst.afw.table.AmpInfoRecord) → float
getHasRawInfo(self: lsst.afw.table.AmpInfoRecord) → bool
getI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyI) → int
getL(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyL) → int
getLinearityCoeffs(self: lsst.afw.table.AmpInfoRecord) → List[float]
getLinearityType(self: lsst.afw.table.AmpInfoRecord) → str
getName(self: lsst.afw.table.AmpInfoRecord) → str
getRawBBox(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Box2I
getRawDataBBox(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Box2I
getRawFlipX(self: lsst.afw.table.AmpInfoRecord) → bool
getRawFlipY(self: lsst.afw.table.AmpInfoRecord) → bool
getRawHorizontalOverscanBBox(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Box2I
getRawPrescanBBox(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Box2I
getRawVerticalOverscanBBox(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Box2I
getRawXYOffset(self: lsst.afw.table.AmpInfoRecord) → lsst.geom.Extent2I
getReadNoise(self: lsst.afw.table.AmpInfoRecord) → float
getReadoutCorner(self: lsst.afw.table.AmpInfoRecord) → lsst.afw.table.ReadoutCorner
getSaturation(self: lsst.afw.table.AmpInfoRecord) → float
getSchema(self: lsst.afw.table.BaseRecord) → lsst.afw.table.Schema
getString(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyString) → str
getSuspectLevel(self: lsst.afw.table.AmpInfoRecord) → float
getTable(self: lsst.afw.table.AmpInfoRecord) → lsst.afw.table.AmpInfoTable
getU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyU) → int
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
setBBox(self: lsst.afw.table.AmpInfoRecord, bbox: lsst.geom.Box2I) → None
setD(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyD, arg1: float) → 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
setGain(self: lsst.afw.table.AmpInfoRecord, gain: float) → None

Set amplifier gain in electron/adu

setHasRawInfo(self: lsst.afw.table.AmpInfoRecord, hasRawInfo: bool) → None
setI(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyI, arg1: int) → None
setL(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyL, arg1: int) → None
setLinearityCoeffs(self: lsst.afw.table.AmpInfoRecord, coeffs: List[float]) → None
setLinearityType(self: lsst.afw.table.AmpInfoRecord, type: str) → None
setName(self: lsst.afw.table.AmpInfoRecord, name: str) → None

Set name of amplifier location in camera

setRawBBox(self: lsst.afw.table.AmpInfoRecord, bbox: lsst.geom.Box2I) → None
setRawDataBBox(self: lsst.afw.table.AmpInfoRecord, bbox: lsst.geom.Box2I) → None
setRawFlipX(self: lsst.afw.table.AmpInfoRecord, rawFlipX: bool) → None
setRawFlipY(self: lsst.afw.table.AmpInfoRecord, rawFlipY: bool) → None
setRawHorizontalOverscanBBox(self: lsst.afw.table.AmpInfoRecord, bbox: lsst.geom.Box2I) → None
setRawPrescanBBox(self: lsst.afw.table.AmpInfoRecord, bbox: lsst.geom.Box2I) → None
setRawVerticalOverscanBBox(self: lsst.afw.table.AmpInfoRecord, bbox: lsst.geom.Box2I) → None
setRawXYOffset(self: lsst.afw.table.AmpInfoRecord, offset: lsst.geom.Extent2I) → None
setReadNoise(self: lsst.afw.table.AmpInfoRecord, readNoise: float) → None

Set read noise in electron

setReadoutCorner(self: lsst.afw.table.AmpInfoRecord, corner: lsst.afw.table.ReadoutCorner) → None
setSaturation(self: lsst.afw.table.AmpInfoRecord, saturation: float) → None

Set level in ADU above which pixels are considered saturated; use nan if no such level applies

setString(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyString, arg1: str) → None
setSuspectLevel(self: lsst.afw.table.AmpInfoRecord, suspectLevel: float) → None

Set level in ADU above which pixels are considered suspicious; use nan if no such level applies

setU(self: lsst.afw.table.BaseRecord, arg0: lsst.afw.table.KeyU, arg1: int) → None