Instrument Neutral Distributed Interface INDI
1.9.5
|
The Alignment class This converts between the mount axis angles and the sky hour angle and declination angles. Initially for equatorial fork and GEM mounts. To start with there is a unity mount model. The axis zeros correspond to the declination and hour angle zeroes and the directions match in the Northern henisphere For the GEM the normal pointing state is defined as positive hour angles, ie. with the mount on the East, looking West Both axis directions are mirrored in the South. More...
#include <scopesim_helper.h>
Public Types | |
enum | MOUNT_TYPE { ALTAZ, EQ_FORK, EQ_GEM } |
Public Member Functions | |
Alignment () | |
void | mountToApparentRaDec (Angle primary, Angle secondary, Angle *apparentRa, Angle *apparentDec) |
mountToApparentRaDec: convert mount position to apparent Ra, Dec More... | |
void | apparentRaDecToMount (Angle apparentRa, Angle apparentDec, Angle *primary, Angle *secondary) |
void | setCorrections (double ih, double id, double ch, double np, double ma, double me) |
setCorrections set the values of the six corrections More... | |
void | setFlipHourAngle (double deg) |
const char * | getDeviceName () |
double | ih () |
double | id () |
double | np () |
double | ch () |
double | ma () |
double | me () |
void | instrumentToObserved (Angle instrumentHa, Angle instrumentDec, Angle *observedHa, Angle *observedDec) |
void | observedToInstrument (Angle observedHa, Angle observedDec, Angle *instrumentHa, Angle *instrumentDec) |
void | mountToApparentHaDec (Angle primary, Angle secondary, Angle *apparentHa, Angle *apparentDec) |
mountToApparentHaDec: convert mount position to apparent Ha, Dec More... | |
void | apparentHaDecToMount (Angle apparentHa, Angle apparentDec, Angle *primary, Angle *secondary) |
apparentHaDecToMount More... | |
Angle | lst () |
Public Attributes | |
Angle | latitude = 0 |
Angle | longitude = 0 |
MOUNT_TYPE | mountType = EQ_FORK |
The Alignment class This converts between the mount axis angles and the sky hour angle and declination angles. Initially for equatorial fork and GEM mounts. To start with there is a unity mount model. The axis zeros correspond to the declination and hour angle zeroes and the directions match in the Northern henisphere For the GEM the normal pointing state is defined as positive hour angles, ie. with the mount on the East, looking West Both axis directions are mirrored in the South.
This uses a simple mount model based on Patrick Wallace's paper. this is at http://www.tpointsw.uk/pointing.htm
Terminology is as defined in figure 1:
Apparent Ra and Dec - what is (incorrectly) called JNow. positions are apparentRa and apparentDec apply local sidereal time Apparent Ha and Dec, positions are apparentHa and apparentDec ignore diurnal effects ignore refraction (for now) Observed Place These are the mount coordinates for a perfect mount, positions are observedHa and observedDec apply telescope pointing corrections Instrument Place these are the mount coordinates for the mount with corrections, values are instrumentHa and instrumentDec for a GEM convert to axis cooordinates ( this isn't in the paper). Mount Place these give primary (ha) and secondary (dec) positions
At present AltAz mounts are not implemented
Definition at line 364 of file scopesim_helper.h.
Enumerator | |
---|---|
ALTAZ | |
EQ_FORK | |
EQ_GEM |
Definition at line 369 of file scopesim_helper.h.
|
inline |
Definition at line 367 of file scopesim_helper.h.
void Alignment::apparentHaDecToMount | ( | Angle | apparentHa, |
Angle | apparentDec, | ||
Angle * | primary, | ||
Angle * | secondary | ||
) |
apparentHaDecToMount
ha | |
apparentDec | |
primary | |
secondary |
Definition at line 269 of file scopesim_helper.cpp.
void Alignment::apparentRaDecToMount | ( | Angle | apparentRa, |
Angle | apparentDec, | ||
Angle * | primary, | ||
Angle * | secondary | ||
) |
Definition at line 312 of file scopesim_helper.cpp.
|
inline |
Definition at line 408 of file scopesim_helper.h.
|
inline |
Definition at line 403 of file scopesim_helper.h.
|
inline |
Definition at line 406 of file scopesim_helper.h.
|
inline |
Definition at line 405 of file scopesim_helper.h.
void Alignment::instrumentToObserved | ( | Angle | instrumentHa, |
Angle | instrumentDec, | ||
Angle * | observedHa, | ||
Angle * | observedDec | ||
) |
Definition at line 321 of file scopesim_helper.cpp.
Angle Alignment::lst | ( | ) |
Definition at line 221 of file scopesim_helper.cpp.
|
inline |
Definition at line 409 of file scopesim_helper.h.
|
inline |
Definition at line 410 of file scopesim_helper.h.
void Alignment::mountToApparentHaDec | ( | Angle | primary, |
Angle | secondary, | ||
Angle * | apparentHa, | ||
Angle * | apparentDec | ||
) |
mountToApparentHaDec: convert mount position to apparent Ha, Dec
primary | |
secondary | |
apparentHa | |
apparentDec |
Definition at line 226 of file scopesim_helper.cpp.
void Alignment::mountToApparentRaDec | ( | Angle | primary, |
Angle | secondary, | ||
Angle * | apparentRa, | ||
Angle * | apparentDec | ||
) |
mountToApparentRaDec: convert mount position to apparent Ra, Dec
primary | |
secondary | |
apparentRa | |
apparentDec |
Definition at line 261 of file scopesim_helper.cpp.
|
inline |
Definition at line 407 of file scopesim_helper.h.
void Alignment::observedToInstrument | ( | Angle | observedHa, |
Angle | observedDec, | ||
Angle * | instrumentHa, | ||
Angle * | instrumentDec | ||
) |
Definition at line 349 of file scopesim_helper.cpp.
void Alignment::setCorrections | ( | double | ih, |
double | id, | ||
double | ch, | ||
double | np, | ||
double | ma, | ||
double | me | ||
) |
setCorrections set the values of the six corrections
ih | |
id | |
ch | |
np | |
ma | |
me |
Definition at line 465 of file scopesim_helper.cpp.
|
inline |
Definition at line 400 of file scopesim_helper.h.
Angle Alignment::latitude = 0 |
Definition at line 371 of file scopesim_helper.h.
Angle Alignment::longitude = 0 |
Definition at line 372 of file scopesim_helper.h.
MOUNT_TYPE Alignment::mountType = EQ_FORK |
Definition at line 374 of file scopesim_helper.h.