mirror of
https://github.com/eddyem/apogee_control.git
synced 2025-12-06 10:45:20 +03:00
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
This utilite depends on library libapogee & C-wrapper over it
|
|
|
|
First, you should install a latest version of libapogee from directory "libapogee"
|
|
or from original site: http://www.randomfactory.com/downloads/
|
|
If you will meet a bug in link stage ("can't find -lboost_regex-mt") cd to directory
|
|
libapogee-[version]/apogee and run
|
|
$ sed -i 's/boost_regex-mt/boost_regex/g' Makefile
|
|
after this small fix cd .. and run make again.
|
|
|
|
Second, you should install apogee_C_wrapper (cd to this directory and do as README sais).
|
|
|
|
Third, install libsla.so (if using BTA module)
|
|
|
|
And install apogee_control itself:
|
|
|
|
1. mkdir mk && cd mk
|
|
2. cmake ..
|
|
3. make
|
|
4. [su -c "make install"] or just copy file apogee_control wherever you want
|
|
|
|
File bta_print.c needed to fill specific FITS keys for BTA telescope
|
|
If your want use this outside SAO RAS localnet, write:
|
|
2. cmake -DNOBTA=1 ..
|
|
|
|
|
|
If you wish to save not only FITS, define:
|
|
* -DUSERAW=1 to save raw data
|
|
* -DUSEPNG=1 to save png data
|
|
|
|
define
|
|
* -DEBUG=1 for debug info
|
|
|
|
By default observatory location is SAO RAS, to change coordinates define:
|
|
* -DTELLAT=lattitude in degr
|
|
* -DTELLONG=longitude in degr
|
|
* -DTELALT=altitude in m
|
|
* -DTELFOCUS=focal ratio of telescope in metres
|
|
|
|
|
|
|
|
user can store default headers in ~/apogee_hdrs.fits
|
|
user can give additional keys as command line parameters
|
|
to calculate simplest CDx_x coefficients user can give parameter ROT0:
|
|
- for left-handed system it shoud be less than 0 (-360..0)
|
|
CROTA2 = -ROT0 + PARANGLE - VAL_P
|
|
- for right-handed > 0 (0..360)
|
|
CROTA2 = ROT0 - PARANGLE + VAL_P
|
|
|
|
|
|
WARNING! Since 4.08.2016 filename prefix should be pointed by -o flag!
|