23 #ifndef AFW_TABLE_AmpInfo_h_INCLUDED
24 #define AFW_TABLE_AmpInfo_h_INCLUDED
32 namespace lsst {
namespace afw {
namespace table {
291 #endif // !AFW_TABLE_AmpInfo_h_INCLUDED
Defines the fields and offsets for a table.
std::string getName() const
Convenience accessors for the keys in the minimal reference schema.
void setBBox(geom::Box2I const &bbox)
bounding box of amplifier pixels in assembled image
Writer object for FITS binary tables.
CatalogT< Record > Catalog
static int const MAX_NAME_LENGTH
static PointKey< int > getRawPrescanBBoxMinKey()
PointKey< int > rawVerticalOverscanBBoxExtent
static Key< int > getReadoutCornerKey()
double getGain() const
Convenience accessors for the keys in the minimal reference schema.
AmpInfoTable(Schema const &schema)
static PointKey< int > getRawHorizontalOverscanBBoxExtentKey()
ReadoutCorner getReadoutCorner() const
Convenience accessors for the keys in the minimal reference schema.
table::Key< std::string > name
boost::shared_ptr< AmpInfoRecord > makeRecord()
Default-construct an associated record.
Key< std::string > linearityType
Geometry and electronic information about raw amplifier images.
static int const MAX_LINEARITY_TYPE_LENGTH
geom::Box2I getRawVerticalOverscanBBox() const
Convenience accessors for the keys in the minimal reference schema.
static Key< Flag > getRawFlipXKey()
static PointKey< int > getRawHorizontalOverscanBBoxMinKey()
PointKey< int > rawDataBBoxExtent
static PointKey< int > getRawVerticalOverscanBBoxMinKey()
void setReadNoise(double readNoise)
amplifier read noise, in e-
A custom container class for records, based on std::vector.
A mapping between the keys of two Schemas, used to copy data between them.
void setReadoutCorner(ReadoutCorner val)
set readout corner
boost::shared_ptr< BaseTable const > getTable() const
Return the table this record is associated with.
static int const MAX_LINEARITY_COEFFS
static Key< Flag > getHasRawInfoKey()
static PointKey< int > getRawDataBBoxExtentKey()
PointKey< int > rawBBoxExtent
void setRawXYOffset(geom::Extent2I const &xy)
offset for assembling a raw CCD image: desired xy0 - raw xy0
void setRawHorizontalOverscanBBox(geom::Box2I const &bbox)
bounding box of usable horizontal overscan pixels
PointKey< int > rawVerticalOverscanBBoxMin
virtual boost::shared_ptr< BaseTable > _clone() const =0
Clone implementation with noncovariant return types.
geom::Box2I getRawHorizontalOverscanBBox() const
Convenience accessors for the keys in the minimal reference schema.
static MinimalSchema & getMinimalSchema()
static bool checkSchema(Schema const &other)
Return true if the given schema is a valid AmpInfoTable schema.
virtual boost::shared_ptr< BaseRecord > _makeRecord()=0
Default-construct an associated record (protected implementation).
void setRawVerticalOverscanBBox(geom::Box2I const &bbox)
bounding box of usable vertical overscan pixels
geom::Box2I getRawPrescanBBox() const
Convenience accessors for the keys in the minimal reference schema.
CatalogT< Record const > ConstCatalog
static PointKey< int > getRawXYOffsetKey()
double getReadNoise() const
Convenience accessors for the keys in the minimal reference schema.
static Key< int > getSaturationKey()
PointKey< int > rawHorizontalOverscanBBoxMin
An integer coordinate rectangle.
static PointKey< int > getBBoxExtentKey()
std::map< Citizen const *, CitizenInfo > table
void setName(std::string const &name)
name of amplifier location in camera
CatalogT< AmpInfoRecord const > ConstCatalog
bool getHasRawInfo() const
Convenience accessors for the keys in the minimal reference schema.
static Key< std::string > getNameKey()
void setRawBBox(geom::Box2I const &bbox)
bounding box of all amplifier pixels on raw image
int getSaturation() const
Convenience accessors for the keys in the minimal reference schema.
static PointKey< int > getRawDataBBoxMinKey()
boost::shared_ptr< AmpInfoRecord > copyRecord(BaseRecord const &other)
Deep-copy a record, requiring that it have the same schema as this table.
static Key< Flag > getRawFlipYKey()
int contains(Schema const &other, int flags=EQUAL_KEYS) const
Test whether the given schema is a subset of this.
void setLinearityType(std::string const &type)
name of linearity parameterization
static Schema makeMinimalSchema()
Return a minimal schema for AmpInfo tables and records.
CatalogT< AmpInfoRecord > Catalog
boost::shared_ptr< AmpInfoTable const > getTable() const
ColumnViewT< AmpInfoRecord > ColumnView
geom::Extent2I getRawXYOffset() const
Convenience accessors for the keys in the minimal reference schema.
static PointKey< int > getRawBBoxMinKey()
void setRawFlipX(bool rawFlipX)
flip row order to make assembled image?
static PointKey< int > getRawBBoxExtentKey()
PointKey< int > bboxExtent
bool getRawFlipX() const
Convenience accessors for the keys in the minimal reference schema.
PointKey< int > rawXYOffset
void setHasRawInfo(bool hasRawInfo)
does this table have raw amplifier information?
geom::Box2I getRawBBox() const
Convenience accessors for the keys in the minimal reference schema.
AmpInfoRecord(boost::shared_ptr< AmpInfoTable > const &table)
ColumnViewT< AmpInfoRecord > ColumnView
boost::shared_ptr< BaseRecord > copyRecord(BaseRecord const &input)
Deep-copy a record, requiring that it have the same schema as this table.
geom::Box2I getBBox() const
Convenience accessors for the keys in the minimal reference schema.
static Key< Array< double > > getLinearityCoeffsKey()
std::string getLinearityType() const
Convenience accessors for the keys in the minimal reference schema.
Key< Array< double > > linearityCoeffs
PointKey< int > rawBBoxMin
Base class for all records.
geom::Box2I getRawDataBBox() const
Convenience accessors for the keys in the minimal reference schema.
void disconnectAliases()
Sever the connection between this schema and any others with which it shares aliases.
Key specialization for Flag.
static PointKey< int > getRawPrescanBBoxExtentKey()
PointKey< int > rawPrescanBBoxMin
void setRawPrescanBBox(geom::Box2I const &bbox)
bounding box of usable (horizontal) prescan pixels on raw image
void setSaturation(int saturation)
saturation value, in ADU
virtual boost::shared_ptr< io::FitsWriter > makeFitsWriter(fits::Fits *fitsfile, int flags) const
PointKey< int > rawHorizontalOverscanBBoxExtent
PointKey< int > rawPrescanBBoxExtent
boost::shared_ptr< AmpInfoTable > clone() const
Return a polymorphic deep copy of the table.
void setLinearityCoeffs(std::vector< double > const &coeffs)
vector of linearity coefficients
std::vector< double > getLinearityCoeffs() const
Convenience accessors for the keys in the minimal reference schema.
Table of amplifier information (AmpInfoRecord records)
static boost::shared_ptr< AmpInfoTable > make(Schema const &schema)
Construct a new table.
PointKey< int > rawDataBBoxMin
static Key< double > getReadNoiseKey()
static Key< std::string > getLinearityTypeKey()
Base class for all tables.
static PointKey< int > getRawVerticalOverscanBBoxExtentKey()
static Key< double > getGainKey()
void setGain(double gain)
amplifier gain in e-/ADU
static PointKey< int > getBBoxMinKey()
void setRawDataBBox(geom::Box2I const &bbox)
bounding box of amplifier image pixels on raw image
void setRawFlipY(bool rawFlipY)
flip column order to make an assembled image?
bool getRawFlipY() const
Convenience accessors for the keys in the minimal reference schema.