34 #ifndef CalPhaseRow_CLASS
35 #define CalPhaseRow_CLASS
155 class CalReductionRow;
203 BasebandNameMod::BasebandName getBasebandName()
const;
419 std::vector<std::vector<float > >
getAmpli()
const;
629 std::vector<std::vector<float > >
getPhase()
const;
689 std::vector<std::vector<float > >
getPhaseRMS()
const;
920 std::vector<std::vector<float > >
getPhaseAnt()
const;
999 Tag getCalDataId()
const;
1134 bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, ReceiverBandMod::ReceiverBand
receiverBand, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime,
int numBaseline,
int numReceptor, std::vector<std::vector<float > >
ampli, std::vector<std::vector<std::string > >
antennaNames, std::vector<Length >
baselineLengths, std::vector<std::vector<float > >
decorrelationFactor, std::vector<Angle >
direction, std::vector<Frequency >
frequencyRange,
Interval integrationTime, std::vector<std::vector<float > >
phase, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<float > >
phaseRMS, std::vector<std::vector<float > >
statPhaseRMS);
1174 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime,
int numBaseline,
int numReceptor, std::vector<std::vector<float > >
ampli, std::vector<std::vector<std::string > >
antennaNames, std::vector<Length >
baselineLengths, std::vector<std::vector<float > >
decorrelationFactor, std::vector<Angle >
direction, std::vector<Frequency >
frequencyRange,
Interval integrationTime, std::vector<std::vector<float > >
phase, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<float > >
phaseRMS, std::vector<std::vector<float > >
statPhaseRMS);
1192 asdmIDL::CalPhaseRowIDL *
toIDL()
const;
1201 void toIDL(asdmIDL::CalPhaseRowIDL& x)
const;
1210 void setFromIDL (asdmIDL::CalPhaseRowIDL x) ;
1217 std::string
toXML()
const;
1277 void fromText(
const std::string& attributeName,
const std::string& t);
1332 BasebandNameMod::BasebandName basebandName;
1409 std::vector<std::vector<float > >
ampli;
1486 std::vector<std::vector<float > >
phase;
void polarizationTypesFromText(const std::string &s)
asdmIDL::CalPhaseRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
int getNumAntenna() const
Get numAntenna, which is optional.
void correctionValidityFromBin(EndianIStream &eis)
std::vector< std::vector< float > > getDecorrelationFactor() const
===> Attribute decorrelationFactor
The Interval class implements an interval of time in units of nanoseconds.
void setIntegrationTime(Interval integrationTime)
Set integrationTime with the specified Interval.
std::vector< std::string > getSingleAntennaName() const
Get singleAntennaName, which is optional.
void setAmpli(std::vector< std::vector< float > > ampli)
Set ampli with the specified std::vector<std::vector<float > >.
std::string getRefAntennaName() const
Get refAntennaName, which is optional.
Interval integrationTime
===> Attribute integrationTime
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
std::vector< std::vector< std::string > > getAntennaNames() const
===> Attribute antennaNames
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===> Attribute atmPhaseCorrection
bool equalByRequiredValue(CalPhaseRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void clearRefAntennaName()
Mark refAntennaName, which is an optional field, as non-existent.
void antennaNamesFromText(const std::string &s)
std::string refAntennaName
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
ArrayTime getStartValidTime() const
===> Attribute startValidTime
Interval getIntegrationTime() const
===> Attribute integrationTime
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void clearPhaseAnt()
Mark phaseAnt, which is an optional field, as non-existent.
void endValidTimeFromBin(EndianIStream &eis)
void numReceptorFromText(const std::string &s)
void setDecorrelationFactor(std::vector< std::vector< float > > decorrelationFactor)
Set decorrelationFactor with the specified std::vector<std::vector<float > >.
bool isRefAntennaNameExists() const
===> Attribute refAntennaName, which is optional
void refAntennaNameFromBin(EndianIStream &eis)
void setStatPhaseRMS(std::vector< std::vector< float > > statPhaseRMS)
Set statPhaseRMS with the specified std::vector<std::vector<float > >.
std::vector< std::string > singleAntennaName
void phaseAntFromText(const std::string &s)
bool isPhaseAntRMSExists() const
===> Attribute phaseAntRMS, which is optional
*text deserialization material std::map< std::string, CalPhaseAttributeFromText > fromTextMethods
void setRefAntennaName(std::string refAntennaName)
Set refAntennaName with the specified std::string.
void integrationTimeFromText(const std::string &s)
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
std::vector< std::vector< float > > phaseRMS
===> Attribute phaseRMS
void ampliFromBin(EndianIStream &eis)
std::vector< std::vector< float > > getPhaseAnt() const
Get phaseAnt, which is optional.
std::vector< Angle > direction
===> Attribute direction
void setAntennaNames(std::vector< std::vector< std::string > > antennaNames)
Set antennaNames with the specified std::vector<std::vector<std::string > >.
std::vector< std::vector< float > > phaseAnt
void setPhaseRMS(std::vector< std::vector< float > > phaseRMS)
Set phaseRMS with the specified std::vector<std::vector<float > >.
void decorrelationFactorFromText(const std::string &s)
void calDataIdFromText(const std::string &s)
std::vector< std::vector< float > > getPhase() const
===> Attribute phase
void phaseAntFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void directionFromText(const std::string &s)
std::vector< std::vector< float > > getStatPhaseRMS() const
===> Attribute statPhaseRMS
void atmPhaseCorrectionFromText(const std::string &s)
std::vector< Length > getBaselineLengths() const
===> Attribute baselineLengths
int numReceptor
===> Attribute numReceptor
Links *binary deserialization material from an EndianIStream std::map< std::string, CalPhaseAttributeFromBin > fromBinMethods
void setNumBaseline(int numBaseline)
Set numBaseline with the specified int.
void baselineLengthsFromText(const std::string &s)
void polarizationTypesFromBin(EndianIStream &eis)
bool correctionValidityExists
===> Attribute correctionValidity, which is optional
void refAntennaNameFromText(const std::string &s)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void integrationTimeFromBin(EndianIStream &eis)
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
Tag calReductionId
===> Attribute calReductionId
void statPhaseRMSFromBin(EndianIStream &eis)
The CalPhaseTable class is an Alma table.
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
CalPhaseTable & table
The table to which this row belongs.
int getNumBaseline() const
===> Attribute numBaseline
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
bool refAntennaNameExists
===> Attribute refAntennaName, which is optional
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
std::vector< std::vector< float > > ampli
===> Attribute ampli
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector<Angle >.
void calDataIdFromBin(EndianIStream &eis)
void calReductionIdFromText(const std::string &s)
bool isCorrectionValidityExists() const
===> Attribute correctionValidity, which is optional
void atmPhaseCorrectionFromBin(EndianIStream &eis)
virtual ~CalPhaseRow()
friend class asdm::TableStreamReader<CalPhaseTable, CalPhaseRow>;
void phaseFromBin(EndianIStream &eis)
bool isPhaseAntExists() const
===> Attribute phaseAnt, which is optional
bool phaseAntRMSExists
===> Attribute phaseAntRMS, which is optional
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
The CalReductionRow class is a row of a CalReductionTable.
std::string toXML() const
Return this row in the form of an XML string.
bool hasBeenAdded
Whether this row has been added to the table or not.
void calReductionIdFromBin(EndianIStream &eis)
void directionFromBin(EndianIStream &eis)
void basebandNameFromText(const std::string &s)
void startValidTimeFromText(const std::string &s)
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void setFromIDL(asdmIDL::CalPhaseRowIDL x)
Fill the values of this row from the IDL struct CalPhaseRowIDL.
void baselineLengthsFromBin(EndianIStream &eis)
std::vector< bool > correctionValidity
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
void singleAntennaNameFromBin(EndianIStream &eis)
void decorrelationFactorFromBin(EndianIStream &eis)
CalPhaseTable & getTable() const
Return the table to which this row belongs.
bool isAdded() const
Has this row been added to its table ?
void phaseAntRMSFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
The CalPhaseRow class is a row of a CalPhaseTable.
int numBaseline
===> Attribute numBaseline
void(CalPhaseRow::* CalPhaseAttributeFromText)(const std::string &s)
void numBaselineFromText(const std::string &s)
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
void phaseRMSFromBin(EndianIStream &eis)
void statPhaseRMSFromText(const std::string &s)
void clearCorrectionValidity()
Mark correctionValidity, which is an optional field, as non-existent.
void receiverBandFromText(const std::string &s)
void phaseFromText(const std::string &s)
void singleAntennaNameFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
std::vector< std::vector< float > > getAmpli() const
===> Attribute ampli
void setBaselineLengths(std::vector< Length > baselineLengths)
Set baselineLengths with the specified std::vector<Length >.
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void setPhase(std::vector< std::vector< float > > phase)
Set phase with the specified std::vector<std::vector<float > >.
void(CalPhaseRow::* CalPhaseAttributeFromBin)(EndianIStream &eis)
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void clearSingleAntennaName()
Mark singleAntennaName, which is an optional field, as non-existent.
void setCorrectionValidity(std::vector< bool > correctionValidity)
Set correctionValidity with the specified std::vector<bool >.
void ampliFromText(const std::string &s)
bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, ReceiverBandMod::ReceiverBand receiverBand, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numBaseline, int numReceptor, std::vector< std::vector< float > > ampli, std::vector< std::vector< std::string > > antennaNames, std::vector< Length > baselineLengths, std::vector< std::vector< float > > decorrelationFactor, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, Interval integrationTime, std::vector< std::vector< float > > phase, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< float > > phaseRMS, std::vector< std::vector< float > > statPhaseRMS)
Compare each mandatory attribute except the autoincrementable one of this CalPhaseRow with the corres...
ArrayTime endValidTime
===> Attribute endValidTime
void correctionValidityFromText(const std::string &s)
std::vector< std::vector< float > > getPhaseRMS() const
===> Attribute phaseRMS
bool isNumAntennaExists() const
===> Attribute numAntenna, which is optional
Tag getCalReductionId() const
===> Attribute calReductionId
bool phaseAntExists
===> Attribute phaseAnt, which is optional
std::vector< Angle > getDirection() const
===> Attribute direction
void startValidTimeFromBin(EndianIStream &eis)
void phaseRMSFromText(const std::string &s)
void setPhaseAnt(std::vector< std::vector< float > > phaseAnt)
Set phaseAnt with the specified std::vector<std::vector<float > >.
The CalDataRow class is a row of a CalDataTable.
std::vector< Length > baselineLengths
===> Attribute baselineLengths
void numAntennaFromText(const std::string &s)
void numReceptorFromBin(EndianIStream &eis)
int getNumReceptor() const
===> Attribute numReceptor
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
std::vector< std::vector< std::string > > antennaNames
===> Attribute antennaNames
void frequencyRangeFromBin(EndianIStream &eis)
void antennaNamesFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void phaseAntRMSFromText(const std::string &s)
void basebandNameFromBin(EndianIStream &eis)
void endValidTimeFromText(const std::string &s)
std::vector< std::vector< float > > phase
===> Attribute phase
bool singleAntennaNameExists
===> Attribute singleAntennaName, which is optional
void setSingleAntennaName(std::vector< std::string > singleAntennaName)
Set singleAntennaName with the specified std::vector<std::string >.
void frequencyRangeFromText(const std::string &s)
ArrayTime startValidTime
===> Attribute startValidTime
void numAntennaFromBin(EndianIStream &eis)
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numBaseline, int numReceptor, std::vector< std::vector< float > > ampli, std::vector< std::vector< std::string > > antennaNames, std::vector< Length > baselineLengths, std::vector< std::vector< float > > decorrelationFactor, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, Interval integrationTime, std::vector< std::vector< float > > phase, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< float > > phaseRMS, std::vector< std::vector< float > > statPhaseRMS)
Compare each mandatory value (i.e.
void receiverBandFromBin(EndianIStream &eis)
std::vector< std::vector< float > > getPhaseAntRMS() const
Get phaseAntRMS, which is optional.
std::vector< bool > getCorrectionValidity() const
Get correctionValidity, which is optional.
std::vector< std::vector< float > > phaseAntRMS
std::vector< std::vector< float > > decorrelationFactor
===> Attribute decorrelationFactor
bool isSingleAntennaNameExists() const
===> Attribute singleAntennaName, which is optional
void setPhaseAntRMS(std::vector< std::vector< float > > phaseAntRMS)
Set phaseAntRMS with the specified std::vector<std::vector<float > >.
ArrayTime getEndValidTime() const
===> Attribute endValidTime
std::vector< std::vector< float > > statPhaseRMS
===> Attribute statPhaseRMS
CalPhaseRow(CalPhaseTable &table)
Create a CalPhaseRow.
bool numAntennaExists
===> Attribute numAntenna, which is optional
void clearNumAntenna()
Mark numAntenna, which is an optional field, as non-existent.
void clearPhaseAntRMS()
Mark phaseAntRMS, which is an optional field, as non-existent.
void numBaselineFromBin(EndianIStream &eis)