Working with hyperspectral data
Project description
SPECARRAY
To read hyperspectral data from Specim devices. Currently only tested with FX10 data
Core features
- read Specim FX10 data
- support for large files thanks to dask
- using xarray for data storage
- computaiton of spectral albedo and braodband albedo
Installation
pip install specarray
Usage
from specarray import SpecArray
from pathlib import Path
import matplotlib.pyplot as plt
data_dir = Path("data/white_weathering_crust_2_2023-07-15_15-25-24/")
white_weathering_crust = SpecArray(data_dir)
white_weathering_crust.capture
white_weathering_crust.spectral_albedo.sel(sample=0, point=0).plot.line()
plt.ylim(0, 1)
The resulting imgage should look like this:
For more examples see the notebooks folder.
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
specarray-0.0.1rc36.post1.tar.gz
(695.3 kB
view hashes)
Built Distribution
Close
Hashes for specarray-0.0.1rc36.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3793af7d844eb9052b4146e332b2f39f8645f59e40f97e18adaec8d58903552 |
|
MD5 | cb279d59684308b561223eb9f8932b79 |
|
BLAKE2b-256 | a202314206c6e469183c99a54e025fb954b5cbc501c5542becd3f95dabaf6e2a |
Close
Hashes for specarray-0.0.1rc36.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e441f44ff78183e6f4905c0e70485b75dc29531c27ba4b8513c837cefcd44fc |
|
MD5 | f97ffc9f34a885108809fc21f2bccfeb |
|
BLAKE2b-256 | 4015d40f30c7eb842094e143afc03167a466a2a63d1c586ea7c4b622d5543359 |