pycubeview 🔎
A Flexible and Interactive Spectral (and more!) Image Viewer for Python
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:
- Download the .zip file and extract all files
- The cubeview.exe file is found at: PyCubeView-windows > main.dist > cubeview.exe
For Mac Users:
- Downloading the .zip file will automatically give you a .app file
- PyCubeView currently ships unsigned (because that costs money 💲), so you must change the permissions on the file before you run it.
- From within the directory you downloaded the file to, run:
xattr -d com.apple.quarantine CubeView.app
- 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
Metadata
Release files for pycubeview 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycubeview-1.1.0.tar.gz | 464.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycubeview-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 941.5 kB
Release files / pycubeview-1.1.0.tar.gz
| Download URL | pycubeview-1.1.0.tar.gz |
|---|---|
| Size | 464.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1407313a67d998193cec6ae937d7a6351060596ec0beb34990d82d6333febed
|
|
BLAKE2b-256 checksum How to use checksums |
3e99cff5ecf2781405dbd9141bb0d0b8f5026e0e8de42617d854e7232706df9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pycubeview-1.1.0-py3-none-any.whl
| Download URL | pycubeview-1.1.0-py3-none-any.whl |
|---|---|
| Size | 477.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65952c603c2faac1bdab1b48e12dd2d8850d74b7e9a26c802e91134da85ec7b8
|
|
BLAKE2b-256 checksum How to use checksums |
3b3c90df44511a78d16b49337ca444bcb09a4088ea2951e89f91d94c537b916d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|