casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
casa::SynthesisParamsImage Class Reference

#include <SynthesisUtilMethods.h>

Inheritance diagram for casa::SynthesisParamsImage:
casa::SynthesisParams

Public Member Functions

 SynthesisParamsImage ()
 
 ~SynthesisParamsImage ()
 
void fromRecord (const casacore::Record &inrec)
 
void setDefaults ()
 
casacore::String verify () const
 
casacore::Record toRecord () const
 
casacore::CoordinateSystem buildCoordinateSystem (ROVisibilityIterator *rvi)
 Generate casacore::Coordinate System. More...
 
casacore::CoordinateSystem buildCoordinateSystem (vi::VisibilityIterator2 &vi2, const std::map< casacore::Int, std::map< casacore::Int, casacore::Vector< casacore::Int > > > &chansel, casacore::Block< const casacore::MeasurementSet * > mss)
 
casacore::CoordinateSystem buildCoordinateSystemCore (casacore::MeasurementSet &msobj, casacore::Vector< casacore::Int > spwids, casacore::Int fld, casacore::Double freqmin, casacore::Double freqmax, casacore::Double datafstart, casacore::Double datafend)
 
casacore::Vector< casacore::IntdecideNPolPlanes (const casacore::String &stokes) const
 
casacore::IPosition shp () const
 
casacore::Bool getImFreq (casacore::Vector< casacore::Double > &ChanFreq, casacore::Vector< casacore::Double > &ChanWidth, casacore::Double &refPix, casacore::String &specmode, const casacore::MEpoch &obsEpoch, const casacore::MPosition &obsPosition, const casacore::Vector< casacore::Double > &dataChanFreqs, const casacore::Vector< casacore::Double > &dataFreqRes, const casacore::MFrequency::Types &dataFrame, const casacore::Quantity &qrestfreq, const casacore::Double &freqmin, const casacore::Double &freqmax, const casacore::MDirection &phaseCenter)
 
casacore::String findSpecMode (const casacore::String &mode) const
 
casacore::String MDopToVelString (casacore::Record &rec)
 
casacore::Record getcsys () const
 
casacore::Record updateParams (const casacore::Record &impar)
 check consistency of image parameters when csys record exists and update accordingly based on csys record More...
 
casacore::MDirection getMovingSourceDir (const casacore::MeasurementSet &ms, const casacore::MEpoch &refEp, const casacore::MPosition &refpos, const casacore::MDirection::Types outframe)
 get the moving source direction in frame requested More...
 
- Public Member Functions inherited from casa::SynthesisParams
 SynthesisParams ()
 
virtual ~SynthesisParams ()
 
virtual SynthesisParamsoperator= (const SynthesisParams &)
 As there is no state to copy. More...
 

Public Attributes

casacore::String imageName
 Sky coordinates. More...
 
casacore::String stokes
 
casacore::Vector
< casacore::String
startModel
 
casacore::Vector< casacore::Intimsize
 
casacore::Vector
< casacore::Quantity
cellsize
 
casacore::Projection projection
 
casacore::Bool useNCP
 
casacore::MDirection phaseCenter
 
casacore::Int phaseCenterFieldId
 
casacore::MPosition obslocation
 
casacore::Bool pseudoi
 Stokes info. More...
 
casacore::Int nchan
 Spectral coordinates (TT : Add other params here) More...
 
casacore::Int nTaylorTerms
 
casacore::Int chanStart
 
casacore::Int chanStep
 
casacore::Quantity freqStart
 
casacore::Quantity freqStep
 
casacore::Quantity refFreq
 
casacore::Quantity velStart
 
casacore::Quantity velStep
 
casacore::MFrequency::Types freqFrame
 
casacore::MFrequency mFreqStart
 
casacore::MFrequency mFreqStep
 
casacore::MRadialVelocity mVelStart
 
casacore::MRadialVelocity mVelStep
 
casacore::Vector
< casacore::Quantity
restFreq
 
casacore::String start
 
casacore::String step
 
casacore::String frame
 
casacore::String veltype
 
casacore::String mode
 
casacore::String reffreq
 
casacore::String sysvel
 
casacore::String sysvelframe
 
casacore::Quantity sysvelvalue
 
