casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Functions
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)

Function Documentation

Double casa::SynthesisUtils::conjFreq ( const Double &  freq,
const Double &  refFreq 
) [inline]

Definition at line 107 of file Utils.h.

References casa::sqrt().

void casa::SynthesisUtils::expandFreqSelection ( const Matrix< Double > &  freqSelection,
Matrix< Double > &  expandedFreqList,
Matrix< Double > &  expandedConjFreqList 
)
void casa::SynthesisUtils::findLatticeMax ( const Array< Complex > &  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 ImageInterface< Float > &  lattice,
Vector< Float > &  maxAbs,
Vector< IPosition > &  posMaxAbs 
)
template<class T >
T casa::SynthesisUtils::getenv ( const char *  name,
const T  defaultVal 
)
Double casa::SynthesisUtils::getRefFreq ( const VisBuffer &  vb)
template<class T >
void casa::SynthesisUtils::libreConvolver ( Array< T > &  c1,
const Array< T > &  c2 
)
void casa::SynthesisUtils::makeFTCoordSys ( const CoordinateSystem &  coords,
const Int &  convSize,
const Vector< Double > &  ftRef,
CoordinateSystem &  ftCoords 
)
Bool casa::SynthesisUtils::near ( const Double &  d1,
const Double &  d2,
const Double  EPS = 1E-6 
) [inline]

Definition at line 79 of file Utils.h.

References casa::False, and casa::True.

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

Definition at line 77 of file Utils.h.

References casa::floor().

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

Definition at line 78 of file Utils.h.

References casa::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 ( Vector< T > &  lhs,
const Vector< T > &  rhs 
) [inline]

Definition at line 86 of file Utils.h.

References casa::Vector< T >::resize(), and casa::Vector< T >::shape().

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

Definition at line 89 of file Utils.h.

References casa::Array< T >::resize(), and casa::ArrayBase::shape().