LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef LSST_AFW_CAMERAGEOM_AMPLIFIER_H_INCLUDED
23 #define LSST_AFW_CAMERAGEOM_AMPLIFIER_H_INCLUDED
33 namespace cameraGeom {
102 void toRecord(table::BaseRecord & record) const;
418 #endif // !LSST_AFW_CAMERAGEOM_AMPLIFIER_H_INCLUDED
void setRawPrescanBBox(lsst::geom::Box2I const &bbox)
The bounding box of (horizontal) prescan pixels in the assembled, untrimmed raw image.
std::string linearityType
virtual Fields const & getFields() const =0
lsst::geom::Box2I getRawSerialOverscanBBox() const
The bounding box of serial overscan pixels (equivalent to horizontal overscan pixels) in the assemble...
lsst::geom::Extent2I getRawXYOffset() const
Offset in transformation from pre-raw, unassembled image to trimmed, assembled post-ISR image: final ...
double getSuspectLevel() const
Level in ADU above which pixels are considered suspicious, meaning they may be affected by unknown sy...
ReadoutCorner getReadoutCorner() const
Readout corner in the trimmed, assembled image.
void setReadNoise(double readNoise)
Amplifier read noise, in e-.
lsst::geom::Box2I getRawDataBBox() const
Bounding box of amplifier image pixels on untrimmed, assembled raw image.
void setRawVerticalOverscanBBox(lsst::geom::Box2I const &bbox)
The bounding box of vertical overscan pixels in the assembled, untrimmed raw image.
void toRecord(table::BaseRecord &record) const
Copy the Amplifier's fields into the given record.
void setReadoutCorner(ReadoutCorner readoutCorner)
Readout corner in the trimmed, assembled image.
void setRawHorizontalPrescanBBox(lsst::geom::Box2I const &bbox)
The bounding box of horizontal/serial prescan pixels in the assembled, untrimmed raw image.
void setRawBBox(lsst::geom::Box2I const &bbox)
Bounding box of all amplifier pixels on untrimmed, assembled raw image.
Builder & operator=(Builder const &)=default
Standard copy assignment.
void setSuspectLevel(double suspectLevel)
Level in ADU above which pixels are considered suspicious, meaning they may be affected by unknown sy...
double getLinearityMaximum() const
Level in ADU above which the linearity relation is poorly defined.
table::Key< double > readNoise
void setRawFlipX(bool rawFlipX)
Flip row order in transformation from untrimmed, assembled raw image to trimmed, assembled post-ISR i...
lsst::geom::Box2I getBBox() const
Bounding box of amplifier pixels in the trimmed, assembled image.
AssemblyState
Assembly state of the amplifier, used to identify bounding boxes and component existence.
lsst::geom::Box2I rawVerticalOverscanBBox
void setRawSerialPrescanBBox(lsst::geom::Box2I const &bbox)
The bounding box of horizontal/serial prescan pixels in the assembled, untrimmed raw image.
ndarray::Array< double const, 1, 1 > linearityCoeffs
void setRawSerialOverscanBBox(lsst::geom::Box2I const &bbox)
The bounding box of serial overscan pixels (equivalent to horizontal overscan pixels) in the assemble...
Defines the fields and offsets for a table.
Fields const & getFields() const override
std::string getLinearityUnits() const
Units for the input to the linearity relation (DN).
Amplifier(Amplifier const &)=default
lsst::geom::Box2I rawPrescanBBox
table::Key< table::Flag > rawFlipY
Builder(Builder &&)=default
Standard move constructor.
double getLinearityThreshold() const
Level in ADU above which linearity should be applied.
A mutable Amplifier subclass class that can be used to incrementally construct or modify Amplifiers.
Amplifier & operator=(Amplifier const &)=default
table::Key< int > readoutCorner
double getSaturation() const
Level in ADU above which pixels are considered saturated; use nan if no such level applies.
void setRawFlipY(bool rawFlipY)
Flip column order in transformation from untrimmed, assembled raw image to trimmed,...
ReadoutCorner
Readout corner, in the frame of reference of the assembled image.
Amplifier(Amplifier &&)=default
lsst::geom::Box2I getRawPrescanBBox() const
The bounding box of (horizontal) prescan pixels in the assembled, untrimmed raw image.
double linearityThreshold
lsst::geom::Box2I getRawHorizontalOverscanBBox() const
The bounding box of horizontal overscan pixels in the assembled, untrimmed raw image.
lsst::geom::Box2I getRawSerialPrescanBBox() const
The bounding box of horizontal/serial prescan pixels in the assembled, untrimmed raw image.
table::Key< double > saturation
double getReadNoise() const
Amplifier read noise, in e-.
bool getRawFlipX() const
Flip row order in transformation from untrimmed, assembled raw image to trimmed, assembled post-ISR i...
ItemVariant const * other
Base class for all records.
std::string getLinearityType() const
Name of linearity parameterization.
void setLinearityCoeffs(ndarray::Array< double const, 1, 1 > const &coeffs)
Vector of linearity coefficients.
lsst::geom::Box2I rawBBox
void setLinearityThreshold(double threshold)
Level in ADU above which linearity should be applied.
lsst::geom::Box2I getRawVerticalOverscanBBox() const
The bounding box of vertical overscan pixels in the assembled, untrimmed raw image.
double getGain() const
Amplifier gain in e-/ADU.
void setBBox(lsst::geom::Box2I const &bbox)
Bounding box of amplifier pixels in the trimmed, assembled image.
virtual ~Amplifier() noexcept=default
A base class for image defects.
Builder rebuild() const
Return a Builder object initialized with the fields of this.
Builder()=default
Construct a Builder with default values for all fields.
std::string linearityUnits
Geometry and electronic information about raw amplifier images.
lsst::geom::Box2I getRawBBox() const
Bounding box of all amplifier pixels on untrimmed, assembled raw image.
lsst::geom::Box2I rawHorizontalOverscanBBox
void setRawXYOffset(lsst::geom::Extent2I const &xy)
Offset in transformation from pre-raw, unassembled image to trimmed, assembled post-ISR image: final ...
void setSaturation(double saturation)
Level in ADU above which pixels are considered saturated; use nan if no such level applies.
table::Key< double > gain
static table::Schema getRecordSchema()
Return the schema used in the afw.table representation of amplifiers.
std::shared_ptr< Amplifier const > finish() const
Construct an immutable Amplifier with the same values as the Builder.
lsst::geom::Box2I rawDataBBox
An integer coordinate rectangle.
lsst::geom::Extent2I rawXYOffset
Amplifier & operator=(Amplifier &&)=default
void setRawParallelOverscanBBox(lsst::geom::Box2I const &bbox)
The bounding box of parallel overscan pixels (equivalent to vertical overscan pixels) in the assemble...
std::string getName() const
Name of the amplifier.
lsst::geom::Box2I getRawHorizontalPrescanBBox() const
The bounding box of horizontal/serial prescan pixels in the assembled, untrimmed raw image.
table::Key< double > suspectLevel
bool getRawFlipY() const
Flip column order in transformation from untrimmed, assembled raw image to trimmed,...
ndarray::Array< double const, 1, 1 > getLinearityCoeffs() const
Vector of linearity coefficients.
table::Key< table::Flag > rawFlipX
void setName(std::string const &name)
Name of the amplifier.
void setRawHorizontalOverscanBBox(lsst::geom::Box2I const &bbox)
The bounding box of horizontal overscan pixels in the assembled, untrimmed raw image.
void setLinearityMaximum(double maximum)
Level in ADU above which the linearity relation is poorly defined.
void setLinearityType(std::string const &type)
Name of linearity parameterization.
Builder(Builder const &)=default
Standard copy constructor.
ReadoutCorner readoutCorner
void setRawDataBBox(lsst::geom::Box2I const &bbox)
Bounding box of amplifier image pixels on untrimmed, assembled raw image.
void setLinearityUnits(std::string const &units)
Units for the input to the linearity relation (DN).
~Builder() noexcept override=default
Builder & operator=(Builder &&)=default
Standard move assignment.
lsst::geom::Box2I getRawParallelOverscanBBox() const
The bounding box of parallel overscan pixels (equivalent to vertical overscan pixels) in the assemble...
static Builder fromRecord(table::BaseRecord const &record)
Construct a new Builder object from the fields in the given record.
void setGain(double gain)
Amplifier gain in e-/ADU.