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

#include <ImagerMultiMS.h>

Inheritance diagram for casa::ImagerMultiMS:
casa::Imager

List of all members.

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< MeasurementSetblockMSSel_p
Bool dataSet_p

Detailed Description

Definition at line 35 of file ImagerMultiMS.h.


Constructor & Destructor Documentation

Default constructor with no ms.


Member Function Documentation

virtual Bool casa::ImagerMultiMS::lock ( ) [virtual]

Lock the ms and its subtables.

Reimplemented from casa::Imager.

open sub tables

Reimplemented from casa::Imager.

Bool casa::ImagerMultiMS::setDataOnThisMS ( MeasurementSet ms,
const String mode = "none",
const Vector< Int > &  nchan = VectorInt >(0),
const Vector< Int > &  start = VectorInt >(1, 0),
const Vector< Int > &  step = VectorInt >(1, 1),
const Vector< Int > &  spectralwindowids = VectorInt >(0),
const Vector< Int > &  fieldids = VectorInt >(0),
const String msSelect = "",
const String timerng = "",
const String fieldnames = "",
const Vector< Int > &  antIndex = VectorInt >(),
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 = VectorInt >(),
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.


Member Data Documentation

Definition at line 110 of file ImagerMultiMS.h.

Definition at line 106 of file ImagerMultiMS.h.

Definition at line 109 of file ImagerMultiMS.h.

Definition at line 107 of file ImagerMultiMS.h.

Definition at line 108 of file ImagerMultiMS.h.

Definition at line 126 of file ImagerMultiMS.h.


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