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

#include <PeakIntensityFluxDensityConverter.h>

Inheritance diagram for casa::PeakIntensityFluxDensityConverter:
casa::ImageTask

List of all members.

Public Member Functions

 PeakIntensityFluxDensityConverter (const ImageInterface< Float > *const image)
 Class for converting between peak intensity and flux density of a source of specified shape.
 ~PeakIntensityFluxDensityConverter ()
 destructor
void setSize (const Angular2DGaussian &size)
 set the source size using a GaussianShape object.
void setShape (const String &shape)
 set the component shape
void setShape (ComponentType::Shape shape)
void setBeam (Int channel, Int polarization)
 Given the channel and polarization, determine which beam in the image to use for the resolution area.
Quantity fluxDensityToPeakIntensity (Bool &hadToMakeFakeBeam, const Quantity &fluxDensity) const
Quantity peakIntensityToFluxDensity (Bool &hadToMakeFakeBeam, const Quantity &fluxDensity) const
String getClass () const

Protected Member Functions

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

Private Attributes

Angular2DGaussian _size
ComponentType::Shape _shape
GaussianBeam _beam

Detailed Description

Definition at line 40 of file PeakIntensityFluxDensityConverter.h.


Constructor & Destructor Documentation

Class for converting between peak intensity and flux density of a source of specified shape.

Etymology

Collapses image.

Synopsis

Example

Specify image to get beam and coordinate info from

destructor


Member Function Documentation

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

Implements casa::ImageTask.

Definition at line 108 of file PeakIntensityFluxDensityConverter.h.

References casa::Coordinate::DIRECTION.

Quantity casa::PeakIntensityFluxDensityConverter::fluxDensityToPeakIntensity ( Bool hadToMakeFakeBeam,
const Quantity fluxDensity 
) const

Implements casa::ImageTask.

Definition at line 98 of file PeakIntensityFluxDensityConverter.h.

Quantity casa::PeakIntensityFluxDensityConverter::peakIntensityToFluxDensity ( Bool hadToMakeFakeBeam,
const Quantity fluxDensity 
) const
void casa::PeakIntensityFluxDensityConverter::setBeam ( Int  channel,
Int  polarization 
)

Given the channel and polarization, determine which beam in the image to use for the resolution area.

set the component shape

Definition at line 82 of file PeakIntensityFluxDensityConverter.h.

References _shape, and casa::shape().

Definition at line 84 of file PeakIntensityFluxDensityConverter.h.

References _shape, and casa::shape().

set the source size using a GaussianShape object.

Note that this in itself, does not constrain the shape to be Gaussian, it is just used to set the size (and puts the burden on the caller to do sanity checking by first constructing a GaussianSource object). The position angle is not used.

Definition at line 78 of file PeakIntensityFluxDensityConverter.h.

References _size.


Member Data Documentation

Definition at line 116 of file PeakIntensityFluxDensityConverter.h.

Definition at line 115 of file PeakIntensityFluxDensityConverter.h.

Referenced by setShape().

Definition at line 114 of file PeakIntensityFluxDensityConverter.h.

Referenced by setSize().


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