Skip to main content

Astronomical image display and interaction.

Project description

KOAViewer Plotly/Dash Application

Dash contains a very large number of components for data display and UI configuration. However, specialized display and interaction components are sometimes needed to fill discipline-specific roles. All Dash components are written using React, a JavaScript library for building user interfaces, written and maintained by Facebook.

"mviewer" (also available through PyPI) is a Dash React component, part of an interactive astronomical image viewer written as part of the Montage toolkit (http://montage.ipac.caltech.edu). mviewer really only handles the display window and functions like zooming and panning. It is the front-end for Python-based Dash apps which control what data gets displayed. The Dash app also handles the processing of "pick" and "draw box" events from mviewer.

"koaviewer" is one such Dash app. It reads image and astronomical catalog data from local files and creates an interactive display with two floating data viewers: one for the image data (a single grayscale FITS file or three FITS files as a red/green/blue color composite); and another for atabbed set of the catalogs as data tables. The image display is an mviewer instance and the table displays are Ag-Grid renderings wrapped by Dash.

Selecting locations in the image display gets fed to the tables and records in the tables close enough to the location get marked. Likewise, records selected from the tables get marked on the image. This is basic dashboard functionality and other displays (like scatter plots, etc.) could be added but are not used in this example.

The Dash app does not itself render the image/overlay graphics that get display. For that it relies on a Python-callable Montage library. All of this is covered in more detail at http://montage.ipac.caltech.edu/docs/mViewer_DASH .

"koaviewer" is pure Python.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

koaviewer-1.0.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file koaviewer-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: koaviewer-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for koaviewer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80ab809a96867a6173fe89ce3180bf1e70c23605c0fb8ff692be9c36d89d5587
MD5 e8e93199681b81bd36371f9dad873c68
BLAKE2b-256 c6dd46fca81cf05bfad48534e92b471db15bfabf0481f1140dcde3489dc3c7f7

See more details on using hashes here.

Supported by

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