casa
$Rev:20696$
|
#include <PeakIntensityFluxDensityConverter.h>
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 |
Definition at line 40 of file PeakIntensityFluxDensityConverter.h.
casa::PeakIntensityFluxDensityConverter::PeakIntensityFluxDensityConverter | ( | const ImageInterface< Float > *const | image | ) |
vector<Coordinate::Type> casa::PeakIntensityFluxDensityConverter::_getNecessaryCoordinates | ( | ) | const [inline, protected, virtual] |
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.
CasacRegionManager::StokesControl casa::PeakIntensityFluxDensityConverter::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask.
Definition at line 104 of file PeakIntensityFluxDensityConverter.h.
References casa::CasacRegionManager::USE_ALL_STOKES.
Quantity casa::PeakIntensityFluxDensityConverter::fluxDensityToPeakIntensity | ( | Bool & | hadToMakeFakeBeam, |
const Quantity & | fluxDensity | ||
) | const |
String casa::PeakIntensityFluxDensityConverter::getClass | ( | ) | const [inline, virtual] |
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.
void casa::PeakIntensityFluxDensityConverter::setShape | ( | const String & | shape | ) | [inline] |
set the component shape
Definition at line 82 of file PeakIntensityFluxDensityConverter.h.
References _shape, and casa::shape().
void casa::PeakIntensityFluxDensityConverter::setShape | ( | ComponentType::Shape | shape | ) | [inline] |
Definition at line 84 of file PeakIntensityFluxDensityConverter.h.
References _shape, and casa::shape().
void casa::PeakIntensityFluxDensityConverter::setSize | ( | const Angular2DGaussian & | size | ) | [inline] |
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.
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().