casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::MS2ASDM Class Reference

MS2ASDM provides functionalities to create an ASDM (ALMA science data model) from an existing MS. More...

#include <MS2ASDM.h>

Inheritance diagram for casa::MS2ASDM:
casa::ROMSColumns casa::ROMSColumns casa::ROMSMainColumns casa::ROMSMainColumns

List of all members.

Public Member Functions

 MS2ASDM (MeasurementSet &ms)
 construct from an MS
 ~MS2ASDM ()
const Stringshowversion ()
void setVerbosity (const uInt verbosity=2)
 set verbosity of the write methods
void setBaseUid (const String &baseuid)
const StringgetBaseUid ()
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::AngleASDMAngleV (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 Stringshowversion ()
void setVerbosity (const uInt verbosity=2)
 set verbosity of the write methods
void setBaseUid (const String &baseuid)
const StringgetBaseUid ()
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::AngleASDMAngleV (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::ASDMASDM_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::TagasdmAntennaId_p
SimpleOrderedMap< Int, asdm::TagasdmSpectralWindowId_p
SimpleOrderedMap< Int, asdm::TagasdmPolarizationId_p
SimpleOrderedMap< Int, asdm::TagasdmProcessorId_p
SimpleOrderedMap< Int, asdm::TagasdmFieldId_p
SimpleOrderedMap< Int, asdm::TagasdmEphemerisId_p
SimpleOrderedMap< Int, asdm::TagasdmDataDescriptionId_p
SimpleOrderedMap< Int, asdm::TagasdmStateId_p
SimpleOrderedMap< uInt, asdm::TagasdmConfigDescriptionId_p
SimpleOrderedMap< Int, asdm::TagasdmSBSummaryId_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

Detailed Description

MS2ASDM provides functionalities to create an ASDM (ALMA science data model) from an existing MS.

<visibility=export>

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Definition at line 78 of file MS2ASDM.h.


Constructor & Destructor Documentation

construct from an MS

construct from an MS


Member Function Documentation

convert MDirection to a vector of Angles

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]

Definition at line 188 of file MS2ASDM.h.

asdm::Complex casa::MS2ASDM::ASDMComplex ( casa::Complex  x) [inline]

Definition at line 188 of file MS2ASDM.h.

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)

convert CASA Stokes to ASDM Stokes

StokesParameterMod::StokesParameter casa::MS2ASDM::ASDMStokesParameter ( Stokes::StokesTypes  s)

convert CASA Stokes to ASDM Stokes

convert MS style time interval to ASDM ArrayTimeInterval

convert MS style time interval to ASDM ArrayTimeInterval

Definition at line 120 of file MS2ASDM.h.

References dataIsAPCorrected_p.

Definition at line 120 of file MS2ASDM.h.

References dataIsAPCorrected_p.

const std::string& casa::MS2ASDM::getCurrentUid ( )
const std::string& casa::MS2ASDM::getCurrentUid ( )

return currentUid_p with all ":" and "/" characters replaced by "_"

return currentUid_p with all ":" and "/" characters replaced by "_"

void casa::MS2ASDM::getObservatoryName ( String telName) [inline]

Definition at line 125 of file MS2ASDM.h.

References telName_p.

void casa::MS2ASDM::getObservatoryName ( String telName) [inline]

Definition at line 125 of file MS2ASDM.h.

References telName_p.

get maximum duration of a Scheduling Block in seconds

Definition at line 115 of file MS2ASDM.h.

References schedBlockDuration_p.

get maximum duration of a Scheduling Block in seconds

Definition at line 115 of file MS2ASDM.h.

References schedBlockDuration_p.

get maximum duration of a subscan in seconds

Definition at line 108 of file MS2ASDM.h.

References subscanDuration_p.

get maximum duration of a subscan in seconds

Definition at line 108 of file MS2ASDM.h.

References subscanDuration_p.

*** Private member functions ***

*** Private member functions ***

Double casa::MS2ASDM::MSTimeSecs ( const ArrayTime  atime) [inline]

convert array time to time in seconds

Definition at line 139 of file MS2ASDM.h.

