Class Astrometry#
Defined in File acam_interface.h
Class Documentation#
-
class Astrometry#
Astrometry class.
This class contains info for handling the Astrometry calculations. Usage requires the C-Python API and the CPyInstance class defined in cpython.h because the astrometry calculations are written in Python. This class is the interface from C++ to the required Python modules.
Public Functions
-
inline Astrometry()#
-
long initialize_python()#
-
inline bool is_initialized()#
-
inline double get_seeing() const#
image quality
-
inline double get_seeing_std() const#
-
inline double get_seeing_zen() const#
-
inline double get_extinction() const#
-
inline double get_extinction_std() const#
-
inline double get_background() const#
-
inline double get_background_std() const#
-
inline void get_solution(std::string &_result, double &_ra, double &_dec, double &_angle, long &_matches, double &_rmsarcsec) const#
-
inline std::string get_result()#
-
void pyobj_from_string(std::string str_in, PyObject **obj)#
-
long image_quality()#
-
long solve(std::string imagename_in)#
-
long solve(std::string imagename_in, std::vector<std::string> solverargs_in)#
-
long solverargs(std::string argsin, std::string &argsout)#
Public Members
-
bool isacquire#
initializes the Python module
-
std::vector<std::string> solver_args#
-
CPython::CPyInstance py_instance = {PYTHON_PATH}#
contains list of optional solver args, “key1=val key2=val … keyN=val”
-
PyObject *pAstrometryModule#
initialize the Python interpreter
-
PyObject *pQualityModule#
astrometry
-
inline Astrometry()#