34 #ifndef CalPointingRow_CLASS
35 #define CalPointingRow_CLASS
169 class CalReductionRow;
172 class CalPointingRow;
217 std::string getAntennaName()
const;
1298 Tag getCalDataId()
const;
1433 bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand
receiverBand,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime,
Temperature ambientTemperature, AntennaMakeMod::AntennaMake
antennaMake, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, std::vector<Angle >
direction, std::vector<Frequency >
frequencyRange, PointingModelModeMod::PointingModelMode
pointingModelMode, PointingMethodMod::PointingMethod
pointingMethod,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<Angle > >
collOffsetRelative, std::vector<std::vector<Angle > >
collOffsetAbsolute, std::vector<std::vector<Angle > >
collError, std::vector<std::vector<bool > >
collOffsetTied, std::vector<double >
reducedChiSquared);
1475 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime,
Temperature ambientTemperature, AntennaMakeMod::AntennaMake
antennaMake, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, std::vector<Angle >
direction, std::vector<Frequency >
frequencyRange, PointingModelModeMod::PointingModelMode
pointingModelMode, PointingMethodMod::PointingMethod
pointingMethod,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<Angle > >
collOffsetRelative, std::vector<std::vector<Angle > >
collOffsetAbsolute, std::vector<std::vector<Angle > >
collError, std::vector<std::vector<bool > >
collOffsetTied, std::vector<double >
reducedChiSquared);
1493 asdmIDL::CalPointingRowIDL *
toIDL()
const;
1502 void toIDL(asdmIDL::CalPointingRowIDL& x)
const;
1511 void setFromIDL (asdmIDL::CalPointingRowIDL x) ;
1518 std::string
toXML()
const;
1533 std::map<std::string, CalPointingAttributeFromBin>
fromBinMethods;
1585 void fromText(
const std::string& attributeName,
const std::string& t);
1640 std::string antennaName;
void atmPhaseCorrectionFromText(const std::string &s)
void peakIntensityErrorFromBin(EndianIStream &eis)
void clearPeakIntensityError()
Mark peakIntensityError, which is an optional field, as non-existent.
std::vector< double > getReducedChiSquared() const
===> Attribute reducedChiSquared
bool offIntensityErrorExists
===> Attribute offIntensityError, which is optional
bool isOffIntensityWasFixedExists() const
===> Attribute offIntensityWasFixed, which is optional
std::vector< Temperature > getOffIntensity() const
Get offIntensity, which is optional.
std::vector< Temperature > getOffIntensityError() const
Get offIntensityError, which is optional.
bool isBeamWidthErrorExists() const
===> Attribute beamWidthError, which is optional
void(CalPointingRow::* CalPointingAttributeFromBin)(EndianIStream &eis)
void pointingMethodFromBin(EndianIStream &eis)
void clearBeamWidthError()
Mark beamWidthError, which is an optional field, as non-existent.
void calDataIdFromBin(EndianIStream &eis)
*text deserialization material std::map< std::string, CalPointingAttributeFromText > fromTextMethods
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
void clearAveragedPolarizations()
Mark averagedPolarizations, which is an optional field, as non-existent.
void setBeamWidthWasFixed(std::vector< bool > beamWidthWasFixed)
Set beamWidthWasFixed with the specified std::vector<bool >.
std::vector< Temperature > peakIntensityError
void setAveragedPolarizations(bool averagedPolarizations)
Set averagedPolarizations with the specified bool.
void peakIntensityFromText(const std::string &s)
bool isBeamPAErrorExists() const
===> Attribute beamPAError, which is optional
std::vector< std::vector< bool > > getCollOffsetTied() const
===> Attribute collOffsetTied
std::vector< double > reducedChiSquared
===> Attribute reducedChiSquared
void clearOffIntensityError()
Mark offIntensityError, which is an optional field, as non-existent.
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
void setPeakIntensityWasFixed(bool peakIntensityWasFixed)
Set peakIntensityWasFixed with the specified bool.
std::vector< Temperature > peakIntensity
std::vector< bool > getBeamWidthWasFixed() const
Get beamWidthWasFixed, which is optional.
void endValidTimeFromText(const std::string &s)
void setCollOffsetRelative(std::vector< std::vector< Angle > > collOffsetRelative)
Set collOffsetRelative with the specified std::vector<std::vector<Angle > >.
void peakIntensityWasFixedFromText(const std::string &s)
bool beamPAErrorExists
===> Attribute beamPAError, which is optional
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void pointingModelModeFromBin(EndianIStream &eis)
void beamWidthWasFixedFromText(const std::string &s)
void numReceptorFromText(const std::string &s)
bool getPeakIntensityWasFixed() const
Get peakIntensityWasFixed, which is optional.
void setOffIntensityError(std::vector< Temperature > offIntensityError)
Set offIntensityError with the specified std::vector<Temperature >.
void startValidTimeFromText(const std::string &s)
void offIntensityFromBin(EndianIStream &eis)
std::vector< std::vector< Angle > > collOffsetAbsolute
===> Attribute collOffsetAbsolute
std::vector< Angle > getBeamPAError() const
Get beamPAError, which is optional.
AntennaMakeMod::AntennaMake antennaMake
===> Attribute antennaMake
void setPointingModelMode(PointingModelModeMod::PointingModelMode pointingModelMode)
Set pointingModelMode with the specified PointingModelModeMod::PointingModelMode. ...
void clearBeamPAWasFixed()
Mark beamPAWasFixed, which is an optional field, as non-existent.
void clearOffIntensityWasFixed()
Mark offIntensityWasFixed, which is an optional field, as non-existent.
void(CalPointingRow::* CalPointingAttributeFromText)(const std::string &s)
void receiverBandFromBin(EndianIStream &eis)
void clearOffIntensity()
Mark offIntensity, which is an optional field, as non-existent.
std::vector< std::vector< Angle > > collOffsetRelative
===> Attribute collOffsetRelative
void offIntensityErrorFromText(const std::string &s)
bool isAveragedPolarizationsExists() const
===> Attribute averagedPolarizations, which is optional
CalPointingRow(CalPointingTable &table)
Create a CalPointingRow.
void beamWidthWasFixedFromBin(EndianIStream &eis)
bool beamPAWasFixedExists
===> Attribute beamPAWasFixed, which is optional
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
CalPointingTable & table
The table to which this row belongs.
ArrayTime startValidTime
===> Attribute startValidTime
bool peakIntensityErrorExists
===> Attribute peakIntensityError, which is optional
std::vector< std::vector< Angle > > collError
===> Attribute collError
std::vector< bool > beamWidthWasFixed
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
Temperature ambientTemperature
===> Attribute ambientTemperature
void setBeamWidth(std::vector< std::vector< Angle > > beamWidth)
Set beamWidth with the specified std::vector<std::vector<Angle > >.
void collOffsetTiedFromText(const std::string &s)
int getNumReceptor() const
===> Attribute numReceptor
void clearBeamPA()
Mark beamPA, which is an optional field, as non-existent.
std::vector< Temperature > offIntensity
void startValidTimeFromBin(EndianIStream &eis)
std::vector< std::vector< Angle > > getCollOffsetRelative() const
===> Attribute collOffsetRelative
PointingModelModeMod::PointingModelMode getPointingModelMode() const
===> Attribute pointingModelMode
The Temperature class implements a quantity of temperature in degrees Kelvin.
void collOffsetRelativeFromText(const std::string &s)
void ambientTemperatureFromBin(EndianIStream &eis)
void polarizationTypesFromBin(EndianIStream &eis)
bool peakIntensityWasFixedExists
===> Attribute peakIntensityWasFixed, which is optional
void clearPeakIntensityWasFixed()
Mark peakIntensityWasFixed, which is an optional field, as non-existent.
void frequencyRangeFromBin(EndianIStream &eis)
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===> Attribute atmPhaseCorrection
int numReceptor
===> Attribute numReceptor
bool offIntensityWasFixed
void peakIntensityWasFixedFromBin(EndianIStream &eis)
std::vector< std::vector< Angle > > beamWidth
bool beamPAExists
===> Attribute beamPA, which is optional
void offIntensityWasFixedFromText(const std::string &s)
std::string toXML() const
Return this row in the form of an XML string.
void setPeakIntensity(std::vector< Temperature > peakIntensity)
Set peakIntensity with the specified std::vector<Temperature >.
void calReductionIdFromText(const std::string &s)
void clearBeamWidth()
Mark beamWidth, which is an optional field, as non-existent.
bool isAdded() const
Has this row been added to its table ?
PointingMethodMod::PointingMethod pointingMethod
===> Attribute pointingMethod
Tag calReductionId
===> Attribute calReductionId
void beamWidthErrorFromText(const std::string &s)
bool isBeamWidthExists() const
===> Attribute beamWidth, which is optional
void setPointingMethod(PointingMethodMod::PointingMethod pointingMethod)
Set pointingMethod with the specified PointingMethodMod::PointingMethod.
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void directionFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
The CalPointingRow class is a row of a CalPointingTable.
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
PointingModelModeMod::PointingModelMode pointingModelMode
===> Attribute pointingModelMode
std::vector< std::vector< Angle > > getCollError() const
===> Attribute collError
bool isPeakIntensityErrorExists() const
===> Attribute peakIntensityError, which is optional
void averagedPolarizationsFromBin(EndianIStream &eis)
void offIntensityFromText(const std::string &s)
void collOffsetAbsoluteFromBin(EndianIStream &eis)
std::vector< Angle > direction
===> Attribute direction
void setPeakIntensityError(std::vector< Temperature > peakIntensityError)
Set peakIntensityError with the specified std::vector<Temperature >.
bool isBeamPAWasFixedExists() const
===> Attribute beamPAWasFixed, which is optional
bool isBeamWidthWasFixedExists() const
===> Attribute beamWidthWasFixed, which is optional
bool beamWidthWasFixedExists
===> Attribute beamWidthWasFixed, which is optional
bool peakIntensityExists
===> Attribute peakIntensity, which is optional
void setBeamPA(std::vector< Angle > beamPA)
Set beamPA with the specified std::vector<Angle >.
void collOffsetRelativeFromBin(EndianIStream &eis)
bool offIntensityWasFixedExists
===> Attribute offIntensityWasFixed, which is optional
bool averagedPolarizationsExists
===> Attribute averagedPolarizations, which is optional
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AntennaMakeMod::AntennaMake antennaMake, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, PointingModelModeMod::PointingModelMode pointingModelMode, PointingMethodMod::PointingMethod pointingMethod, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< Angle > > collOffsetRelative, std::vector< std::vector< Angle > > collOffsetAbsolute, std::vector< std::vector< Angle > > collError, std::vector< std::vector< bool > > collOffsetTied, std::vector< double > reducedChiSquared)
Compare each mandatory attribute except the autoincrementable one of this CalPointingRow with the cor...
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
ArrayTime endValidTime
===> Attribute endValidTime
std::vector< Angle > beamPAError
std::vector< std::vector< Angle > > getBeamWidth() const
Get beamWidth, which is optional.
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void setCollOffsetAbsolute(std::vector< std::vector< Angle > > collOffsetAbsolute)
Set collOffsetAbsolute with the specified std::vector<std::vector<Angle > >.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::vector< std::vector< Angle > > getCollOffsetAbsolute() const
===> Attribute collOffsetAbsolute
bool beamWidthExists
===> Attribute beamWidth, which is optional
void offIntensityErrorFromBin(EndianIStream &eis)
void clearBeamWidthWasFixed()
Mark beamWidthWasFixed, which is an optional field, as non-existent.
void antennaMakeFromBin(EndianIStream &eis)
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector<Angle >.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void beamPAFromBin(EndianIStream &eis)
void setCollError(std::vector< std::vector< Angle > > collError)
Set collError with the specified std::vector<std::vector<Angle > >.
void atmPhaseCorrectionFromBin(EndianIStream &eis)
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
void averagedPolarizationsFromText(const std::string &s)
CalPointingTable & getTable() const
Return the table to which this row belongs.
bool isOffIntensityExists() const
===> Attribute offIntensity, which is optional
void polarizationTypesFromText(const std::string &s)
std::vector< Temperature > getPeakIntensityError() const
Get peakIntensityError, which is optional.
virtual ~CalPointingRow()
friend class asdm::TableStreamReader<CalPointingTable, CalPointingRow>;
bool offIntensityExists
===> Attribute offIntensity, which is optional
bool averagedPolarizations
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void collOffsetAbsoluteFromText(const std::string &s)
bool isPeakIntensityExists() const
===> Attribute peakIntensity, which is optional
void antennaNameFromText(const std::string &s)
bool getAveragedPolarizations() const
Get averagedPolarizations, which is optional.
void calReductionIdFromBin(EndianIStream &eis)
void beamWidthFromText(const std::string &s)
void clearPeakIntensity()
Mark peakIntensity, which is an optional field, as non-existent.
void collOffsetTiedFromBin(EndianIStream &eis)
bool getBeamPAWasFixed() const
Get beamPAWasFixed, which is optional.
void beamPAErrorFromBin(EndianIStream &eis)
void receiverBandFromText(const std::string &s)
void collErrorFromBin(EndianIStream &eis)
PointingMethodMod::PointingMethod getPointingMethod() const
===> Attribute pointingMethod
The CalPointingTable class is an Alma table.
void pointingMethodFromText(const std::string &s)
void setFromIDL(asdmIDL::CalPointingRowIDL x)
Fill the values of this row from the IDL struct CalPointingRowIDL.
void reducedChiSquaredFromBin(EndianIStream &eis)
void beamWidthErrorFromBin(EndianIStream &eis)
void beamPAFromText(const std::string &s)
void directionFromBin(EndianIStream &eis)
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
void beamWidthFromBin(EndianIStream &eis)
void numReceptorFromBin(EndianIStream &eis)
void setOffIntensityWasFixed(bool offIntensityWasFixed)
Set offIntensityWasFixed with the specified bool.
void frequencyRangeFromText(const std::string &s)
void clearBeamPAError()
Mark beamPAError, which is an optional field, as non-existent.
bool beamWidthErrorExists
===> Attribute beamWidthError, which is optional
void reducedChiSquaredFromText(const std::string &s)
bool isBeamPAExists() const
===> Attribute beamPA, which is optional
Tag getCalReductionId() const
===> Attribute calReductionId
AntennaMakeMod::AntennaMake getAntennaMake() const
===> Attribute antennaMake
std::vector< Angle > beamPA
std::vector< std::vector< Angle > > beamWidthError
void setBeamPAWasFixed(bool beamPAWasFixed)
Set beamPAWasFixed with the specified bool.
The CalDataRow class is a row of a CalDataTable.
std::vector< Angle > getDirection() const
===> Attribute direction
void peakIntensityErrorFromText(const std::string &s)
void setBeamWidthError(std::vector< std::vector< Angle > > beamWidthError)
Set beamWidthError with the specified std::vector<std::vector<Angle > >.
void antennaMakeFromText(const std::string &s)
ArrayTime getStartValidTime() const
===> Attribute startValidTime
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
std::vector< Temperature > getPeakIntensity() const
Get peakIntensity, which is optional.
std::vector< std::vector< bool > > collOffsetTied
===> Attribute collOffsetTied
void setReducedChiSquared(std::vector< double > reducedChiSquared)
Set reducedChiSquared with the specified std::vector<double >.
void pointingModelModeFromText(const std::string &s)
void offIntensityWasFixedFromBin(EndianIStream &eis)
std::vector< std::vector< Angle > > getBeamWidthError() const
Get beamWidthError, which is optional.
bool isPeakIntensityWasFixedExists() const
===> Attribute peakIntensityWasFixed, which is optional
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void peakIntensityFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalPointingAttributeFromBin > fromBinMethods
bool getOffIntensityWasFixed() const
Get offIntensityWasFixed, which is optional.
void setCollOffsetTied(std::vector< std::vector< bool > > collOffsetTied)
Set collOffsetTied with the specified std::vector<std::vector<bool > >.
std::vector< Temperature > offIntensityError
void setAmbientTemperature(Temperature ambientTemperature)
Set ambientTemperature with the specified Temperature.
bool equalByRequiredValue(CalPointingRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
std::vector< Angle > getBeamPA() const
Get beamPA, which is optional.
Temperature getAmbientTemperature() const
===> Attribute ambientTemperature
void beamPAErrorFromText(const std::string &s)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
void beamPAWasFixedFromText(const std::string &s)
void antennaNameFromBin(EndianIStream &eis)
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
void calDataIdFromText(const std::string &s)
void collErrorFromText(const std::string &s)
asdmIDL::CalPointingRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void endValidTimeFromBin(EndianIStream &eis)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void setBeamPAError(std::vector< Angle > beamPAError)
Set beamPAError with the specified std::vector<Angle >.
bool isOffIntensityErrorExists() const
===> Attribute offIntensityError, which is optional
void setOffIntensity(std::vector< Temperature > offIntensity)
Set offIntensity with the specified std::vector<Temperature >.
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AntennaMakeMod::AntennaMake antennaMake, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, PointingModelModeMod::PointingModelMode pointingModelMode, PointingMethodMod::PointingMethod pointingMethod, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< Angle > > collOffsetRelative, std::vector< std::vector< Angle > > collOffsetAbsolute, std::vector< std::vector< Angle > > collError, std::vector< std::vector< bool > > collOffsetTied, std::vector< double > reducedChiSquared)
Compare each mandatory value (i.e.
void ambientTemperatureFromText(const std::string &s)
bool hasBeenAdded
Whether this row has been added to the table or not.
bool peakIntensityWasFixed
void beamPAWasFixedFromBin(EndianIStream &eis)