42 #include "coordConv/coordConv.h"
51 double const FL = 1.0;
69 bool tcsFromPVT(
double &pos,
double &vel, coordConv::PVT
const &pvt,
double tai,
bool isAz=
false);
80 void pvtFromTCS(coordConv::PVT &pvt,
double posArr[2],
double tai,
double deltaTAI,
bool isAz=
false);
86 return coordConv::wrapCtr(180.0 + instPos.
getRotAzMechConst() - rotPhys) * coordConv::RadPerDeg;
93 return coordConv::wrapCtr(180.0 + instPos.
getRotAzMechConst() - (rotTcs / coordConv::RadPerDeg));
97 std::ostream &
operator<<(std::ostream &os, ASTROM
const &astrom);
99 std::ostream &
operator<<(std::ostream &os, FLDOR
const &fldor);
101 std::ostream &
operator<<(std::ostream &os, PORIG
const &porig);
103 std::ostream &
operator<<(std::ostream &os, SITE
const &site);
105 std::ostream &
operator<<(std::ostream &os, TARG
const &targ);
107 std::ostream &
operator<<(std::ostream &os, TIMEO
const &timeo);
109 std::ostream &
operator<<(std::ostream &os, TSCOPE
const &tscope);
114 template <
typename T>
124 template <
typename T,
int ROWS,
int COLS>
125 std::string
formatCMat(T
const mat[ROWS][COLS]);
bool tcsFromPVT(double &pos, double &vel, coordConv::PVT const &pvt, double tai, bool isAz=false)
double getRotAzMechConst() const
double const FL
focal length: 1.0 means focal plane coordinates are in radians
int const JBP
false: the telescope never goes below the horizon or beyond 90 alt
void pvtFromTCS(coordConv::PVT &pvt, double posArr[2], double tai, double deltaTAI, bool isAz=false)
std::string formatCArr(T const arr[], int n)
std::ostream & operator<<(std::ostream &os, ChebyshevPolynomial const &cheby)
double rotTcsFromPhys(double rotPhys, tcc::InstPosition const &instPos)
double const RNoGo
zone of automatic pole avoidances; 0.0 to not use
double rotPhysFromTcs(double rotTcs, tcc::InstPosition const &instPos)
std::string formatCMat(T const mat[ROWS][COLS])