casa::SynthesisUtils Namespace Reference

Functions

void rotateComplexArray (LogIO &logIO, Array< Complex > &inArray, CoordinateSystem &inCS, Array< Complex > &outArray, Double dAngleRad, String interpMathod=String("CUBIC"), Bool modifyInCS=True)
void findLatticeMax (const Array< Complex > &lattice, Vector< Float > &maxAbs, Vector< IPosition > &posMaxAbs)
void findLatticeMax (const ImageInterface< Complex > &lattice, Vector< Float > &maxAbs, Vector< IPosition > &posMaxAbs)
void findLatticeMax (const ImageInterface< Float > &lattice, Vector< Float > &maxAbs, Vector< IPosition > &posMaxAbs)
Int nint (const Double &v)
Int nint (const Float &v)
Bool near (const Double &d1, const Double &d2, const Double EPS=1E-6)
template<class T >
void SETVEC (Vector< T > &lhs, const Vector< T > &rhs)
template<class T >
void SETVEC (Array< T > &lhs, const Array< T > &rhs)
template<class T >
getenv (const char *name, const T defaultVal)
Float libreSpheroidal (Float nu)
Double getRefFreq (const VisBuffer &vb)
void makeFTCoordSys (const CoordinateSystem &coords, const Int &convSize, const Vector< Double > &ftRef, CoordinateSystem &ftCoords)
void expandFreqSelection (const Matrix< Double > &freqSelection, Matrix< Double > &expandedFreqList, Matrix< Double > &expandedConjFreqList)
template<class T >
void libreConvolver (Array< T > &c1, const Array< T > &c2)
Double conjFreq (const Double &freq, const Double &refFreq)
Double nearestValue (const Vector< Double > &list, const Double &val, Int &index)
template<class T >
stdNearestValue (const vector< T > &list, const T &val, Int &index)
CoordinateSystem makeUVCoords (CoordinateSystem &imageCoordSys, IPosition &shape)
Vector< Int > mapSpwIDToDDID (const VisBuffer &vb, const Int &spwID)
Vector< Int > mapSpwIDToPolID (const VisBuffer &vb, const Int &spwID)
void calcIntersection (const Int blc1[2], const Int trc1[2], const Float blc2[2], const Float trc2[2], Float blc[2], Float trc[2])
Bool checkIntersection (const Int blc1[2], const Int trc1[2], const Float blc2[2], const Float trc2[2])
String mjdToString (Time &mjd)
template<class Iterator >
Iterator Unique (Iterator first, Iterator last)
void showCS (const CoordinateSystem &cs, ostream &os, const String &msg=String())

Function Documentation

void casa::SynthesisUtils::calcIntersection ( const Int  blc1[2],
const Int  trc1[2],
const Float  blc2[2],
const Float  trc2[2],
Float  blc[2],
Float  trc[2] 
)
Bool casa::SynthesisUtils::checkIntersection ( const Int  blc1[2],
const Int  trc1[2],
const Float  blc2[2],
const Float  trc2[2] 
)
Double casa::SynthesisUtils::conjFreq ( const Double &  freq,
const Double &  refFreq 
) [inline]

Definition at line 109 of file Utils.h.

References casacore::sqrt().

void casa::SynthesisUtils::expandFreqSelection ( const Matrix< Double > &  freqSelection,
Matrix< Double > &  expandedFreqList,
Matrix< Double > &  expandedConjFreqList 
)
void casa::SynthesisUtils::findLatticeMax ( const ImageInterface< Float > &  lattice,
Vector< Float > &  maxAbs,
Vector< IPosition > &  posMaxAbs 
)
void casa::SynthesisUtils::findLatticeMax ( const ImageInterface< Complex > &  lattice,
Vector< Float > &  maxAbs,
Vector< IPosition > &  posMaxAbs 
)
void casa::SynthesisUtils::findLatticeMax ( const Array< Complex > &  lattice,
Vector< Float > &  maxAbs,
Vector< IPosition > &  posMaxAbs 
)
template<class T >
T casa::SynthesisUtils::getenv ( const char *  name,
const T  defaultVal 
) [inline]
Double casa::SynthesisUtils::getRefFreq ( const VisBuffer &  vb  ) 
template<class T >
void casa::SynthesisUtils::libreConvolver ( Array< T > &  c1,
const Array< T > &  c2 
) [inline]
Float casa::SynthesisUtils::libreSpheroidal ( Float  nu  ) 
void casa::SynthesisUtils::makeFTCoordSys ( const CoordinateSystem &  coords,
const Int &  convSize,
const Vector< Double > &  ftRef,
CoordinateSystem &  ftCoords 
)
CoordinateSystem casa::SynthesisUtils::makeUVCoords ( CoordinateSystem &  imageCoordSys,
IPosition &  shape 
)
Vector<Int> casa::SynthesisUtils::mapSpwIDToDDID ( const VisBuffer &  vb,
const Int &  spwID 
)
Vector<Int> casa::SynthesisUtils::mapSpwIDToPolID ( const VisBuffer &  vb,
const Int &  spwID 
)
String casa::SynthesisUtils::mjdToString ( Time mjd  ) 
Bool casa::SynthesisUtils::near ( const Double &  d1,
const Double &  d2,
const Double  EPS = 1E-6 
) [inline]

Definition at line 81 of file Utils.h.

References casacore::False, and casacore::True.

Double casa::SynthesisUtils::nearestValue ( const Vector< Double > &  list,
const Double &  val,
Int &  index 
)
Int casa::SynthesisUtils::nint ( const Float &  v  )  [inline]

Definition at line 80 of file Utils.h.

References casacore::floor().

Int casa::SynthesisUtils::nint ( const Double &  v  )  [inline]

Definition at line 79 of file Utils.h.

References casacore::floor().

void casa::SynthesisUtils::rotateComplexArray ( LogIO &  logIO,
Array< Complex > &  inArray,
CoordinateSystem &  inCS,
Array< Complex > &  outArray,
Double  dAngleRad,
String  interpMathod = String("CUBIC"),
Bool  modifyInCS = True 
)
template<class T >
void casa::SynthesisUtils::SETVEC ( Array< T > &  lhs,
const Array< T > &  rhs 
) [inline]

Definition at line 91 of file Utils.h.

template<class T >
void casa::SynthesisUtils::SETVEC ( Vector< T > &  lhs,
const Vector< T > &  rhs 
) [inline]

Definition at line 88 of file Utils.h.

void casa::SynthesisUtils::showCS ( const CoordinateSystem &  cs,
ostream &  os,
const String &  msg = String() 
)
template<class T >
T casa::SynthesisUtils::stdNearestValue ( const vector< T > &  list,
const T &  val,
Int &  index 
) [inline]
template<class Iterator >
Iterator casa::SynthesisUtils::Unique ( Iterator  first,
Iterator  last 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1