23 #ifndef AFW_TABLE_AmpInfo_h_INCLUDED
24 #define AFW_TABLE_AmpInfo_h_INCLUDED
31 namespace lsst {
namespace afw {
namespace table {
91 void setName(std::string
const &name);
290 #endif // !AFW_TABLE_AmpInfo_h_INCLUDED
Defines the fields and offsets for a table.
static Key< Point< int > > getRawVerticalOverscanBBoxMinKey()
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
Key< Point< int > > rawVerticalOverscanBBoxMin
Writer subclass for FITS binary tables.
CatalogT< Record > Catalog
static int const MAX_NAME_LENGTH
static Key< int > getReadoutCornerKey()
double getGain() const
Convenience accessors for the keys in the minimal reference schema.
AmpInfoTable(Schema const &schema)
Key< Point< int > > rawHorizontalOverscanBBoxMin
Key< Point< int > > rawHorizontalOverscanBBoxExtent
ReadoutCorner getReadoutCorner() const
Convenience accessors for the keys in the minimal reference schema.
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()
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< Point< int > > getRawXYOffsetKey()
static Key< Flag > getHasRawInfoKey()
static Key< Point< int > > getRawPrescanBBoxExtentKey()
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
static Key< Point< int > > getBBoxMinKey()
Key< Point< int > > rawDataBBoxMin
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 Key< Point< int > > getRawBBoxMinKey()
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
double getReadNoise() const
Convenience accessors for the keys in the minimal reference schema.
static Key< int > getSaturationKey()
An integer coordinate rectangle.
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.
boost::shared_ptr< AmpInfoRecord > copyRecord(BaseRecord const &other)
Deep-copy a record, requiring that it have the same schema as this table.
static Key< Point< int > > getRawDataBBoxExtentKey()
static Key< Flag > getRawFlipYKey()
Key< Point< int > > rawBBoxExtent
static Key< Point< int > > getRawHorizontalOverscanBBoxMinKey()
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.
void setRawFlipX(bool rawFlipX)
flip row order to make assembled image?
Key< Point< int > > bboxExtent
Key< Point< int > > bboxMin
Key< Point< int > > rawBBoxMin
bool getRawFlipX() const
Convenience accessors for the keys in the minimal reference schema.
static Key< Point< int > > getRawBBoxExtentKey()
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
static Key< Point< int > > getRawHorizontalOverscanBBoxExtentKey()
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.
Key< Point< int > > rawPrescanBBoxMin
static Key< Array< double > > getLinearityCoeffsKey()
std::string getLinearityType() const
Convenience accessors for the keys in the minimal reference schema.
Key< Array< double > > linearityCoeffs
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 Key< Point< int > > getRawVerticalOverscanBBoxExtentKey()
Key< Point< int > > rawVerticalOverscanBBoxExtent
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
static Key< Point< int > > getRawDataBBoxMinKey()
Key< Point< int > > rawPrescanBBoxExtent
Key< Point< int > > rawDataBBoxExtent
static Key< Point< int > > getBBoxExtentKey()
static Key< Point< int > > getRawPrescanBBoxMinKey()
boost::shared_ptr< AmpInfoTable > clone() const
Return a polymorphic deep copy of the table.
std::map< Citizen const *, CitizenInfo > 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.
Key< Point< int > > rawXYOffset
Table of amplifier information (AmpInfoRecord records)
static boost::shared_ptr< AmpInfoTable > make(Schema const &schema)
Construct a new table.
static Key< double > getReadNoiseKey()
static Key< std::string > getLinearityTypeKey()
Base class for all tables.
static Key< double > getGainKey()
void setGain(double gain)
amplifier gain in e-/ADU
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.