|
LTL
2.0.x
|
Base CCS class, use to derive the different projection / CCS. More...
Inherits ltl::WCS< 2 >.
Inherited by ltl::CCS_TAN.
Public Member Functions | |
| 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) | |
| full scheme More... | |
| virtual | ~CCS () |
| virtual FVector< double, 2 > | x_nc (const FVector< double, 2 > &nc) const =0 |
| virtual FVector< double, 2 > | nc_ (const FVector< double, 2 > &p) const =0 |
calculate native coordinates , in rad from pixel coordinates More... | |
| FVector< double, 2 > | nc_cc (const FVector< double, 2 > &cc) const |
calculate native coordinates , in rad from celestial coordinates More... | |
| FVector< double, 2 > | cc_ (const FVector< double, 2 > &nc) const |
calculate celestial coordinates , from native coords in rad More... | |
| virtual FVector< double, 2 > | solve (const FVector< double, 2 > &p) const =0 |
calculate projection , from given pixel(x, y) in deg More... | |
| virtual FVector< double, 2 > | solve_inv (const FVector< double, 2 > &radec) const =0 |
calculate pixel(x, y) in deg from given projection , More... | |
| FVector< double, N > | x_ (const FVector< double, N > &p) const |
| return intermediate WCs More... | |
| FVector< double, N > | p_ (const FVector< double, N > &x) const |
| calculate orig. coordinates from intermed WCs (slow version!) More... | |
Static Protected Member Functions | |
| static double | deg2rad (const double deg) |
| static double | rad2deg (const double rad) |
| static double | cosdeg (double deg) |
| static double | sindeg (double deg) |
Protected Attributes | |
| double | phi_0 |
| angles in rad More... | |
| double | theta_0 |
| double | alpha_0 |
| double | delta_0 |
| double | phi_p |
| double | theta_p |
| double | alpha_p |
| double | delta_p |
| double | c_dp |
| double | s_dp |
| FVector< double, N > | crpix_ |
| FMatrix< double, N, N > | pc_ |
| FVector< double, N > | cdelt_ |
|
inline |
full scheme
|
inlinevirtual |
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.
|
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_, ltl::WCS< N >::pc_, and ltl::GaussJ< T, N >::solve().
Referenced by ltl::CCS_TAN::solve_inv().
Referenced by ltl::CCS_TAN::x_nc().
References ltl::WCS< N >::deg2rad().
References ltl::WCS< N >::deg2rad().
|
protected |
angles in rad
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.5