LSST Applications g0f08755f38+9c285cab97,g1635faa6d4+13f3999e92,g1653933729+a8ce1bb630,g1a0ca8cf93+bf6eb00ceb,g28da252d5a+0829b12dee,g29321ee8c0+5700dc9eac,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+fde0dd39b6,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g80478fca09+55a9465950,g82479be7b0+d730eedb7d,g858d7b2824+9c285cab97,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+2a84bb7594,gacf8899fa4+c69c5206e8,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc28159a63d+9634bc57db,gcf0d15dbbd+4b7d09cae4,gda3e153d99+9c285cab97,gda6a2b7d83+4b7d09cae4,gdaeeff99f8+1711a396fd,ge2409df99d+5e831397f4,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+41c94011de,gf3fb38a9a8+8f07a9901b,gfb92a5be7c+9c285cab97,w.2024.46
LSST Data Management Base Package
|
Geometry and electronic information about raw amplifier images. More...
#include <Amplifier.h>
Classes | |
class | Builder |
A mutable Amplifier subclass class that can be used to incrementally construct or modify Amplifiers. More... | |
struct | Fields |
Public Member Functions | |
virtual | ~Amplifier () noexcept=default |
void | toRecord (table::BaseRecord &record) const |
Copy the Amplifier's fields into the given record. | |
Builder | rebuild () const |
Return a Builder object initialized with the fields of this. | |
std::string | getName () const |
Name of the amplifier. | |
lsst::geom::Box2I | getBBox () const |
Bounding box of amplifier pixels in the trimmed, assembled image. | |
double | getGain () const |
Amplifier gain in e-/ADU. | |
double | getReadNoise () const |
Amplifier read noise, in e-. | |
double | getSaturation () const |
Level in ADU above which pixels are considered saturated; use nan if no such level applies. | |
double | getSuspectLevel () const |
Level in ADU above which pixels are considered suspicious, meaning they may be affected by unknown systematics; for example if non-linearity corrections above a certain level are unstable then that would be a useful value for suspectLevel. | |
ReadoutCorner | getReadoutCorner () const |
Readout corner in the trimmed, assembled image. | |
ndarray::Array< double const, 1, 1 > | getLinearityCoeffs () const |
Vector of linearity coefficients. | |
std::string | getLinearityType () const |
Name of linearity parameterization. | |
double | getLinearityThreshold () const |
Level in ADU above which linearity should be applied. | |
double | getLinearityMaximum () const |
Level in ADU above which the linearity relation is poorly defined. | |
std::string | getLinearityUnits () const |
Units for the input to the linearity relation (DN). | |
lsst::geom::Box2I | getRawBBox () const |
Bounding box of the untrimmed amplifier in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawDataBBox () const |
Bounding box of amplifier data pixels in the image to which it is attached, which is assumed to be untrimmed. | |
bool | getRawFlipX () const |
Is this amplifier (and the image to which it is attached) flipped in the X direction, relative to the physical orientation used for assembled (but still untrimmed) raws? | |
bool | getRawFlipY () const |
Is this amplifier (and the image to which it is attached) flipped in the Y direction, relative to the physical orientation used for assembled (but still untrimmed) raws? | |
lsst::geom::Extent2I | getRawXYOffset () const |
Offset in transformation from this amplifier (and the image to which it is attached) to trimmed, assembled post-ISR image: final xy0 - current xy0. | |
lsst::geom::Box2I | getRawHorizontalOverscanBBox () const |
The bounding box of horizontal overscan pixels in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawVerticalOverscanBBox () const |
The bounding box of vertical overscan pixels in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawPrescanBBox () const |
The bounding box of (horizontal) prescan pixels in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawSerialOverscanBBox () const |
The bounding box of serial overscan pixels (equivalent to horizontal overscan pixels) in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawParallelOverscanBBox () const |
The bounding box of parallel overscan pixels (equivalent to vertical overscan pixels) in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawSerialPrescanBBox () const |
The bounding box of horizontal/serial prescan pixels in the image to which it is attached, which is assumed to be untrimmed. | |
lsst::geom::Box2I | getRawHorizontalPrescanBBox () const |
The bounding box of horizontal/serial prescan pixels in the image to which it is attached, which is assumed to be untrimmed. | |
Static Public Member Functions | |
static table::Schema | getRecordSchema () |
Return the schema used in the afw.table representation of amplifiers. | |
Protected Member Functions | |
Amplifier ()=default | |
Amplifier (Amplifier const &)=default | |
Amplifier (Amplifier &&)=default | |
Amplifier & | operator= (Amplifier const &)=default |
Amplifier & | operator= (Amplifier &&)=default |
virtual Fields const & | getFields () const =0 |
Geometry and electronic information about raw amplifier images.
The Amplifier class itself is an abstract base class that provides no mutation or copy interfaces. Typically Amplifiers are constructed via the Builder subclass, which can produce a shared_ptr to an immutable Amplifier instance.
Here is a pictorial example showing the meaning of flipX and flipY:
CCD with 4 amps Desired assembled output Use these parameters --x x-- y | amp1 amp2 | | flipX flipY y y | amp1 False True | CCD image amp2 True True y y | amp3 False False | amp3 amp4 | | amp4 True False --x x-- ----------- x
Definition at line 86 of file Amplifier.h.
|
virtualdefaultnoexcept |
|
protecteddefault |
|
protecteddefault |
|
protecteddefault |
|
inline |
Bounding box of amplifier pixels in the trimmed, assembled image.
Definition at line 115 of file Amplifier.h.
|
protectedpure virtual |
Implemented in lsst::afw::cameraGeom::Amplifier::Builder.
|
inline |
|
inline |
Vector of linearity coefficients.
Definition at line 142 of file Amplifier.h.
|
inline |
Level in ADU above which the linearity relation is poorly defined.
Should be set to the saturation level if no other value is known.
Definition at line 156 of file Amplifier.h.
|
inline |
Level in ADU above which linearity should be applied.
This should be set to 0.0 if no other value is known.
Definition at line 150 of file Amplifier.h.
|
inline |
Name of linearity parameterization.
Definition at line 145 of file Amplifier.h.
|
inline |
Units for the input to the linearity relation (DN).
Definition at line 159 of file Amplifier.h.
|
inline |
|
inline |
Bounding box of the untrimmed amplifier in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image.
Definition at line 168 of file Amplifier.h.
|
inline |
Bounding box of amplifier data pixels in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image.
Definition at line 177 of file Amplifier.h.
|
inline |
Is this amplifier (and the image to which it is attached) flipped in the X direction, relative to the physical orientation used for assembled (but still untrimmed) raws?
Definition at line 184 of file Amplifier.h.
|
inline |
Is this amplifier (and the image to which it is attached) flipped in the Y direction, relative to the physical orientation used for assembled (but still untrimmed) raws?
Definition at line 191 of file Amplifier.h.
|
inline |
The bounding box of horizontal overscan pixels in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image.
Definition at line 207 of file Amplifier.h.
|
inline |
The bounding box of horizontal/serial prescan pixels in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image. This duplicates the getRawPrescanBBox method for legacy reasons.
Definition at line 260 of file Amplifier.h.
|
inline |
The bounding box of parallel overscan pixels (equivalent to vertical overscan pixels) in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image. This duplicates the getRawVerticalOverscanBBox method for legacy reasons.
Definition at line 247 of file Amplifier.h.
|
inline |
The bounding box of (horizontal) prescan pixels in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image.
Definition at line 225 of file Amplifier.h.
|
inline |
The bounding box of serial overscan pixels (equivalent to horizontal overscan pixels) in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image. This duplicates the getRawHorizontalOverscanBBox method for legacy reasons.
Definition at line 236 of file Amplifier.h.
|
inline |
The bounding box of horizontal/serial prescan pixels in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image. This duplicates the getRawPrescanBBox method for legacy reasons.
Definition at line 257 of file Amplifier.h.
|
inline |
The bounding box of vertical overscan pixels in the image to which it is attached, which is assumed to be untrimmed.
This attribute should never be accessed on an amplifier attached to a trimmed image.
Definition at line 216 of file Amplifier.h.
|
inline |
Offset in transformation from this amplifier (and the image to which it is attached) to trimmed, assembled post-ISR image: final xy0 - current xy0.
Definition at line 198 of file Amplifier.h.
|
inline |
|
inline |
Readout corner in the trimmed, assembled image.
Definition at line 139 of file Amplifier.h.
|
static |
Return the schema used in the afw.table representation of amplifiers.
Definition at line 267 of file Amplifier.cc.
|
inline |
Level in ADU above which pixels are considered saturated; use nan
if no such level applies.
Definition at line 127 of file Amplifier.h.
|
inline |
Level in ADU above which pixels are considered suspicious, meaning they may be affected by unknown systematics; for example if non-linearity corrections above a certain level are unstable then that would be a useful value for suspectLevel.
Use nan
if no such level applies.
Definition at line 136 of file Amplifier.h.
Amplifier::Builder lsst::afw::cameraGeom::Amplifier::rebuild | ( | ) | const |
Return a Builder object initialized with the fields of this.
This is simply a shortcut for Amplifier::Builder(*this)
.
Definition at line 271 of file Amplifier.cc.
void lsst::afw::cameraGeom::Amplifier::toRecord | ( | table::BaseRecord & | record | ) | const |
Copy the Amplifier's fields into the given record.
[out] | record | Record to modify. record.getSchema().contains(this->getRecordSchema()) must be true. |
Definition at line 322 of file Amplifier.cc.