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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file koaviewer-1.0.2-py3-none-any.whl.
File metadata
- Download URL: koaviewer-1.0.2-py3-none-any.whl
- Upload date:
- Size: 26.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e740473103ce65f17e5211e9bd9663f3a2010105a4386d60fa825fd74bbb2373
|
|
| MD5 |
19b4938dd7dccc3b73bc54b2c7d7e87f
|
|
| BLAKE2b-256 |
54ad2ee06e39b790509f1a0414cef47e7f6be44c8332fd002af056d3e4fbd92e
|