Skip to main content

Interactive astronomical image viewer.

Project description

Mviewer Plotly/Dash React Component

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 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.

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

Building mviewer

mviewer is a standard React component, but to make sure it is built right Dash provides a boilerplate template (https://github.com/plotly/dash-component-boilerplate.git) that can be used with Python "cookiecutter" to configure a directory tree for the build. For all the details on this, see https://dash.plotly.com/react-for-python-developers . The configuration will even result in a README.md (this file), though it usually needs to be reworked after the fact.

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

mviewer-1.0.1.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

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

mviewer-1.0.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file mviewer-1.0.1.tar.gz.

File metadata

  • Download URL: mviewer-1.0.1.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mviewer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d535786d4034564e5638f1648d7393d1858317008e2bb6cafb07791ad0e36b4f
MD5 7ef255223e00e203a2f18829097b53d7
BLAKE2b-256 5767055c3ba28ce60eb30971ca9e5d400550c844274017b7cf1d53b022f990cd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mviewer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f54d2084aba49e83c0f9e7fc853b9d2a32f76bcc0cfe837eaab7d0df002156d7
MD5 0befaf9f993a75860afc5fc5c9f6e7e8
BLAKE2b-256 5d148122ba9aafe4e91d97a812f3f0281377c2df8ddc7ba7141c8ccb48883980

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