casa::ImagePrimaryBeamCorrector Class Reference

#include <ImagePrimaryBeamCorrector.h>

Inheritance diagram for casa::ImagePrimaryBeamCorrector:
casa::ImageTask< Float >

List of all members.

Public Types

enum  Mode {
  MULTIPLY,
  DIVIDE
}
 

Top level interface for primary beam correction.

More...

Public Member Functions

 ImagePrimaryBeamCorrector ()
 ImagePrimaryBeamCorrector (const SPCIIF image, const SPCIIF pbImage, const Record *const &regionPtr, const String &region, const String &box, const String &chanInp, const String &stokes, const String &maskInp, const String &outname, const Bool overwrite, const Float cutoff, const Bool useCutoff, const Mode mode)
 if outname is empty, no image will be written if overwrite is True, if image already exists it will be removed if overwrite is False, if image already exists exception will be thrown Only one of regionPtr or region<src> should be specified.
 ImagePrimaryBeamCorrector (const SPCIIF image, const Array< Float > &pbArray, const Record *const &regionPtr, const String &region, const String &box, const String &chanInp, const String &stokes, const String &maskInp, const String &outname, const Bool overwrite, const Float cutoff, const Bool useCutoff, const Mode mode)
 ~ImagePrimaryBeamCorrector ()
 destructor
SPIIF correct (const Bool wantReturn) const
 perform the correction.
String getClass () const

Protected Member Functions

vector< Coordinate::Type > _getNecessaryCoordinates () const
 Represents the minimum set of coordinates necessary for the task to function.
CasacRegionManager::StokesControl _getStokesControl () const

Private Member Functions

void _checkPBSanity ()

Private Attributes

SPIIF _pbImage
Float _cutoff
Mode _mode
Bool _useCutoff

Static Private Attributes

static const String _class

Detailed Description

Definition at line 38 of file ImagePrimaryBeamCorrector.h.


Member Enumeration Documentation

Top level interface for primary beam correction.

Etymology

Collapses image.

Synopsis

High level interface for primary beam correction.

Example

 ImagePrimaryBeamCorrector corrector(...);
 corrector.correct();
Enumerator:
MULTIPLY 
DIVIDE 

Definition at line 66 of file ImagePrimaryBeamCorrector.h.


Constructor & Destructor Documentation

casa::ImagePrimaryBeamCorrector::ImagePrimaryBeamCorrector (  ) 
casa::ImagePrimaryBeamCorrector::ImagePrimaryBeamCorrector ( const SPCIIF  image,
const SPCIIF  pbImage,
const Record *const &  regionPtr,
const String &  region,
const String &  box,
const String &  chanInp,
const String &  stokes,
const String &  maskInp,
const String &  outname,
const Bool  overwrite,
const Float  cutoff,
const Bool  useCutoff,
const Mode  mode 
)

if outname is empty, no image will be written if overwrite is True, if image already exists it will be removed if overwrite is False, if image already exists exception will be thrown Only one of regionPtr or region<src> should be specified.

casa::ImagePrimaryBeamCorrector::ImagePrimaryBeamCorrector ( const SPCIIF  image,
const Array< Float > &  pbArray,
const Record *const &  regionPtr,
const String &  region,
const String &  box,
const String &  chanInp,
const String &  stokes,
const String &  maskInp,
const String &  outname,
const Bool  overwrite,
const Float  cutoff,
const Bool  useCutoff,
const Mode  mode 
)
casa::ImagePrimaryBeamCorrector::~ImagePrimaryBeamCorrector (  ) 

destructor


Member Function Documentation

void casa::ImagePrimaryBeamCorrector::_checkPBSanity (  )  [private]
vector<Coordinate::Type> casa::ImagePrimaryBeamCorrector::_getNecessaryCoordinates (  )  const [protected, virtual]

Represents the minimum set of coordinates necessary for the task to function.

Implements casa::ImageTask< Float >.

CasacRegionManager::StokesControl casa::ImagePrimaryBeamCorrector::_getStokesControl (  )  const [protected, virtual]
SPIIF casa::ImagePrimaryBeamCorrector::correct ( const Bool  wantReturn  )  const

perform the correction.

If <src>wantReturn is True, return a pointer to the collapsed image.

String casa::ImagePrimaryBeamCorrector::getClass (  )  const [virtual]

Member Data Documentation

const String casa::ImagePrimaryBeamCorrector::_class [static, private]

Definition at line 124 of file ImagePrimaryBeamCorrector.h.

Definition at line 121 of file ImagePrimaryBeamCorrector.h.

Definition at line 122 of file ImagePrimaryBeamCorrector.h.

Definition at line 119 of file ImagePrimaryBeamCorrector.h.

Definition at line 123 of file ImagePrimaryBeamCorrector.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1