Skip to main content

A Flexible and Interactive Spectral (and more!) Image Viewer for Python

Project description

pycubeview 🔎

A Flexible and Interactive Spectral (and more!) Image Viewer for Python

Unit Tests License: MIT

Motivation ✨

Whether it's an imaging spectrometer or an InSAR time-series, many remotely sensed scientific data comes in the form of a cube, which is here defined as any dataset that has spatial information in two dimensions and measured values in a third dimension. Below are listed some examples of scientific data cubes:

  • Hyperspectral Imagery
  • Multispectral Imagery
  • Spectral Maps from lab spectrometers
  • InSAR Time Series
  • Cloud Cover Evolution Map
  • LiDAR return counts
  • Scanning medical imagery
  • RGB Images
  • General Vector Fields
  • And Many More!

Installation ⬇️

GUI Application 💻

To use the GUI Application, download PyCubeView here!

Support is available for Linux (Ubuntu Distribution), MacOS and Windows.

For Windows Users:

  1. Download the .zip file and extract all files
  2. The cubeview.exe file is found at: PyCubeView-windows > main.dist > cubeview.exe

For Mac Users:

  1. Downloading the .zip file will automatically give you a .app file
  2. PyCubeView currently ships unsigned (because that costs money 💲), so you must change the permissions on the file before you run it.
  3. From within the directory you downloaded the file to, run:
xattr -d com.apple.quarantine CubeView.app
  1. You can now double-click to run the app

Python API 🐍

pycubeview can be directly install from the Python Package Index using pip.

pip install pycubeview

Usage ⚙️

GUI Application 💻

Python API 🐍

The basic CubeView GUI can be opened directly from the command line by ensuring you are in a python environment that has pycubeview installed and running

cubeview.exe

The CubeView GUI can also be started from a python script.

from pycubeview import open_cubeview
open_cubeview(image_data, cube_data, wvl_data)

Where the data can optionally provided as either a Numpy-Array or a filepath to one of the supported file types.

Supported File Types 📂

Image and Cube Data

spectralio files

  • .geospcub
  • .spcub

rasterio-compatible files

  • .img
  • .bsq
  • .tif

Wavelength Data

  • .wvl
  • .hdr
  • .txt
  • .csv

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

pycubeview-1.1.0.tar.gz (464.1 kB view details)

Uploaded Source

Built Distribution

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

pycubeview-1.1.0-py3-none-any.whl (477.4 kB view details)

Uploaded Python 3

File details

Details for the file pycubeview-1.1.0.tar.gz.

File metadata

  • Download URL: pycubeview-1.1.0.tar.gz
  • Upload date:
  • Size: 464.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pycubeview-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e1407313a67d998193cec6ae937d7a6351060596ec0beb34990d82d6333febed
MD5 e409269e5f307e9dc19718f1c4bbb31a
BLAKE2b-256 3e99cff5ecf2781405dbd9141bb0d0b8f5026e0e8de42617d854e7232706df9e

See more details on using hashes here.

File details

Details for the file pycubeview-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycubeview-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 477.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pycubeview-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65952c603c2faac1bdab1b48e12dd2d8850d74b7e9a26c802e91134da85ec7b8
MD5 ba6d716a6c61b1abaaef1ee2a62b77f0
BLAKE2b-256 3b3c90df44511a78d16b49337ca444bcb09a4088ea2951e89f91d94c537b916d

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