casacore::String qmframe
 private variable to store ref frame defined in casacore::Quantity or casacore::Measure in start or step parameters and veltype from measure (e.g. More...
 
casacore::String mveltype
 
casacore::String tststr
 
casacore::Record startRecord
 for holding quantity or measure records More...
 
casacore::Record stepRecord
 
casacore::Record reffreqRecord
 
casacore::Record sysvelRecord
 
casacore::Record restfreqRecord
 
casacore::Record csysRecord
 optional coordsys record More...
 
casacore::Record csys
 
casacore::Vector< casacore::Intimshape
 
casacore::Bool freqFrameValid
 freqframe coversion? More...
 
casacore::Bool overwrite
 
casacore::String deconvolver
 
casacore::Quantity distance
 moving source Moving phase center ? More...
 
casacore::MDirection trackDir
 
casacore::Bool trackSource
 
casacore::String movingSource
 

Additional Inherited Members

- Protected Member Functions inherited from casa::SynthesisParams
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::String &val) const
 All return strings are error messages. More...
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Int &val) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Float &val) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Bool &val) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Vector< casacore::Int > &val) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Vector< casacore::Float > &val) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Vector< casacore::String > &val) const
 
casacore::String stringToQuantity (casacore::String instr, casacore::Quantity &qa) const
 
casacore::String stringToMDirection (casacore::String instr, casacore::MDirection &md) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::Quantity &val) const
 
casacore::String readVal (const casacore::Record &rec, casacore::String id, casacore::MDirection &val) const
 
casacore::String MDirectionToString (casacore::MDirection val) const
 Others. More...
 
casacore::String QuantityToString (casacore::Quantity val) const
 
casacore::String recordQMToString (const casacore::Record &rec) const
 

Detailed Description

Definition at line 212 of file SynthesisUtilMethods.h.

Constructor & Destructor Documentation

casa::SynthesisParamsImage::SynthesisParamsImage ( )
casa::SynthesisParamsImage::~SynthesisParamsImage ( )

Member Function Documentation

casacore::CoordinateSystem casa::SynthesisParamsImage::buildCoordinateSystem ( ROVisibilityIterator rvi)

Generate casacore::Coordinate System.

casacore::CoordinateSystem casa::SynthesisParamsImage::buildCoordinateSystem ( vi::VisibilityIterator2 vi2,
const std::map< casacore::Int, std::map< casacore::Int, casacore::Vector< casacore::Int > > > &  chansel,
casacore::Block< const casacore::MeasurementSet * >  mss 
)
casacore::CoordinateSystem casa::SynthesisParamsImage::buildCoordinateSystemCore ( casacore::MeasurementSet msobj,
casacore::Vector< casacore::Int spwids,
casacore::Int  fld,
casacore::Double  freqmin,
casacore::Double  freqmax,
casacore::Double  datafstart,
casacore::Double  datafend 
)
casacore::Vector<casacore::Int> casa::SynthesisParamsImage::decideNPolPlanes ( const casacore::String stokes) const
casacore::String casa::SynthesisParamsImage::findSpecMode ( const casacore::String mode) const
void casa::SynthesisParamsImage::fromRecord ( const casacore::Record inrec)
virtual
casacore::Record casa::SynthesisParamsImage::getcsys ( ) const
casacore::Bool casa::SynthesisParamsImage::getImFreq ( casacore::Vector< casacore::Double > &  ChanFreq,
casacore::Vector< casacore::Double > &  ChanWidth,
casacore::Double refPix,
casacore::String specmode,
const casacore::MEpoch obsEpoch,
const casacore::MPosition obsPosition,
const casacore::Vector< casacore::Double > &  dataChanFreqs,
const casacore::Vector< casacore::Double > &  dataFreqRes,
const casacore::MFrequency::Types dataFrame,
const casacore::Quantity qrestfreq,
const casacore::Double freqmin,
const casacore::Double freqmax,
const casacore::MDirection phaseCenter 
)
casacore::MDirection casa::SynthesisParamsImage::getMovingSourceDir ( const casacore::MeasurementSet ms,
const casacore::MEpoch refEp,
const casacore::MPosition refpos,
const casacore::MDirection::Types  outframe 
)

get the moving source direction in frame requested

casacore::String casa::SynthesisParamsImage::MDopToVelString ( casacore::Record rec)
void casa::SynthesisParamsImage::setDefaults ( )
virtual

Implements casa::SynthesisParams.

casacore::IPosition casa::SynthesisParamsImage::shp ( ) const
casacore::Record casa::SynthesisParamsImage::toRecord ( ) const
virtual

Implements casa::SynthesisParams.

casacore::Record casa::SynthesisParamsImage::updateParams ( const casacore::Record impar)

check consistency of image parameters when csys record exists and update accordingly based on csys record

casacore::String casa::SynthesisParamsImage::verify ( ) const
virtual

Implements casa::SynthesisParams.

Member Data Documentation

casacore::Vector<casacore::Quantity> casa::SynthesisParamsImage::cellsize

Definition at line 258 of file SynthesisUtilMethods.h.

