casa
$Rev:20696$
|
MS2ASDM provides functionalities to create an ASDM (ALMA science data model) from an existing MS. More...
#include <MS2ASDM.h>
Public Member Functions | |
MS2ASDM (MeasurementSet &ms) | |
construct from an MS | |
~MS2ASDM () | |
const String & | showversion () |
void | setVerbosity (const uInt verbosity=2) |
set verbosity of the write methods | |
void | setBaseUid (const String &baseuid) |
const String & | getBaseUid () |
const std::string & | getCurrentUid () |
const std::string & | getCurrentUidAsFileName () |
return currentUid_p with all ":" and "/" characters replaced by "_" | |
void | setSubScanDuration (const Double subscanDuration=24.*3600.) |
set maximum duration of a subscan in seconds, 0. | |
Double | getSubScanDuration () |
get maximum duration of a subscan in seconds | |
void | setSBDuration (const Double sBDuration=2700.) |
set maximum duration of a Scheduling Block in seconds | |
Double | getSBDuration () |
get maximum duration of a Scheduling Block in seconds | |
void | setDataAPCorrected (const Bool isCorrected=True) |
Bool | dataIsAPCorrected () |
void | setObservatoryName (const String &telName) |
void | getObservatoryName (String &telName) |
StokesParameterMod::StokesParameter | ASDMStokesParameter (Stokes::StokesTypes s) |
convert CASA Stokes to ASDM Stokes | |
AntennaTypeMod::AntennaType | ASDMAntennaType (const String &type) |
convert CASA antenna type string to ASDM antenna type enum | |
ArrayTime | ASDMArrayTime (const Double seconds) |
convert time in seconds to an array time | |
Double | MSTimeSecs (const ArrayTime atime) |
convert array time to time in seconds | |
asdm::Interval | ASDMInterval (const Double seconds) |
asdm::ArrayTimeInterval | ASDMTimeInterval (const Quantity midpoint, const Quantity interval) |
convert MS style time interval to ASDM ArrayTimeInterval | |
Double | timestampStartSecs (const uInt mainTabRow) |
return start of MS main table timestamp (seconds) | |
Double | timestampEndSecs (const uInt mainTabRow) |
return end of MS main table timestamp (seconds) | |
vector< asdm::Angle > | ASDMAngleV (const MDirection mDir) |
convert MDirection to a vector of Angles | |
DirectionReferenceCodeMod::DirectionReferenceCode | ASDMDirRefCode (const MDirection::Types type) |
convert MDirection type to ASDM DirectionReferenceCode | |
BasebandNameMod::BasebandName | ASDMBBName (const Int bbcNo) |
convert a base band converter number to an ASDM base band name | |
NetSidebandMod::NetSideband | ASDMNetSideBand (const Int netSideband) |
convert a MS net sideband no. | |
Int | setRecBands (const asdm::Frequency refFreq, Double &frequency, ReceiverBandMod::ReceiverBand &frequencyBand, ReceiverSidebandMod::ReceiverSideband &receiverSideband) |
set a representative frequency, the receiver band and receiver sideband based on a frequency refFreq and the previously set observatory name telName_p, return the band id as an Int (1 to 10), -1 if refFreq is outside ALMA bands but observatory is ALMA, 0 if observatory not ALMA | |
FrequencyReferenceCodeMod::FrequencyReferenceCode | ASDMFreqRefCode (const MFrequency::Types refFrame) |
Unit | unitASDMFreq () |
Unit | unitASDMAngle () |
Unit | unitASDMAngularRate () |
Unit | unitASDMLength () |
Unit | unitASDMTemp () |
asdm::Complex | ASDMComplex (casa::Complex x) |
Bool | writeASDM (const String &asdmfile="", const String &datacolumn="data", const String &archiveid="S0", const String &rangeid="X1", const Bool verbose=True, const Double maxSubscanDuration=24.*3600., const Double maxSchedBlockDuration=2700., const Bool msDataIsAPCorrected=True) |
write the entire ASDM from scratch | |
MS2ASDM (MeasurementSet &ms) | |
construct from an MS | |
~MS2ASDM () | |
const String & | showversion () |
void | setVerbosity (const uInt verbosity=2) |
set verbosity of the write methods | |
void | setBaseUid (const String &baseuid) |
const String & | getBaseUid () |
const std::string & | getCurrentUid () |
const std::string & | getCurrentUidAsFileName () |
return currentUid_p with all ":" and "/" characters replaced by "_" | |
void | setSubScanDuration (const Double subscanDuration=24.*3600.) |
set maximum duration of a subscan in seconds, 0. | |
Double | getSubScanDuration () |
get maximum duration of a subscan in seconds | |
void | setSBDuration (const Double sBDuration=2700.) |
set maximum duration of a Scheduling Block in seconds | |
Double | getSBDuration () |
get maximum duration of a Scheduling Block in seconds | |
void | setDataAPCorrected (const Bool isCorrected=True) |
Bool | dataIsAPCorrected () |
void | setObservatoryName (const String &telName) |
void | getObservatoryName (String &telName) |
StokesParameterMod::StokesParameter | ASDMStokesParameter (Stokes::StokesTypes s) |
convert CASA Stokes to ASDM Stokes | |
AntennaTypeMod::AntennaType | ASDMAntennaType (const String &type) |
convert CASA antenna type string to ASDM antenna type enum | |
ArrayTime | ASDMArrayTime (const Double seconds) |
convert time in seconds to an array time | |
Double | MSTimeSecs (const ArrayTime atime) |
convert array time to time in seconds | |
asdm::Interval | ASDMInterval (const Double seconds) |
asdm::ArrayTimeInterval | ASDMTimeInterval (const Quantity midpoint, const Quantity interval) |
convert MS style time interval to ASDM ArrayTimeInterval | |
Double | timestampStartSecs (const uInt mainTabRow) |
return start of MS main table timestamp (seconds) | |
Double | timestampEndSecs (const uInt mainTabRow) |
return end of MS main table timestamp (seconds) | |
vector< asdm::Angle > | ASDMAngleV (const MDirection mDir) |
convert MDirection to a vector of Angles | |
DirectionReferenceCodeMod::DirectionReferenceCode | ASDMDirRefCode (const MDirection::Types type) |
convert MDirection type to ASDM DirectionReferenceCode | |
BasebandNameMod::BasebandName | ASDMBBName (const Int bbcNo) |
convert a base band converter number to an ASDM base band name | |
NetSidebandMod::NetSideband | ASDMNetSideBand (const Int netSideband) |
convert a MS net sideband no. | |
Int | setRecBands (const asdm::Frequency refFreq, Double &frequency, ReceiverBandMod::ReceiverBand &frequencyBand, ReceiverSidebandMod::ReceiverSideband &receiverSideband) |
set a representative frequency, the receiver band and receiver sideband based on a frequency refFreq and the previously set observatory name telName_p, return the band id as an Int (1 to 10), -1 if refFreq is outside ALMA bands but observatory is ALMA, 0 if observatory not ALMA | |
FrequencyReferenceCodeMod::FrequencyReferenceCode | ASDMFreqRefCode (const MFrequency::Types refFrame) |
Unit | unitASDMFreq () |
Unit | unitASDMAngle () |
Unit | unitASDMAngularRate () |
Unit | unitASDMLength () |
Unit | unitASDMTemp () |
asdm::Complex | ASDMComplex (casa::Complex x) |
Bool | writeASDM (const String &asdmfile="", const String &datacolumn="data", const String &archiveid="S0", const String &rangeid="X1", const Bool verbose=True, const Double maxSubscanDuration=24.*3600., const Double maxSchedBlockDuration=2700., const Bool msDataIsAPCorrected=True) |
write the entire ASDM from scratch | |
Private Member Functions | |
Bool | incrementUid () |
*** Private member functions *** | |
Bool | setDirectory (const String &asdmfile) |
Bool | writeStation () |
Bool | writeAntenna () |
Bool | writeSpectralWindow () |
Bool | writeSource () |
Bool | writePolarization () |
Bool | writeCorrelatorMode () |
Bool | writeAlmaRadiometer () |
Bool | writeHolography () |
Bool | writeProcessor () |
Bool | writeField () |
Bool | writeReceiver () |
Bool | writeFeed () |
Bool | writeDataDescription () |
Bool | writeSwitchCycle () |
Bool | writeState () |
Bool | writeSysCal () |
Bool | writeConfigDescription () |
Bool | writeSBSummaryAndExecBlockStubs () |
Scheme 1) We regard one MS Observation as a set of ASDM ExecBlocks modelled on a single ASDM Scheduling Block 2) ALMA ExecBlocks are at most 30 minutes long. | |
Bool | writeMainAndScanAndSubScan (const String &datacolumn) |
with information from the APDM | |
Int | writeMainBinSubScanForOneDDIdFIdPair (const Int theDDId, const Int theFieldId, const String &datacolumn, const uInt theScan, const uInt theSubScan, const uInt startRow, const uInt endRow, const asdm::Tag eBlockId, int &datasize, asdm::EntityRef &dataOid, vector< asdm::Tag > &stateId) |
write the Main binary data for one DataDescId/FieldId pair and one SubScan (return number of integrations written and set the last three parameters in the list) | |
Bool | writePointingModel () |
Bool | writePointing () |
Bool | stokesTypePresent (const Vector< Int > corrT, const Stokes::StokesTypes st) |
*** Aux. | |
Bool | incrementUid () |
*** Private member functions *** | |
Bool | setDirectory (const String &asdmfile) |
Bool | writeStation () |
Bool | writeAntenna () |
Bool | writeSpectralWindow () |
Bool | writeSource () |
Bool | writePolarization () |
Bool | writeCorrelatorMode () |
Bool | writeAlmaRadiometer () |
Bool | writeHolography () |
Bool | writeProcessor () |
Bool | writeField () |
Bool | writeReceiver () |
Bool | writeFeed () |
Bool | writeDataDescription () |
Bool | writeSwitchCycle () |
Bool | writeState () |
Bool | writeSysCal () |
Bool | writeConfigDescription () |
Bool | writeSBSummaryAndExecBlockStubs () |
Scheme 1) We regard one MS Observation as a set of ASDM ExecBlocks modelled on a single ASDM Scheduling Block 2) ALMA ExecBlocks are at most 30 minutes long. | |
Bool | writeMainAndScanAndSubScan (const String &datacolumn) |
with information from the APDM | |
Int | writeMainBinSubScanForOneDDIdFIdPair (const Int theDDId, const Int theFieldId, const String &datacolumn, const uInt theScan, const uInt theSubScan, const uInt startRow, const uInt endRow, const asdm::Tag eBlockId, int &datasize, asdm::EntityRef &dataOid, vector< asdm::Tag > &stateId) |
write the Main binary data for one DataDescId/FieldId pair and one SubScan (return number of integrations written and set the last three parameters in the list) | |
Bool | writePointingModel () |
Bool | writePointing () |
Bool | stokesTypePresent (const Vector< Int > corrT, const Stokes::StokesTypes st) |
*** Aux. | |
Private Attributes | |
MeasurementSet | ms_p |
*** Member variables *** | |
asdm::ASDM * | ASDM_p |
string | asdmVersion_p |
uInt | verbosity_p |
String | baseUid_p |
uInt | runningId_p |
i.e. | |
String | currentUid_p |
used to construct the UIDs: uid = baseUid_p + (runningId_p converted to unpadded hex string) | |
String | telName_p |
Double | subscanDuration_p |
Double | schedBlockDuration_p |
Bool | dataIsAPCorrected_p |
string | asdmUID_p |
AtmPhaseCorrectionMod::AP_CORRECTED, false if it is AtmPhaseCorrectionMod::AP_UNCORRECTED. | |
String | asdmDir_p |
SimpleOrderedMap< String, asdm::Tag > | asdmStationId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmAntennaId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmSpectralWindowId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmPolarizationId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmProcessorId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmFieldId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmEphemerisId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmDataDescriptionId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmStateId_p |
SimpleOrderedMap< uInt, asdm::Tag > | asdmConfigDescriptionId_p |
SimpleOrderedMap< Int, asdm::Tag > | asdmSBSummaryId_p |
SimpleOrderedMap< Double, asdm::Tag > | asdmExecBlockId_p |
SimpleOrderedMap< Int, int > | asdmFeedId_p |
SimpleOrderedMap< Int, int > | asdmSourceId_p |
SimpleOrderedMap< asdm::Tag, int > | asdmPointingModelId_p |
vector< vector< Bool > > | skipCorr_p |
MS2ASDM provides functionalities to create an ASDM (ALMA science data model) from an existing MS.
casa::MS2ASDM::MS2ASDM | ( | MeasurementSet & | ms | ) |
construct from an MS
casa::MS2ASDM::MS2ASDM | ( | MeasurementSet & | ms | ) |
construct from an MS
vector< asdm::Angle > casa::MS2ASDM::ASDMAngleV | ( | const MDirection | mDir | ) |
convert MDirection to a vector of Angles
vector< asdm::Angle > casa::MS2ASDM::ASDMAngleV | ( | const MDirection | mDir | ) |
convert MDirection to a vector of Angles
AntennaTypeMod::AntennaType casa::MS2ASDM::ASDMAntennaType | ( | const String & | type | ) |
convert CASA antenna type string to ASDM antenna type enum
AntennaTypeMod::AntennaType casa::MS2ASDM::ASDMAntennaType | ( | const String & | type | ) |
convert CASA antenna type string to ASDM antenna type enum
ArrayTime casa::MS2ASDM::ASDMArrayTime | ( | const Double | seconds | ) | [inline] |
convert time in seconds to an array time
Definition at line 135 of file MS2ASDM.h.
References casa::floor().
ArrayTime casa::MS2ASDM::ASDMArrayTime | ( | const Double | seconds | ) | [inline] |
convert time in seconds to an array time
Definition at line 135 of file MS2ASDM.h.
References casa::floor().
BasebandNameMod::BasebandName casa::MS2ASDM::ASDMBBName | ( | const Int | bbcNo | ) |
convert a base band converter number to an ASDM base band name
BasebandNameMod::BasebandName casa::MS2ASDM::ASDMBBName | ( | const Int | bbcNo | ) |
convert a base band converter number to an ASDM base band name
asdm::Complex casa::MS2ASDM::ASDMComplex | ( | casa::Complex | x | ) | [inline] |
asdm::Complex casa::MS2ASDM::ASDMComplex | ( | casa::Complex | x | ) | [inline] |
DirectionReferenceCodeMod::DirectionReferenceCode casa::MS2ASDM::ASDMDirRefCode | ( | const MDirection::Types | type | ) |
convert MDirection type to ASDM DirectionReferenceCode
DirectionReferenceCodeMod::DirectionReferenceCode casa::MS2ASDM::ASDMDirRefCode | ( | const MDirection::Types | type | ) |
convert MDirection type to ASDM DirectionReferenceCode
FrequencyReferenceCodeMod::FrequencyReferenceCode casa::MS2ASDM::ASDMFreqRefCode | ( | const MFrequency::Types | refFrame | ) |
FrequencyReferenceCodeMod::FrequencyReferenceCode casa::MS2ASDM::ASDMFreqRefCode | ( | const MFrequency::Types | refFrame | ) |
asdm::Interval casa::MS2ASDM::ASDMInterval | ( | const Double | seconds | ) | [inline] |
Definition at line 142 of file MS2ASDM.h.
References casa::floor().
asdm::Interval casa::MS2ASDM::ASDMInterval | ( | const Double | seconds | ) | [inline] |
Definition at line 142 of file MS2ASDM.h.
References casa::floor().
NetSidebandMod::NetSideband casa::MS2ASDM::ASDMNetSideBand | ( | const Int | netSideband | ) |
convert a MS net sideband no.
to an ASDM enum
NetSidebandMod::NetSideband casa::MS2ASDM::ASDMNetSideBand | ( | const Int | netSideband | ) |
convert a MS net sideband no.
to an ASDM enum
StokesParameterMod::StokesParameter casa::MS2ASDM::ASDMStokesParameter | ( | Stokes::StokesTypes | s | ) |
StokesParameterMod::StokesParameter casa::MS2ASDM::ASDMStokesParameter | ( | Stokes::StokesTypes | s | ) |
asdm::ArrayTimeInterval casa::MS2ASDM::ASDMTimeInterval | ( | const Quantity | midpoint, |
const Quantity | interval | ||
) |
convert MS style time interval to ASDM ArrayTimeInterval
asdm::ArrayTimeInterval casa::MS2ASDM::ASDMTimeInterval | ( | const Quantity | midpoint, |
const Quantity | interval | ||
) |
convert MS style time interval to ASDM ArrayTimeInterval
Bool casa::MS2ASDM::dataIsAPCorrected | ( | ) | [inline] |
Definition at line 120 of file MS2ASDM.h.
References dataIsAPCorrected_p.
Bool casa::MS2ASDM::dataIsAPCorrected | ( | ) | [inline] |
Definition at line 120 of file MS2ASDM.h.
References dataIsAPCorrected_p.
const String& casa::MS2ASDM::getBaseUid | ( | ) |
const String& casa::MS2ASDM::getBaseUid | ( | ) |
const std::string& casa::MS2ASDM::getCurrentUid | ( | ) |
const std::string& casa::MS2ASDM::getCurrentUid | ( | ) |
const std::string& casa::MS2ASDM::getCurrentUidAsFileName | ( | ) |
return currentUid_p with all ":" and "/" characters replaced by "_"
const std::string& casa::MS2ASDM::getCurrentUidAsFileName | ( | ) |
return currentUid_p with all ":" and "/" characters replaced by "_"
void casa::MS2ASDM::getObservatoryName | ( | String & | telName | ) | [inline] |
void casa::MS2ASDM::getObservatoryName | ( | String & | telName | ) | [inline] |
Double casa::MS2ASDM::getSBDuration | ( | ) | [inline] |
get maximum duration of a Scheduling Block in seconds
Definition at line 115 of file MS2ASDM.h.
References schedBlockDuration_p.
Double casa::MS2ASDM::getSBDuration | ( | ) | [inline] |
get maximum duration of a Scheduling Block in seconds
Definition at line 115 of file MS2ASDM.h.
References schedBlockDuration_p.
Double casa::MS2ASDM::getSubScanDuration | ( | ) | [inline] |
get maximum duration of a subscan in seconds
Definition at line 108 of file MS2ASDM.h.
References subscanDuration_p.
Double casa::MS2ASDM::getSubScanDuration | ( | ) | [inline] |
get maximum duration of a subscan in seconds
Definition at line 108 of file MS2ASDM.h.
References subscanDuration_p.
Bool casa::MS2ASDM::incrementUid | ( | ) | [private] |
*** Private member functions ***
Bool casa::MS2ASDM::incrementUid | ( | ) | [private] |
*** Private member functions ***
Double casa::MS2ASDM::MSTimeSecs | ( | const ArrayTime | atime | ) | [inline] |
Double casa::MS2ASDM::MSTimeSecs | ( | const ArrayTime | atime | ) | [inline] |
void casa::MS2ASDM::setBaseUid | ( | const String & | baseuid | ) |
void casa::MS2ASDM::setBaseUid | ( | const String & | baseuid | ) |
void casa::MS2ASDM::setDataAPCorrected | ( | const Bool | isCorrected = True | ) | [inline] |
Definition at line 117 of file MS2ASDM.h.
References dataIsAPCorrected_p.
void casa::MS2ASDM::setDataAPCorrected | ( | const Bool | isCorrected = True | ) | [inline] |
Definition at line 117 of file MS2ASDM.h.
References dataIsAPCorrected_p.
Bool casa::MS2ASDM::setDirectory | ( | const String & | asdmfile | ) | [private] |
Bool casa::MS2ASDM::setDirectory | ( | const String & | asdmfile | ) | [private] |
void casa::MS2ASDM::setObservatoryName | ( | const String & | telName | ) | [inline] |
void casa::MS2ASDM::setObservatoryName | ( | const String & | telName | ) | [inline] |
Int casa::MS2ASDM::setRecBands | ( | const asdm::Frequency | refFreq, |
Double & | frequency, | ||
ReceiverBandMod::ReceiverBand & | frequencyBand, | ||
ReceiverSidebandMod::ReceiverSideband & | receiverSideband | ||
) |
set a representative frequency, the receiver band and receiver sideband based on a frequency refFreq and the previously set observatory name telName_p, return the band id as an Int (1 to 10), -1 if refFreq is outside ALMA bands but observatory is ALMA, 0 if observatory not ALMA
Int casa::MS2ASDM::setRecBands | ( | const asdm::Frequency | refFreq, |
Double & | frequency, | ||
ReceiverBandMod::ReceiverBand & | frequencyBand, | ||
ReceiverSidebandMod::ReceiverSideband & | receiverSideband | ||
) |
set a representative frequency, the receiver band and receiver sideband based on a frequency refFreq and the previously set observatory name telName_p, return the band id as an Int (1 to 10), -1 if refFreq is outside ALMA bands but observatory is ALMA, 0 if observatory not ALMA
void casa::MS2ASDM::setSBDuration | ( | const Double | sBDuration = 2700. | ) | [inline] |
set maximum duration of a Scheduling Block in seconds
Definition at line 111 of file MS2ASDM.h.
References schedBlockDuration_p.
void casa::MS2ASDM::setSBDuration | ( | const Double | sBDuration = 2700. | ) | [inline] |
set maximum duration of a Scheduling Block in seconds
Definition at line 111 of file MS2ASDM.h.
References schedBlockDuration_p.
void casa::MS2ASDM::setSubScanDuration | ( | const Double | subscanDuration = 24.*3600. | ) | [inline] |
set maximum duration of a subscan in seconds, 0.
== no time limit
Definition at line 104 of file MS2ASDM.h.
References subscanDuration_p.
void casa::MS2ASDM::setSubScanDuration | ( | const Double | subscanDuration = 24.*3600. | ) | [inline] |
set maximum duration of a subscan in seconds, 0.
== no time limit
Definition at line 104 of file MS2ASDM.h.
References subscanDuration_p.
void casa::MS2ASDM::setVerbosity | ( | const uInt | verbosity = 2 | ) | [inline] |
void casa::MS2ASDM::setVerbosity | ( | const uInt | verbosity = 2 | ) | [inline] |
const String& casa::MS2ASDM::showversion | ( | ) |
const String& casa::MS2ASDM::showversion | ( | ) |
Bool casa::MS2ASDM::stokesTypePresent | ( | const Vector< Int > | corrT, |
const Stokes::StokesTypes | st | ||
) | [private] |
*** Aux.
methods ***
check if vector corrT already contains a stokes type equivalent to st
Bool casa::MS2ASDM::stokesTypePresent | ( | const Vector< Int > | corrT, |
const Stokes::StokesTypes | st | ||
) | [private] |
*** Aux.
methods ***
check if vector corrT already contains a stokes type equivalent to st
Double casa::MS2ASDM::timestampEndSecs | ( | const uInt | mainTabRow | ) | [inline] |
return end of MS main table timestamp (seconds)
Definition at line 153 of file MS2ASDM.h.
References casa::ROMSMainColumns::intervalQuant(), and casa::ROMSMainColumns::timeQuant().
Double casa::MS2ASDM::timestampEndSecs | ( | const uInt | mainTabRow | ) | [inline] |
return end of MS main table timestamp (seconds)
Definition at line 153 of file MS2ASDM.h.
References casa::ROMSMainColumns::intervalQuant(), and casa::ROMSMainColumns::timeQuant().
Double casa::MS2ASDM::timestampStartSecs | ( | const uInt | mainTabRow | ) | [inline] |
return start of MS main table timestamp (seconds)
Definition at line 149 of file MS2ASDM.h.
References casa::ROMSMainColumns::intervalQuant(), and casa::ROMSMainColumns::timeQuant().
Double casa::MS2ASDM::timestampStartSecs | ( | const uInt | mainTabRow | ) | [inline] |
return start of MS main table timestamp (seconds)
Definition at line 149 of file MS2ASDM.h.
References casa::ROMSMainColumns::intervalQuant(), and casa::ROMSMainColumns::timeQuant().
Unit casa::MS2ASDM::unitASDMAngle | ( | ) | [inline] |
Definition at line 180 of file MS2ASDM.h.
References String, and asdm::Angle::unit().
Unit casa::MS2ASDM::unitASDMAngle | ( | ) | [inline] |
Definition at line 180 of file MS2ASDM.h.
References String, and asdm::Angle::unit().
Unit casa::MS2ASDM::unitASDMAngularRate | ( | ) | [inline] |
Definition at line 182 of file MS2ASDM.h.
References String, and asdm::AngularRate::unit().
Unit casa::MS2ASDM::unitASDMAngularRate | ( | ) | [inline] |
Definition at line 182 of file MS2ASDM.h.
References String, and asdm::AngularRate::unit().
Unit casa::MS2ASDM::unitASDMFreq | ( | ) | [inline] |
Definition at line 178 of file MS2ASDM.h.
References String, and asdm::Frequency::unit().
Unit casa::MS2ASDM::unitASDMFreq | ( | ) | [inline] |
Definition at line 178 of file MS2ASDM.h.
References String, and asdm::Frequency::unit().
Unit casa::MS2ASDM::unitASDMLength | ( | ) | [inline] |
Definition at line 184 of file MS2ASDM.h.
References String, and asdm::Length::unit().
Unit casa::MS2ASDM::unitASDMLength | ( | ) | [inline] |
Definition at line 184 of file MS2ASDM.h.
References String, and asdm::Length::unit().
Unit casa::MS2ASDM::unitASDMTemp | ( | ) | [inline] |
Definition at line 186 of file MS2ASDM.h.
References String, and asdm::Temperature::unit().
Unit casa::MS2ASDM::unitASDMTemp | ( | ) | [inline] |
Definition at line 186 of file MS2ASDM.h.
References String, and asdm::Temperature::unit().
Bool casa::MS2ASDM::writeAlmaRadiometer | ( | ) | [private] |
Bool casa::MS2ASDM::writeAlmaRadiometer | ( | ) | [private] |
Bool casa::MS2ASDM::writeAntenna | ( | ) | [private] |
Bool casa::MS2ASDM::writeAntenna | ( | ) | [private] |
Bool casa::MS2ASDM::writeASDM | ( | const String & | asdmfile = "" , |
const String & | datacolumn = "data" , |
||
const String & | archiveid = "S0" , |
||
const String & | rangeid = "X1" , |
||
const Bool | verbose = True , |
||
const Double | maxSubscanDuration = 24.*3600. , |
||
const Double | maxSchedBlockDuration = 2700. , |
||
const Bool | msDataIsAPCorrected = True |
||
) |
write the entire ASDM from scratch
Bool casa::MS2ASDM::writeASDM | ( | const String & | asdmfile = "" , |
const String & | datacolumn = "data" , |
||
const String & | archiveid = "S0" , |
||
const String & | rangeid = "X1" , |
||
const Bool | verbose = True , |
||
const Double | maxSubscanDuration = 24.*3600. , |
||
const Double | maxSchedBlockDuration = 2700. , |
||
const Bool | msDataIsAPCorrected = True |
||
) |
write the entire ASDM from scratch
Bool casa::MS2ASDM::writeConfigDescription | ( | ) | [private] |
Bool casa::MS2ASDM::writeConfigDescription | ( | ) | [private] |
Bool casa::MS2ASDM::writeCorrelatorMode | ( | ) | [private] |
Bool casa::MS2ASDM::writeCorrelatorMode | ( | ) | [private] |
Bool casa::MS2ASDM::writeDataDescription | ( | ) | [private] |
Bool casa::MS2ASDM::writeDataDescription | ( | ) | [private] |
Bool casa::MS2ASDM::writeFeed | ( | ) | [private] |
Bool casa::MS2ASDM::writeFeed | ( | ) | [private] |
Bool casa::MS2ASDM::writeField | ( | ) | [private] |
Bool casa::MS2ASDM::writeField | ( | ) | [private] |
Bool casa::MS2ASDM::writeHolography | ( | ) | [private] |
Bool casa::MS2ASDM::writeHolography | ( | ) | [private] |
Bool casa::MS2ASDM::writeMainAndScanAndSubScan | ( | const String & | datacolumn | ) | [private] |
with information from the APDM
Bool casa::MS2ASDM::writeMainAndScanAndSubScan | ( | const String & | datacolumn | ) | [private] |
with information from the APDM
Int casa::MS2ASDM::writeMainBinSubScanForOneDDIdFIdPair | ( | const Int | theDDId, |
const Int | theFieldId, | ||
const String & | datacolumn, | ||
const uInt | theScan, | ||
const uInt | theSubScan, | ||
const uInt | startRow, | ||
const uInt | endRow, | ||
const asdm::Tag | eBlockId, | ||
int & | datasize, | ||
asdm::EntityRef & | dataOid, | ||
vector< asdm::Tag > & | stateId | ||
) | [private] |
write the Main binary data for one DataDescId/FieldId pair and one SubScan (return number of integrations written and set the last three parameters in the list)
Int casa::MS2ASDM::writeMainBinSubScanForOneDDIdFIdPair | ( | const Int | theDDId, |
const Int | theFieldId, | ||
const String & | datacolumn, | ||
const uInt | theScan, | ||
const uInt | theSubScan, | ||
const uInt | startRow, | ||
const uInt | endRow, | ||
const asdm::Tag | eBlockId, | ||
int & | datasize, | ||
asdm::EntityRef & | dataOid, | ||
vector< asdm::Tag > & | stateId | ||
) | [private] |
write the Main binary data for one DataDescId/FieldId pair and one SubScan (return number of integrations written and set the last three parameters in the list)
Bool casa::MS2ASDM::writePointing | ( | ) | [private] |
Bool casa::MS2ASDM::writePointing | ( | ) | [private] |
Bool casa::MS2ASDM::writePointingModel | ( | ) | [private] |
Bool casa::MS2ASDM::writePointingModel | ( | ) | [private] |
Bool casa::MS2ASDM::writePolarization | ( | ) | [private] |
Bool casa::MS2ASDM::writePolarization | ( | ) | [private] |
Bool casa::MS2ASDM::writeProcessor | ( | ) | [private] |
Bool casa::MS2ASDM::writeProcessor | ( | ) | [private] |
Bool casa::MS2ASDM::writeReceiver | ( | ) | [private] |
Bool casa::MS2ASDM::writeReceiver | ( | ) | [private] |
Bool casa::MS2ASDM::writeSBSummaryAndExecBlockStubs | ( | ) | [private] |
Scheme 1) We regard one MS Observation as a set of ASDM ExecBlocks modelled on a single ASDM Scheduling Block 2) ALMA ExecBlocks are at most 30 minutes long.
If an MS Observation is more than 30 Minutes long, it is split up into several ASDM ExecBlocks each referring to the same Scheduling Block. 3) Each ASDM ExecBlock contains one or more ASDM Scans based on the MS scans 4) Each ASDM Scan contains one or more ASDM Subscans 5) Each ASDM Subscan is at most subscanduration long. (external parameter) 6) If an MS Scan is longer than subscanduration, it is split up into several ASDM subscans.
Bool casa::MS2ASDM::writeSBSummaryAndExecBlockStubs | ( | ) | [private] |
Scheme 1) We regard one MS Observation as a set of ASDM ExecBlocks modelled on a single ASDM Scheduling Block 2) ALMA ExecBlocks are at most 30 minutes long.
If an MS Observation is more than 30 Minutes long, it is split up into several ASDM ExecBlocks each referring to the same Scheduling Block. 3) Each ASDM ExecBlock contains one or more ASDM Scans based on the MS scans 4) Each ASDM Scan contains one or more ASDM Subscans 5) Each ASDM Subscan is at most subscanduration long. (external parameter) 6) If an MS Scan is longer than subscanduration, it is split up into several ASDM subscans.
Bool casa::MS2ASDM::writeSource | ( | ) | [private] |
Bool casa::MS2ASDM::writeSource | ( | ) | [private] |
Bool casa::MS2ASDM::writeSpectralWindow | ( | ) | [private] |
Bool casa::MS2ASDM::writeSpectralWindow | ( | ) | [private] |
Bool casa::MS2ASDM::writeState | ( | ) | [private] |
Bool casa::MS2ASDM::writeState | ( | ) | [private] |
Bool casa::MS2ASDM::writeStation | ( | ) | [private] |
Bool casa::MS2ASDM::writeStation | ( | ) | [private] |
Bool casa::MS2ASDM::writeSwitchCycle | ( | ) | [private] |
Bool casa::MS2ASDM::writeSwitchCycle | ( | ) | [private] |
Bool casa::MS2ASDM::writeSysCal | ( | ) | [private] |
Bool casa::MS2ASDM::writeSysCal | ( | ) | [private] |
asdm::ASDM * casa::MS2ASDM::ASDM_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmAntennaId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmDataDescriptionId_p [private] |
String casa::MS2ASDM::asdmDir_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmEphemerisId_p [private] |
SimpleOrderedMap< Double, asdm::Tag > casa::MS2ASDM::asdmExecBlockId_p [private] |
SimpleOrderedMap< Int, int > casa::MS2ASDM::asdmFeedId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmFieldId_p [private] |
SimpleOrderedMap< asdm::Tag, int > casa::MS2ASDM::asdmPointingModelId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmPolarizationId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmProcessorId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmSBSummaryId_p [private] |
SimpleOrderedMap< Int, int > casa::MS2ASDM::asdmSourceId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmSpectralWindowId_p [private] |
SimpleOrderedMap< Int, asdm::Tag > casa::MS2ASDM::asdmStateId_p [private] |
SimpleOrderedMap< String, asdm::Tag > casa::MS2ASDM::asdmStationId_p [private] |
string casa::MS2ASDM::asdmUID_p [private] |
string casa::MS2ASDM::asdmVersion_p [private] |
String casa::MS2ASDM::baseUid_p [private] |
String casa::MS2ASDM::currentUid_p [private] |
Bool casa::MS2ASDM::dataIsAPCorrected_p [private] |
Definition at line 301 of file MS2ASDM.h.
Referenced by dataIsAPCorrected(), and setDataAPCorrected().
MeasurementSet casa::MS2ASDM::ms_p [private] |
uInt casa::MS2ASDM::runningId_p [private] |
Double casa::MS2ASDM::schedBlockDuration_p [private] |
Definition at line 299 of file MS2ASDM.h.
Referenced by getSBDuration(), and setSBDuration().
vector< vector< Bool > > casa::MS2ASDM::skipCorr_p [private] |
Double casa::MS2ASDM::subscanDuration_p [private] |
Definition at line 297 of file MS2ASDM.h.
Referenced by getSubScanDuration(), and setSubScanDuration().
String casa::MS2ASDM::telName_p [private] |
Definition at line 295 of file MS2ASDM.h.
Referenced by getObservatoryName(), and setObservatoryName().
uInt casa::MS2ASDM::verbosity_p [private] |
Definition at line 285 of file MS2ASDM.h.
Referenced by setVerbosity().