25 #ifndef COMPONENTS_SKYCOMPONENTFACTORY_H
26 #define COMPONENTS_SKYCOMPONENTFACTORY_H
36 template <
class T>
class ImageInterface;
37 template <
class T>
class Vector;
184 #ifndef AIPS_NO_TEMPLATE_SRC
185 #include <components/ComponentModels/SkyComponentFactory2.tcc>
A Vector of integers, for indexing into Array<T> objects.
std::vector< double > Vector
static SkyComponent deconvolveSkyComponent(casacore::LogIO &os, const SkyComponent &skyIn, const casacore::GaussianBeam &beam)
Deconvolve SkyComponent from beam moved from ImageAnalysis.
static casacore::Quantum< casacore::Double > _pixelWidthToWorld(casacore::Double positionAngle, casacore::Double length, const casacore::CoordinateSystem &cSys, const casacore::IPosition &pixelAxes)
static casacore::Double _worldWidthToPixel(casacore::Double positionAngle, const casacore::Quantum< casacore::Double > &length, const casacore::CoordinateSystem &cSys, const casacore::IPosition &pixelAxes)
Convert a length and position angle in world units (for a non-coupled coordinate) to pixels...
Shape
The shapes of all the components.
static casacore::Bool pixelWidthsToWorld(casacore::GaussianBeam &wParameters, const casacore::Vector< casacore::Double > &pParameters, const casacore::CoordinateSystem &cSys, const casacore::IPosition &pixelAxes, casacore::Bool doRef=false)
Convert 2d shape from pixels (parameters=x,y, major axis, minor axis, position angle) to world (major...
virtual Type type()
Return the type enum.
ostream-like interface to creating log messages.
casacore::GaussianBeam Angular2DGaussian
static casacore::Vector< casacore::Double > decodeSkyComponent(const SkyComponent &sky, const casacore::ImageInfo &ii, const casacore::CoordinateSystem &cSys, const casacore::Unit &brightnessUnit, casacore::Stokes::StokesTypes stokes, casacore::Bool xIsLong)
moved from ImageAnalysis.
Represents a Gaussian restoring beam associated with an image.
StokesTypes
The Stokes types are defined by this enum.
static SkyComponent encodeSkyComponent(casacore::LogIO &os, casacore::Double &facToJy, const casacore::CoordinateSystem &cSys, const casacore::Unit &brightnessUnit, ComponentType::Shape type, const casacore::Vector< casacore::Double > ¶meters, casacore::Stokes::StokesTypes stokes, casacore::Bool xIsLong, const casacore::GaussianBeam &beam)
These functions convert between a vector of doubles holding SkyComponent values (the output from SkyC...
A base class for astronomical images.
LatticeExprNode length(const LatticeExprNode &expr, const LatticeExprNode &axis)
2-argument function to get the length of an axis.
bool Bool
Define the standard types used by Casacore.
static casacore::Bool _skyPixelWidthsToWorld(Angular2DGaussian &gauss2d, const casacore::CoordinateSystem &cSys, const casacore::Vector< casacore::Double > &pParameters, const casacore::IPosition &pixelAxes, casacore::Bool doRef)
Convert 2d sky shape (parameters=major axis, minor axis, position angle) from pixels to world at refe...
static void worldWidthsToPixel(casacore::Vector< casacore::Double > &dParameters, const casacore::Vector< casacore::Quantum< casacore::Double > > ¶meters, const casacore::CoordinateSystem &cSys, const casacore::IPosition &pixelAxes, casacore::Bool doRef=false)
Convert 2d shape from world (world parameters=x, y, major axis, minor axis, position angle) to pixel ...
A component of a model of the sky.
Miscellaneous information related to an image.
Interconvert pixel and world coordinates.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.