Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caltech-ipac/firefly_client
Python API for Firefly
https://github.com/caltech-ipac/firefly_client
ipac-firefly python python-api visualization
Last synced: 6 days ago
JSON representation
Python API for Firefly
- Host: GitHub
- URL: https://github.com/caltech-ipac/firefly_client
- Owner: Caltech-IPAC
- License: other
- Created: 2016-11-14T23:08:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T21:18:17.000Z (14 days ago)
- Last Synced: 2024-12-15T14:17:05.886Z (11 days ago)
- Topics: ipac-firefly, python, python-api, visualization
- Language: Python
- Homepage: https://caltech-ipac.github.io/firefly_client/
- Size: 4.05 MB
- Stars: 9
- Watchers: 17
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# firefly_client
Python API for Firefly, IPAC's Advanced Astronomy Web UI Framework
## Usage
The client must be connected to a Firefly server. The Firefly
repository is located at http://github.com/Caltech-IPAC/firefly.
Standalone Firefly servers may be obtained from
[this Dockerhub repository](https://hub.docker.com/r/ipac/firefly/).For detailed explanation on the usage, see [the online documentation](https://caltech-ipac.github.io/firefly_client). Following is a very simple example:
```
from firefly_client import FireflyClient
fc = FireflyClient.make_client() # can also explictly pass url of a firefly server; default is http://localhost:8080/firefly
```A FITS image may be uploaded and displayed:
```
fval = fc.upload_file('image.fits')
fc.show_fits(fval, 'myimage')
```For more examples, check notebooks & python files in the [examples](examples/) and [test](test/) directories.