Commit abd3a4e04bf2d1dfcada71251e46c0f1fb13c4d1

Authored by aklotz
1 parent de155066
Exists in master

astrometry.net

Showing 1 changed file with 39 additions and 1 deletions   Show diff stats
docs/source/index.rst
... ... @@ -113,7 +113,7 @@ Download the astap_amd64.deb and:
113 113  
114 114 sudo apt-get install ./astap_amd64.deb
115 115  
116   -To use Ima.calibwcs you have to install `Astrometry.net and its quad files <https://astrometry.net/use.html>`_:
  116 +To use Ima.calibwcs() you have to install `Astrometry.net and its quad index files <https://astrometry.net/use.html>`_:
117 117  
118 118 .. code-block:: bash
119 119  
... ... @@ -121,6 +121,44 @@ To use Ima.calibwcs you have to install `Astrometry.net and its quad files &lt;http
121 121 sudo apt install astrometry-data-tycho2
122 122 sudo apt install astrometry-data-2mass
123 123  
  124 +The executable is /usr/bin/solve-field. The default directory where you have to place the index files
  125 +is /usr/share/astrometry. However, if you prefer to install the index folders (4100, 4200, 5200) in
  126 +another directory, you must change the following line in the configuration
  127 +file /etc/astrometry.cfg (sudo):
  128 +
  129 +.. code-block:: bash
  130 +
  131 + add_path /usr/share/astrometry
  132 +
  133 +For example:
  134 +
  135 +.. code-block:: bash
  136 +
  137 + add_path /home/myself/astrometry.net
  138 +
  139 +Check solve-field is working before using Ima.calibwcs():
  140 +
  141 +WCS calibration in total blind:
  142 +
  143 +.. code-block:: bash
  144 +
  145 + cd ~/Documents
  146 + solve-field --crpix-center --overwrite guitastro/tests/data/m57.fits
  147 +
  148 +WCS calibration in case you know approximate coordinates:
  149 +
  150 +.. code-block:: bash
  151 +
  152 + cd ~/Documents
  153 + solve-field --ra 180 --dec 0 --radius 3 --crpix-center --overwrite guitastro/tests/data/m57.fits
  154 +
  155 +WCS calibration if you know approximate spatial sampling:
  156 +
  157 +.. code-block:: bash
  158 +
  159 + cd ~/Documents
  160 + solve-field --scale-units arcsecperpix --scale-low 3.5 --scale-high 3.7 --crpix-center --overwrite guitastro/tests/data/m57.fits
  161 +
124 162 5.2. Resources for Windows
125 163 ==========================
126 164  
... ...