Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ejoliet/indi-firefly

Integrate Firefly with INDI python client
https://github.com/ejoliet/indi-firefly

adass2019 astronomy astropy automation autonomous docker dockerhub fits indi-clients indi-python-client indilib ipac java javascript kstars python reactjs simulator telescope

Last synced: 21 days ago
JSON representation

Integrate Firefly with INDI python client

Awesome Lists containing this project

README

        

# indi-firefly

All started here: [the Astroinformatics 2019 hackathon at Caltech](http://astroinformatics2019.org)

Make use of INDI python client to control telescope pointing (or any INDI compatible devices) with [Firefly](https://github.com/Caltech-IPAC/firefly) - the idea is to select a target (ra,dec mainly) and take a picture from Firefly by passing the coordinates to the python client (see [script](takeExposure.py) ).

Once the exposure(s) is written out locally, we could also upload FITS produced into Firefly from the same python local session...
Another step could be included but not added here is to solve/extract wcs/sources - this can be done with astropy/machine learning!
See astrometry.net

INDI framework consist of connecting client and server to compatible devices, details: https://www.indilib.org

Docker image can be found here: https://hub.docker.com/r/ejoliet/pyindihub/tags

docker pull ejoliet/pyindihub

then run `docker run -it bash`

Clone and get python scripts here

in another terminal : `docker exec -it bash`, run `indiserver -v indi_simulator_telescope indi_simulator_ccd`.

Edit config.json files, and take picture `python3 takeExposure.py config.json`
(if using python2, please see code to change, mainly `import cStringIO` instead of `import io`)

Python3 was tested with [Firefly Python client](https://github.com/Caltech-IPAC/firefly_client) integration, see [demo guide](DEMO-guide.md)

See demo in [youtube](https://www.youtube.com/watch?v=BXMtQlVCHsk).

NOTE: We make use of [Kstars](https://edu.kde.org/kstars/
) software as a client and acting as a telescope/CCD simulator for testing INDI devices control.