Skip to main content

A local web viewer and analysis app for astronomical FITS images.

Project description

Neloura

Neloura is a local web application for opening, visualizing, and analyzing astronomical FITS images.

Install the package with pip:

python -m pip install -U neloura
neloura
neloura path/to/image.fits

It can also be used inside Jupyter:

import neloura

neloura.open_fits("path/to/image.fits")

In Jupyter, open_fits() starts a local Neloura server and displays the full app in an iframe below the notebook cell. Outside Jupyter, it opens the app in a browser tab.

On JupyterHub-style remote notebook servers, Neloura automatically uses the notebook server proxy when JUPYTERHUB_SERVICE_PREFIX (or NB_PREFIX) is available, so the same calls work from a browser connected to a remote kernel:

import neloura

neloura.open_app()
neloura.open_fits("path/on/server/image.fits")

If /proxy/<port>/ returns 404 in the browser, the hub image does not have jupyter-server-proxy enabled. Neloura cannot embed in an iframe until that is installed, or you use SSH port forwarding from your laptop to reach http://127.0.0.1:<port>/.

Development Install

From the repository root:

python -m pip install -e ".[notebook]"
python main.py

On shared notebook servers where the system Python is not writable, install into the user environment:

python -m pip install --user -U neloura

Build

python -m pip install -U build twine
python -m build
twine check dist/*

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

neloura-0.1.47.tar.gz (104.6 MB view details)

Uploaded Source

Built Distribution

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

neloura-0.1.47-py3-none-any.whl (69.0 MB view details)

Uploaded Python 3

File details

Details for the file neloura-0.1.47.tar.gz.

File metadata

  • Download URL: neloura-0.1.47.tar.gz
  • Upload date:
  • Size: 104.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for neloura-0.1.47.tar.gz
Algorithm Hash digest
SHA256 6de58ae7ecf5ee2e44e5782f768ab0ddc2c818221272a52bdbfdb35c4f8733f1
MD5 cde4fb6d8ee085aece27863d73d6cfd1
BLAKE2b-256 19b0c1ddf62b1b027050d21ecf8c816c7ceb3da1cff39adb903665ad78d2ff3b

See more details on using hashes here.

File details

Details for the file neloura-0.1.47-py3-none-any.whl.

File metadata

  • Download URL: neloura-0.1.47-py3-none-any.whl
  • Upload date:
  • Size: 69.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for neloura-0.1.47-py3-none-any.whl
Algorithm Hash digest
SHA256 41c6ccad7f58c09c242c4ab9f3cd8996d9f06679f0d3107254e3658e22ddf49a
MD5 5ed88a57c56fc82612761a13fb26fb94
BLAKE2b-256 1eab78f92fa8b6d7842c49a0eba8165c70f91f3d10335e447a4d3838e0939754

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