casacore::Int casa::SynthesisParamsImage::chanStart

Definition at line 269 of file SynthesisUtilMethods.h.

casacore::Int casa::SynthesisParamsImage::chanStep

Definition at line 269 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::csys

Definition at line 285 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::csysRecord

optional coordsys record

Definition at line 285 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::deconvolver

Definition at line 293 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::distance

moving source Moving phase center ?

Definition at line 296 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::frame

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::MFrequency::Types casa::SynthesisParamsImage::freqFrame

Definition at line 271 of file SynthesisUtilMethods.h.

casacore::Bool casa::SynthesisParamsImage::freqFrameValid

freqframe coversion?

Definition at line 289 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::freqStart

Definition at line 270 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::freqStep

Definition at line 270 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::imageName

Sky coordinates.

Definition at line 255 of file SynthesisUtilMethods.h.

casacore::Vector<casacore::Int> casa::SynthesisParamsImage::imshape

Definition at line 286 of file SynthesisUtilMethods.h.

casacore::Vector<casacore::Int> casa::SynthesisParamsImage::imsize

Definition at line 257 of file SynthesisUtilMethods.h.

casacore::MFrequency casa::SynthesisParamsImage::mFreqStart

Definition at line 272 of file SynthesisUtilMethods.h.

casacore::MFrequency casa::SynthesisParamsImage::mFreqStep

Definition at line 272 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::mode

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::movingSource

Definition at line 299 of file SynthesisUtilMethods.h.

casacore::MRadialVelocity casa::SynthesisParamsImage::mVelStart

Definition at line 273 of file SynthesisUtilMethods.h.

casacore::MRadialVelocity casa::SynthesisParamsImage::mVelStep

Definition at line 273 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::mveltype

Definition at line 280 of file SynthesisUtilMethods.h.

casacore::Int casa::SynthesisParamsImage::nchan

Spectral coordinates (TT : Add other params here)

Definition at line 269 of file SynthesisUtilMethods.h.

Referenced by casa::CubePartitionMixin< T >::get_params().

casacore::Int casa::SynthesisParamsImage::nTaylorTerms

Definition at line 269 of file SynthesisUtilMethods.h.

casacore::MPosition casa::SynthesisParamsImage::obslocation

Definition at line 263 of file SynthesisUtilMethods.h.

casacore::Bool casa::SynthesisParamsImage::overwrite

Definition at line 291 of file SynthesisUtilMethods.h.

casacore::MDirection casa::SynthesisParamsImage::phaseCenter

Definition at line 261 of file SynthesisUtilMethods.h.

casacore::Int casa::SynthesisParamsImage::phaseCenterFieldId

Definition at line 262 of file SynthesisUtilMethods.h.

casacore::Projection casa::SynthesisParamsImage::projection

Definition at line 259 of file SynthesisUtilMethods.h.

casacore::Bool casa::SynthesisParamsImage::pseudoi

Stokes info.

Definition at line 266 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::qmframe

private variable to store ref frame defined in casacore::Quantity or casacore::Measure in start or step parameters and veltype from measure (e.g.

casacore::MDoppler)

Definition at line 280 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::refFreq

Definition at line 270 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::reffreq

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::reffreqRecord

Definition at line 283 of file SynthesisUtilMethods.h.

casacore::Vector<casacore::Quantity> casa::SynthesisParamsImage::restFreq

Definition at line 274 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::restfreqRecord

Definition at line 283 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::start

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::Vector<casacore::String> casa::SynthesisParamsImage::startModel

Definition at line 256 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::startRecord

for holding quantity or measure records

Definition at line 283 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::step

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::stepRecord

Definition at line 283 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::stokes

Definition at line 255 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::sysvel

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::sysvelframe

Definition at line 275 of file SynthesisUtilMethods.h.

casacore::Record casa::SynthesisParamsImage::sysvelRecord

Definition at line 283 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::sysvelvalue

Definition at line 276 of file SynthesisUtilMethods.h.

casacore::MDirection casa::SynthesisParamsImage::trackDir

Definition at line 297 of file SynthesisUtilMethods.h.

casacore::Bool casa::SynthesisParamsImage::trackSource

Definition at line 298 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::tststr

Definition at line 281 of file SynthesisUtilMethods.h.

casacore::Bool casa::SynthesisParamsImage::useNCP

Definition at line 260 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::velStart

Definition at line 270 of file SynthesisUtilMethods.h.

casacore::Quantity casa::SynthesisParamsImage::velStep

Definition at line 270 of file SynthesisUtilMethods.h.

casacore::String casa::SynthesisParamsImage::veltype

Definition at line 275 of file SynthesisUtilMethods.h.


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