Library to calibrate, trigger and capture data cubes for the open source hyperspectral camera.
Project description
Open Source DIY Hyperspectral Imager Library
Library to calibrate, trigger and capture data cubes for the open source DIY hyperspectral camera.
This work is licensed under a Creative Commons Attribution 3.0 Australia License.
Documentation can be found here: https://openhsi.github.io/openhsi/.
Install
pip install openhsi
Requirements
- Python 3.6+
- Ximea SDK (See https://www.ximea.com/support/wiki/apis/Python)
Development and Contributions
This whole software library, testing suite, documentation website, and PyPI package was developed in Jupyter Notebooks using nbdev.
How to use
Taking a single hyperspectral datacube
The example shown here uses a simulated camera for testing purposes. Replace SimulatedCamera
with the appropriate Python class for your own camera to work with real hardware.
from openhsi.capture import *
with SimulatedCamera(img_path="assets/rocky_beach.png", n_lines=1024, processing_lvl = 3) as cam:
cam.collect()
fig = cam.show(plot_lib="matplotlib",robust=True)
100%|██████████| 1024/1024 [00:16<00:00, 61.44it/s]
Text(0, 0.5, 'cross-track')
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
File details
Details for the file openhsi-0.0.9.tar.gz
.
File metadata
- Download URL: openhsi-0.0.9.tar.gz
- Upload date:
- Size: 21.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc2c4452d1c7c2cfba632d22c83c5bd398dcee8d675c7e77662847e1a175b1b |
|
MD5 | 00948e4a5442d3576da4860f25749a0b |
|
BLAKE2b-256 | 31828aba2fdbbb2e9b4c61bbe0050bf749219b7169188677718eef96021f7126 |
File details
Details for the file openhsi-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: openhsi-0.0.9-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc36e91d85bb4670033b543bdd5fe89dec5846c0aa8193f9f1fa1a32300883b1 |
|
MD5 | 68fcb213af80b70cf74a4c12ca492b3e |
|
BLAKE2b-256 | 84a82dc1166299e7cf2686fac48e6061c7a888cd73c8cfdafeb23556092e297b |