ltl::WCS< N > Class Template Reference

Base class for intermediate WCs calculation. More...

List of all members.

Public Member Functions

Static Protected Member Functions

Protected Attributes


Detailed Description

template<int N>
class ltl::WCS< N >

Base class for intermediate WCs calculation.

Angles in WCS are deg due to FITS standard requirements. Within CCS angles must be transposed to rad because of libmath. External return methods should deliver again deg. Sorry for the inconvenience, not my fault.


Constructor & Destructor Documentation

template<int N>
ltl::WCS< N >::WCS ( const FVector< double, N > &  crpix_in,
const FMatrix< double, N, N > &  pc_in,
const FVector< double, N > &  cdelt_in 
) [inline]

full scheme


Member Function Documentation

template<int N>
FVector<double, N> ltl::WCS< N >::x_ ( const FVector< double, N > &  p  )  const [inline]

return intermediate WCs

template<int N>
FVector<double, N> ltl::WCS< N >::p_ ( const FVector< double, N > &  x  )  const [inline]

calculate orig. coordinates from intermed WCs (slow version!)

template<int N>
static double ltl::WCS< N >::deg2rad ( const double  deg  )  [inline, static, protected]
template<int N>
static double ltl::WCS< N >::rad2deg ( const double  rad  )  [inline, static, protected]
template<int N>
static double ltl::WCS< N >::cosdeg ( double  deg  )  [inline, static, protected]
template<int N>
static double ltl::WCS< N >::sindeg ( double  deg  )  [inline, static, protected]

Member Data Documentation

template<int N>
FVector<double, N> ltl::WCS< N >::crpix_ [protected]
template<int N>
FMatrix<double, N, N> ltl::WCS< N >::pc_ [protected]
template<int N>
FVector<double, N> ltl::WCS< N >::cdelt_ [protected]

Generated on 19 Feb 2015 for LTL by  doxygen 1.6.1