#include <PeakIntensityFluxDensityConverter.h>
Public Member Functions | |
PeakIntensityFluxDensityConverter (const SPCIIF image) | |
Specify image to get beam and coordinate info from. | |
~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 SPCIIF | image | ) |
Specify image to get beam and coordinate info from.
casa::PeakIntensityFluxDensityConverter::~PeakIntensityFluxDensityConverter | ( | ) |
destructor
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< Float >.
Definition at line 109 of file PeakIntensityFluxDensityConverter.h.
CasacRegionManager::StokesControl casa::PeakIntensityFluxDensityConverter::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask< Float >.
Definition at line 105 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< Float >.
Definition at line 99 of file PeakIntensityFluxDensityConverter.h.
References String.
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 | ( | ComponentType::Shape | shape | ) | [inline] |
Definition at line 85 of file PeakIntensityFluxDensityConverter.h.
References _shape.
void casa::PeakIntensityFluxDensityConverter::setShape | ( | const String & | shape | ) | [inline] |
set the component shape
Definition at line 83 of file PeakIntensityFluxDensityConverter.h.
References _shape, and casacore::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 79 of file PeakIntensityFluxDensityConverter.h.
References _size.
GaussianBeam casa::PeakIntensityFluxDensityConverter::_beam [private] |
Definition at line 117 of file PeakIntensityFluxDensityConverter.h.
Definition at line 116 of file PeakIntensityFluxDensityConverter.h.
Referenced by setShape().
Angular2DGaussian casa::PeakIntensityFluxDensityConverter::_size [private] |
Definition at line 115 of file PeakIntensityFluxDensityConverter.h.
Referenced by setSize().