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.1rc32.post1.tar.gz
(695.3 kB
view hashes)
Built Distribution
Close
Hashes for specarray-0.0.1rc32.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8674aa6c03816b1d419bb05c9bebea50be04186c5e797be5a4ba3dc706c6c0 |
|
MD5 | 289a98d60c823413cf92de5a1c793771 |
|
BLAKE2b-256 | 9fc59c462c6f426cb29245c49e8ce531421a4d3757fa5e62d2ad6565a58b6f5a |
Close
Hashes for specarray-0.0.1rc32.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 250b652e1e5a7f6569da1dfdf471d36b511ac74dc8bdd782e182ee375a5470e8 |
|
MD5 | 56f3a9560445849c74c5fb0aa9cb169e |
|
BLAKE2b-256 | f5dd1bb8ed2056c762d1c06105e9f57b15078000d4fdaacadc56a6a1d3ea8817 |