ltl::CCS_TAN Class Reference

Gnonomic CCS, TAN representation. More...

Inherits ltl::CCS.

List of all members.

Public Member Functions

Static Protected Member Functions

Protected Attributes


Detailed Description

Gnonomic CCS, TAN representation.


Constructor & Destructor Documentation

ltl::CCS_TAN::CCS_TAN ( const FVector< double, 2 > &  crpix_in,
const FMatrix< double, 2, 2 > &  pc_in,
const FVector< double, 2 > &  cdelt_in,
const FVector< double, 2 > &  crval_in 
) [inline]

Member Function Documentation

virtual FVector<double, 2> ltl::CCS_TAN::x_nc ( const FVector< double, 2 > &  nc  )  const [inline, virtual]

Implements ltl::CCS.

References ltl::WCS< 2 >::rad2deg().

Referenced by solve_inv().

virtual FVector<double, 2> ltl::CCS_TAN::nc_ ( const FVector< double, 2 > &  p  )  const [inline, virtual]

calculate native coordinates $\theta$, $\phi$

Implements ltl::CCS.

References ltl::WCS< 2 >::x_().

Referenced by solve().

virtual FVector<double, 2> ltl::CCS_TAN::solve ( const FVector< double, 2 > &  p  )  const [inline, virtual]

calculate projection $\alpha$, $\delta$ from given pixel(x, y) in deg

Implements ltl::CCS.

References ltl::CCS::cc_(), and nc_().

virtual FVector<double, 2> ltl::CCS_TAN::solve_inv ( const FVector< double, 2 > &  radec  )  const [inline, virtual]

calculate pixel(x, y) in deg from given projection $\alpha$, $\delta$

Implements ltl::CCS.

References ltl::CCS::nc_cc(), ltl::WCS< 2 >::p_(), and x_nc().

FVector<double, 2> ltl::CCS::nc_cc ( const FVector< double, 2 > &  cc  )  const [inline, inherited]

calculate native coordinates $\theta$, $\phi$ in rad from celestial coordinates

References ltl::CCS::alpha_p, ltl::CCS::c_dp, ltl::CCS::phi_p, and ltl::CCS::s_dp.

Referenced by solve_inv().

FVector<double, 2> ltl::CCS::cc_ ( const FVector< double, 2 > &  nc  )  const [inline, inherited]

calculate celestial coordinates $\alpha$, $\delta$ from native coords in rad

References ltl::CCS::alpha_p, ltl::CCS::c_dp, ltl::CCS::phi_p, and ltl::CCS::s_dp.

Referenced by solve().

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

return intermediate WCs

References ltl::WCS< N >::cdelt_, ltl::WCS< N >::crpix_, and ltl::WCS< N >::pc_.

Referenced by nc_().

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

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

References ltl::WCS< N >::cdelt_, ltl::WCS< N >::crpix_, and ltl::WCS< N >::pc_.

Referenced by solve_inv().

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

Referenced by x_nc().

static double ltl::WCS< N >::cosdeg ( double  deg  )  [inline, static, protected, inherited]
static double ltl::WCS< N >::sindeg ( double  deg  )  [inline, static, protected, inherited]

Member Data Documentation

double ltl::CCS::phi_0 [protected, inherited]

angles in rad

double ltl::CCS::theta_0 [protected, inherited]
double ltl::CCS::alpha_0 [protected, inherited]
double ltl::CCS::delta_0 [protected, inherited]
double ltl::CCS::phi_p [protected, inherited]

Referenced by ltl::CCS::cc_(), and ltl::CCS::nc_cc().

double ltl::CCS::theta_p [protected, inherited]
double ltl::CCS::alpha_p [protected, inherited]

Referenced by ltl::CCS::cc_(), and ltl::CCS::nc_cc().

double ltl::CCS::delta_p [protected, inherited]
double ltl::CCS::c_dp [protected, inherited]

Referenced by ltl::CCS::cc_(), and ltl::CCS::nc_cc().

double ltl::CCS::s_dp [protected, inherited]

Referenced by ltl::CCS::cc_(), and ltl::CCS::nc_cc().

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

Generated on 19 Feb 2015 for LTL by  doxygen 1.6.1