Skip to main content

Python API for Firefly: display astronomical data as tables, images, charts, and more!

Project description

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.

For detailed explanation on the usage, see the online documentation. 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 and test directories.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

firefly_client-3.1.0.tar.gz (60.6 kB view hashes)

Uploaded Source

Built Distribution

firefly_client-3.1.0-py3-none-any.whl (31.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page