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