Metadata-Version: 2.0
Name: astrometry-azel
Version: 1.1.3
Summary: Register images to az/el using the astrometry.net program
Home-page: https://github.com/scivision/astrometry_azel
Author: Michael Hirsch, Ph.D.
Author-email: UNKNOWN
License: UNKNOWN
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Requires-Python: >=3.6
Requires-Dist: astropy
Requires-Dist: h5py
Requires-Dist: imageio
Requires-Dist: numpy
Requires-Dist: pymap3d
Requires-Dist: python-dateutil
Requires-Dist: pytz
Requires-Dist: scikit-image
Requires-Dist: scipy
Provides-Extra: plot
Requires-Dist: matplotlib; extra == 'plot'
Requires-Dist: seaborn; extra == 'plot'
Provides-Extra: tests
Requires-Dist: coveralls; extra == 'tests'
Requires-Dist: nose; extra == 'tests'
Requires-Dist: pytest; extra == 'tests'

.. image:: https://zenodo.org/badge/19366614.svg
   :target: https://zenodo.org/badge/latestdoi/19366614

.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
    :target: http://www.astropy.org/

.. image:: https://travis-ci.org/scivision/astrometry_azel.svg?branch=master
    :target: https://travis-ci.org/scivision/astrometry_azel

.. image:: https://coveralls.io/repos/github/scivision/astrometry_azel/badge.svg?branch=master
    :target: https://coveralls.io/github/scivision/astrometry_azel?branch=master

.. image:: https://ci.appveyor.com/api/projects/status/0hfbtk1om99mfy0o?svg=true
    :target: https://ci.appveyor.com/project/scivision/astrometry-azel

================================================================================================
Azimuth/Elevation converter for `Astrometry.net <https://github.com/dstndstn/astrometry.net>`_
================================================================================================

.. contents::

Note: If you want to work with the intermediate steps (source extraction) or photometry, see my AstroPy-based 
`examples <https://github.com/scivision/starscale>`_.

Prerequisites
=============
`Astrometry.net >= 0.67 <https://scivision.co/setting-up-astrometry-net-program/>`_ 

or, use the `astrometry.net cloud service--handy for Windows users <http://nova.astrometry.net/upload>`_ 

Installation
============
::

  python -m pip install -e .

Astrometry.net index files
--------------------------
If you use astrometry.net on your PC, you may need to install the index files and setup your config file to point at them::

    downloadIndex.py


Command line options
=====================
--h5         write az/el et al to HDF5
--mat        write az/el et al to .mat Matlab save file
--png        write az/el et al to PNG
-h           to see all the options you can use

Examples
=========

Astrometry.net installed on your PC:
------------------------------------
::

  python PlateScaleFITS.py myimg.fits -c 61.2 -149.9 -t 2013-04-02T12:03:23Z --h5 --png

gives HDF5 .h5 with az/el ra/dec and PNG plots of the data. Both files contain the same data, just
for your convenience.

The 61.2 -149.9 is your WGS84 coordinates, 2013-04-02T12:03:23Z is UTC time of the picture.

wcs.fits from the Astrometry.net WEBSITE:
------------------------------------------
first rename wcs.fits to myimg.wcs::

  python PlateScaleFITS.py myimg.wcs -c 61.2 -149.9 -t 2013-04-02T12:03:23Z --h5 --png




