casa
$Rev:20696$
|
#include <ImagerMultiMS.h>
Public Member Functions | |
ImagerMultiMS () | |
Default constructor with no ms. | |
virtual Bool | setDataToMemory (const String &msname, const String &mode, const Vector< Int > &nchan, const Vector< Int > &start, const Vector< Int > &step, const Vector< Int > &spectralwindowids, const Vector< Int > &fieldids, const String &msSelect, const String &timerng, const String &fieldnames, const Vector< Int > &antIndex, const String &antnames, const String &spwstring, const String &uvdist, const String &scan, const String &obs="") |
Copy the sub ms to memory useful when imaging only a few channels. | |
virtual Bool | setDataPerMS (const String &msname, const String &mode, const Vector< Int > &nchan, const Vector< Int > &start, const Vector< Int > &step, const Vector< Int > &spectralwindowids, const Vector< Int > &fieldids, const String &msSelect="", const String &timerng="", const String &fieldnames="", const Vector< Int > &antIndex=Vector< Int >(), const String &antnames="", const String &spwstring="", const String &uvdist="", const String &scan="", const String &obs="", const Bool useModel=False, const Bool msreadonly=False) |
Set the data selection on for each ms seperately. | |
virtual Bool | setimage (const Int nx, const Int ny, const Quantity &cellx, const Quantity &celly, const String &stokes, Bool doShift, const MDirection &phaseCenter, const Quantity &shiftx, const Quantity &shifty, const String &mode, const Int nchan, const Int start, const Int step, const MRadialVelocity &mStart, const MRadialVelocity &mStep, const Vector< Int > &spectralwindowids, const Int fieldid, const Int facets, const Quantity &distance) |
Set image construction parameters. | |
Bool | selectDataChannel () |
virtual Bool | lock () |
Lock the ms and its subtables. | |
virtual Bool | unlock () |
Unlock the ms and its subtables. | |
virtual Bool | openSubTables () |
open sub tables | |
Protected Member Functions | |
Bool | setDataOnThisMS (MeasurementSet &ms, const String &mode="none", const Vector< Int > &nchan=Vector< Int >(0), const Vector< Int > &start=Vector< Int >(1, 0), const Vector< Int > &step=Vector< Int >(1, 1), const Vector< Int > &spectralwindowids=Vector< Int >(0), const Vector< Int > &fieldids=Vector< Int >(0), const String &msSelect="", const String &timerng="", const String &fieldnames="", const Vector< Int > &antIndex=Vector< Int >(), const String &antnames="", const String &spwstring="", const String &uvdist="", const String &scan="", const String &obs="") |
Protected Attributes | |
Block< Vector< Int > > | blockNChan_p |
Block< Vector< Int > > | blockStart_p |
Block< Vector< Int > > | blockStep_p |
Block< Vector< Int > > | blockSpw_p |
Block< MeasurementSet > | blockMSSel_p |
Bool | dataSet_p |
Definition at line 35 of file ImagerMultiMS.h.
Default constructor with no ms.
virtual Bool casa::ImagerMultiMS::lock | ( | ) | [virtual] |
Lock the ms and its subtables.
Reimplemented from casa::Imager.
virtual Bool casa::ImagerMultiMS::openSubTables | ( | ) | [virtual] |
open sub tables
Reimplemented from casa::Imager.
Bool casa::ImagerMultiMS::setDataOnThisMS | ( | MeasurementSet & | ms, |
const String & | mode = "none" , |
||
const Vector< Int > & | nchan = Vector< Int >(0) , |
||
const Vector< Int > & | start = Vector< Int >(1, 0) , |
||
const Vector< Int > & | step = Vector< Int >(1, 1) , |
||
const Vector< Int > & | spectralwindowids = Vector< Int >(0) , |
||
const Vector< Int > & | fieldids = Vector< Int >(0) , |
||
const String & | msSelect = "" , |
||
const String & | timerng = "" , |
||
const String & | fieldnames = "" , |
||
const Vector< Int > & | antIndex = Vector< Int >() , |
||
const String & | antnames = "" , |
||
const String & | spwstring = "" , |
||
const String & | uvdist = "" , |
||
const String & | scan = "" , |
||
const String & | obs = "" |
||
) | [protected] |
virtual Bool casa::ImagerMultiMS::setDataPerMS | ( | const String & | msname, |
const String & | mode, | ||
const Vector< Int > & | nchan, | ||
const Vector< Int > & | start, | ||
const Vector< Int > & | step, | ||
const Vector< Int > & | spectralwindowids, | ||
const Vector< Int > & | fieldids, | ||
const String & | msSelect = "" , |
||
const String & | timerng = "" , |
||
const String & | fieldnames = "" , |
||
const Vector< Int > & | antIndex = Vector< Int >() , |
||
const String & | antnames = "" , |
||
const String & | spwstring = "" , |
||
const String & | uvdist = "" , |
||
const String & | scan = "" , |
||
const String & | obs = "" , |
||
const Bool | useModel = False , |
||
const Bool | msreadonly = False |
||
) | [virtual] |
Set the data selection on for each ms seperately.
Reimplemented from casa::Imager.
virtual Bool casa::ImagerMultiMS::setDataToMemory | ( | const String & | msname, |
const String & | mode, | ||
const Vector< Int > & | nchan, | ||
const Vector< Int > & | start, | ||
const Vector< Int > & | step, | ||
const Vector< Int > & | spectralwindowids, | ||
const Vector< Int > & | fieldids, | ||
const String & | msSelect, | ||
const String & | timerng, | ||
const String & | fieldnames, | ||
const Vector< Int > & | antIndex, | ||
const String & | antnames, | ||
const String & | spwstring, | ||
const String & | uvdist, | ||
const String & | scan, | ||
const String & | obs = "" |
||
) | [virtual] |
Copy the sub ms to memory useful when imaging only a few channels.
virtual Bool casa::ImagerMultiMS::setimage | ( | const Int | nx, |
const Int | ny, | ||
const Quantity & | cellx, | ||
const Quantity & | celly, | ||
const String & | stokes, | ||
Bool | doShift, | ||
const MDirection & | phaseCenter, | ||
const Quantity & | shiftx, | ||
const Quantity & | shifty, | ||
const String & | mode, | ||
const Int | nchan, | ||
const Int | start, | ||
const Int | step, | ||
const MRadialVelocity & | mStart, | ||
const MRadialVelocity & | mStep, | ||
const Vector< Int > & | spectralwindowids, | ||
const Int | fieldid, | ||
const Int | facets, | ||
const Quantity & | distance | ||
) | [virtual] |
Set image construction parameters.
Reimplemented from casa::Imager.
virtual Bool casa::ImagerMultiMS::unlock | ( | ) | [virtual] |
Unlock the ms and its subtables.
Reimplemented from casa::Imager.
Block<MeasurementSet> casa::ImagerMultiMS::blockMSSel_p [protected] |
Definition at line 110 of file ImagerMultiMS.h.
Block<Vector<Int> > casa::ImagerMultiMS::blockNChan_p [protected] |
Definition at line 106 of file ImagerMultiMS.h.
Block<Vector<Int> > casa::ImagerMultiMS::blockSpw_p [protected] |
Definition at line 109 of file ImagerMultiMS.h.
Block<Vector<Int> > casa::ImagerMultiMS::blockStart_p [protected] |
Definition at line 107 of file ImagerMultiMS.h.
Block<Vector<Int> > casa::ImagerMultiMS::blockStep_p [protected] |
Definition at line 108 of file ImagerMultiMS.h.
Bool casa::ImagerMultiMS::dataSet_p [protected] |
Definition at line 126 of file ImagerMultiMS.h.