8 #include "../ioutils/fits/fitsHeader.hpp"
10 #ifndef ADIDerotator_hpp
11 #define ADIDerotator_hpp
13 #include "../math/geo.hpp"
27 template<
typename _realT>
77 derot = math::angleMod<math::degreesT<realT>>(derot);
85 extern template struct ADIDerotator<float>;
86 extern template struct ADIDerotator<double>;
realT dtor(realT q)
Convert from degrees to radians.
A generic ADI derotator class.
std::vector< realT > m_angles
Vector(s) to hold the keyword values.
bool isSetup()
To allow ADIobservation to check for errors.
std::vector< std::string > m_keywords
Vector of keywords to extract from the fits headers.
realT m_angleScale
The scale to multiply the angle by.
realT derotAngle(size_t imno) const
Calculate the derotation angle for a given image number.
void angleKeyword(const std::string &akw)
Set the angle keyword.
void extractKeywords(std::vector< fits::fitsHeader > &heads)
Method called by ADIobservation to get keyword-values.
std::string m_angleKeyword
The keyword for the angle attribute. Do not set this directly.
realT m_angleConstant
The constant to add to the scaled-angle.