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.1rc35.post1.tar.gz
(695.3 kB
view hashes)
Built Distribution
Close
Hashes for specarray-0.0.1rc35.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54dd072a8c6e4f4ce34f54e35d66bc3366d88f687ab1eea6ac726090e673cdf5 |
|
MD5 | f5f291e2b8e99f710984c3d7d6ea8069 |
|
BLAKE2b-256 | ceec5be68f0b54a434ce461a271b17323ee3107e3e27faa4f0aff90a0a4f3e3c |
Close
Hashes for specarray-0.0.1rc35.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0c8044401dc5d9bf2330544cae40f901b0b113f6c4429d3f6b2b667e0b2a9eb |
|
MD5 | 003281606e549cebd030454b524ca794 |
|
BLAKE2b-256 | f70df17b75641d68b7c74faef1703489c5df8f0516bf05c0b358e1d6acdec503 |