Working with hyperspectral data
Project description
SPECARRAY
To read, analyze and plot 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 handling and data analysis
- computation of spectral albedo and braodband albedo if white and dark reference is available
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.from_folder(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
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 specarray-0.0.2rc80.post1.tar.gz.
File metadata
- Download URL: specarray-0.0.2rc80.post1.tar.gz
- Upload date:
- Size: 4.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
850b8cef8ab2af1b4dfd60d365f9d804bb18e40fcb6082c91da22333ee755fcb
|
|
| MD5 |
85b0f2bf4d61b89b0ad6bff60f08410b
|
|
| BLAKE2b-256 |
7c377bb29ab77ad3e68c16d4dd383cb892b47d9f583990ab2e8f2ff11b72adb5
|
File details
Details for the file specarray-0.0.2rc80.post1-py3-none-any.whl.
File metadata
- Download URL: specarray-0.0.2rc80.post1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad05d24c9d0e2507e50000f36502db3142f9f504376415e035c10ad5b6035837
|
|
| MD5 |
ccecfcf61602c48cc15440c80ff0717f
|
|
| BLAKE2b-256 |
32cf00e320a5d9d6da87fe4bf35323a6b6296baf68ebdaa81d2b6f32838653c7
|