Base CCS class, use to derive the different projection / CCS. More...
Inherits WCS< 2 >.
Inherited by ltl::CCS_TAN.
Base CCS class, use to derive the different projection / CCS.
ltl::CCS::CCS | ( | const FVector< double, 2 > & | crpix_in, | |
const FMatrix< double, 2, 2 > & | pc_in, | |||
const FVector< double, 2 > & | cdelt_in, | |||
const double | phi_0in, | |||
const double | theta_0in, | |||
const double | alpha_0in, | |||
const double | delta_0in, | |||
const double | alpha_pin, | |||
const double | delta_pin | |||
) | [inline] |
full scheme
virtual ltl::CCS::~CCS | ( | ) | [inline, virtual] |
Implemented in ltl::CCS_TAN.
calculate native coordinates , in rad from pixel coordinates
Implemented in ltl::CCS_TAN.
calculate native coordinates , in rad from celestial coordinates
References alpha_p, c_dp, phi_p, and s_dp.
Referenced by ltl::CCS_TAN::solve_inv().
calculate celestial coordinates , from native coords in rad
References alpha_p, c_dp, phi_p, and s_dp.
Referenced by ltl::CCS_TAN::solve().
calculate projection , from given pixel(x, y) in deg
Implemented in ltl::CCS_TAN.
virtual FVector<double, 2> ltl::CCS::solve_inv | ( | const FVector< double, 2 > & | radec | ) | const [pure virtual] |
calculate pixel(x, y) in deg from given projection ,
Implemented in ltl::CCS_TAN.
return intermediate WCs
References ltl::WCS< N >::cdelt_, ltl::WCS< N >::crpix_, and ltl::WCS< N >::pc_.
Referenced by ltl::CCS_TAN::nc_().
calculate orig. coordinates from intermed WCs (slow version!)
References ltl::WCS< N >::cdelt_, ltl::WCS< N >::crpix_, and ltl::WCS< N >::pc_.
Referenced by ltl::CCS_TAN::solve_inv().
Referenced by ltl::CCS_TAN::x_nc().
References ltl::WCS< N >::deg2rad().
References ltl::WCS< N >::deg2rad().
double ltl::CCS::phi_0 [protected] |
angles in rad
double ltl::CCS::theta_0 [protected] |
double ltl::CCS::alpha_0 [protected] |
double ltl::CCS::delta_0 [protected] |
double ltl::CCS::phi_p [protected] |
double ltl::CCS::theta_p [protected] |
double ltl::CCS::alpha_p [protected] |
double ltl::CCS::delta_p [protected] |
double ltl::CCS::c_dp [protected] |
double ltl::CCS::s_dp [protected] |