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.1rc33.post1.tar.gz
(695.3 kB
view hashes)
Built Distribution
Close
Hashes for specarray-0.0.1rc33.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190ab2a29ab897d400b08ebd1caeec7d5c5e2a9c2b5933c67d65531b31842a10 |
|
MD5 | 0babc0b78599dcef88b6b41f3cc15fe2 |
|
BLAKE2b-256 | f0ad0f677ad3b9aea13a64801384e11e7e745903d27e6aef0f0b17c559816405 |
Close
Hashes for specarray-0.0.1rc33.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e598781da953bc0540a124078c1b53f6b89823c43480c652fd9e9f335507196e |
|
MD5 | 913336709be79b4c0b5c732502218d0e |
|
BLAKE2b-256 | 5dcb32af205ae370b631a7528c6321f9eec15abf2277a873202653fd5747e910 |