Double casa::MS2ASDM::MSTimeSecs ( const ArrayTime  atime) [inline]

convert array time to time in seconds

Definition at line 139 of file MS2ASDM.h.

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]

Definition at line 122 of file MS2ASDM.h.

References telName_p.

void casa::MS2ASDM::setObservatoryName ( const String telName) [inline]

Definition at line 122 of file MS2ASDM.h.

References telName_p.

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]

set verbosity of the write methods

Definition at line 91 of file MS2ASDM.h.

References verbosity_p.

void casa::MS2ASDM::setVerbosity ( const uInt  verbosity = 2) [inline]

set verbosity of the write methods

Definition at line 91 of file MS2ASDM.h.

References verbosity_p.

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().

Definition at line 180 of file MS2ASDM.h.

References String, and asdm::Angle::unit().

Definition at line 180 of file MS2ASDM.h.

References String, and asdm::Angle::unit().

Definition at line 182 of file MS2ASDM.h.

References String, and asdm::AngularRate::unit().

Definition at line 182 of file MS2ASDM.h.

References String, and asdm::AngularRate::unit().

Definition at line 178 of file MS2ASDM.h.

References String, and asdm::Frequency::unit().

Definition at line 178 of file MS2ASDM.h.

References String, and asdm::Frequency::unit().

Definition at line 184 of file MS2ASDM.h.

References String, and asdm::Length::unit().

Definition at line 184 of file MS2ASDM.h.

References String, and asdm::Length::unit().

Definition at line 186 of file MS2ASDM.h.

References String, and asdm::Temperature::unit().

Definition at line 186 of file MS2ASDM.h.

References String, and asdm::Temperature::unit().

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::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)

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.

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.


Member Data Documentation

Definition at line 281 of file MS2ASDM.h.

Definition at line 310 of file MS2ASDM.h.

Definition at line 318 of file MS2ASDM.h.

Definition at line 316 of file MS2ASDM.h.

Definition at line 307 of file MS2ASDM.h.

Definition at line 315 of file MS2ASDM.h.

Definition at line 320 of file MS2ASDM.h.

Definition at line 321 of file MS2ASDM.h.

Definition at line 314 of file MS2ASDM.h.

Definition at line 323 of file MS2ASDM.h.

Definition at line 312 of file MS2ASDM.h.

Definition at line 313 of file MS2ASDM.h.

Definition at line 319 of file MS2ASDM.h.

Definition at line 322 of file MS2ASDM.h.

Definition at line 311 of file MS2ASDM.h.

Definition at line 317 of file MS2ASDM.h.

Definition at line 309 of file MS2ASDM.h.

string casa::MS2ASDM::asdmUID_p [private]

AtmPhaseCorrectionMod::AP_CORRECTED, false if it is AtmPhaseCorrectionMod::AP_UNCORRECTED.

Definition at line 305 of file MS2ASDM.h.

string casa::MS2ASDM::asdmVersion_p [private]

Definition at line 283 of file MS2ASDM.h.

Definition at line 287 of file MS2ASDM.h.

used to construct the UIDs: uid = baseUid_p + (runningId_p converted to unpadded hex string)

Definition at line 293 of file MS2ASDM.h.

Definition at line 301 of file MS2ASDM.h.

Referenced by dataIsAPCorrected(), and setDataAPCorrected().

*** Member variables ***

Initialized* by ctors. (Maintain order both here and in ctors.)

Definition at line 279 of file MS2ASDM.h.

i.e.

typically "uid://archiveid/rangeid/"

Definition at line 290 of file MS2ASDM.h.

Definition at line 299 of file MS2ASDM.h.

Referenced by getSBDuration(), and setSBDuration().

vector< vector< Bool > > casa::MS2ASDM::skipCorr_p [private]

Definition at line 325 of file MS2ASDM.h.

Definition at line 297 of file MS2ASDM.h.

Referenced by getSubScanDuration(), and setSubScanDuration().

Definition at line 295 of file MS2ASDM.h.

Referenced by getObservatoryName(), and setObservatoryName().

Definition at line 285 of file MS2ASDM.h.

Referenced by setVerbosity().


The documentation for this class was generated from the following files: