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
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
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 Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1407313a67d998193cec6ae937d7a6351060596ec0beb34990d82d6333febed
|
|
| MD5 |
e409269e5f307e9dc19718f1c4bbb31a
|
|
| BLAKE2b-256 |
3e99cff5ecf2781405dbd9141bb0d0b8f5026e0e8de42617d854e7232706df9e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65952c603c2faac1bdab1b48e12dd2d8850d74b7e9a26c802e91134da85ec7b8
|
|
| MD5 |
ba6d716a6c61b1abaaef1ee2a62b77f0
|
|
| BLAKE2b-256 |
3b3c90df44511a78d16b49337ca444bcb09a4088ea2951e89f91d94c537b916d
|