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
Key< Point< int > > rawPrescanBBoxMin
Defines the fields and offsets for a table.
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.
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
static Key< Point< int > > getRawDataBBoxMinKey()
Writer subclass for FITS binary tables.
static Key< Flag > getRawFlipXKey()
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.
static Key< Point< int > > getBBoxExtentKey()
void setReadNoise(double readNoise)
amplifier read noise, in e-
Key< Point< int > > rawDataBBoxMin
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 setLinearityCoeffs(std::vector< double > const &coeffs)
vector of linearity coefficients
CatalogT< Record > Catalog
void setRawPrescanBBox(geom::Box2I const &bbox)
bounding box of usable (horizontal) prescan pixels on raw image
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.
Key< Point< int > > rawHorizontalOverscanBBoxMin
void setRawDataBBox(geom::Box2I const &bbox)
bounding box of amplifier image pixels on raw image
Key< Point< int > > rawBBoxMin
static Schema makeMinimalSchema()
Return a minimal schema for AmpInfo tables and records.
Key< Point< int > > rawDataBBoxExtent
static Key< std::string > getLinearityTypeKey()
Key< Point< int > > rawHorizontalOverscanBBoxExtent
void setRawBBox(geom::Box2I const &bbox)
bounding box of all amplifier pixels on raw image
static Key< Point< int > > getRawBBoxExtentKey()
std::vector< double > getLinearityCoeffs() const
Convenience accessors for the keys in the minimal reference schema.
CatalogT< AmpInfoRecord const > ConstCatalog
static Key< Point< int > > getRawBBoxMinKey()
boost::shared_ptr< AmpInfoRecord > makeRecord()
Default-construct an associated record.
Key< Point< int > > rawPrescanBBoxExtent
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?
static Key< Point< int > > getRawVerticalOverscanBBoxExtentKey()
Key< Point< int > > rawVerticalOverscanBBoxExtent
An integer coordinate rectangle.
static Key< Point< int > > getRawHorizontalOverscanBBoxExtentKey()
std::map< Citizen const *, CitizenInfo > table
int getSaturation() const
Convenience accessors for the keys in the minimal reference schema.
Key< Point< int > > bboxMin
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.
Key< Point< int > > rawXYOffset
AmpInfoTable(Schema const &schema)
static Key< Array< double > > getLinearityCoeffsKey()
static Key< int > getSaturationKey()
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.
static Key< Point< int > > getRawHorizontalOverscanBBoxMinKey()
geom::Box2I getRawPrescanBBox() const
Convenience accessors for the keys in the minimal reference schema.
ColumnViewT< AmpInfoRecord > ColumnView
static Key< Flag > getRawFlipYKey()
ColumnViewT< AmpInfoRecord > ColumnView
void setRawHorizontalOverscanBBox(geom::Box2I const &bbox)
bounding box of usable horizontal overscan pixels
static Key< Point< int > > getRawVerticalOverscanBBoxMinKey()
bool getRawFlipX() const
Convenience accessors for the keys in the minimal reference schema.
static Key< Point< int > > getRawDataBBoxExtentKey()
Key< Point< int > > rawVerticalOverscanBBoxMin
AmpInfoRecord(boost::shared_ptr< AmpInfoTable > const &table)
geom::Box2I getRawDataBBox() const
Convenience accessors for the keys in the minimal reference schema.
static Key< Flag > getHasRawInfoKey()
Key< Point< int > > bboxExtent
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.
static Key< Point< int > > getRawXYOffsetKey()
virtual boost::shared_ptr< BaseTable > _clone() const =0
Clone implementation with noncovariant return types.
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 Key< double > getReadNoiseKey()
static Key< Point< int > > getRawPrescanBBoxExtentKey()
void setReadoutCorner(ReadoutCorner val)
set readout corner
static MinimalSchema & getMinimalSchema()
static int const MAX_LINEARITY_TYPE_LENGTH
static Key< Point< int > > getBBoxMinKey()
void setBBox(geom::Box2I const &bbox)
bounding box of amplifier pixels in assembled image
static Key< int > getReadoutCornerKey()
void setLinearityType(std::string const &type)
name of linearity parameterization
static Key< std::string > getNameKey()
static Key< Point< int > > getRawPrescanBBoxMinKey()
Table of amplifier information (AmpInfoRecord records)
Base class for all tables.
Key< Point< int > > rawBBoxExtent
static Key< double > getGainKey()