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.1rc34.post1.tar.gz
(695.3 kB
view hashes)
Built Distribution
Close
Hashes for specarray-0.0.1rc34.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ff5656bfa0621709e941fb2a5db2762f3bae2faedbcf93831d588d4cbda1a0f |
|
MD5 | 1139e8d87b0a1b7cf5f860488fb54ae7 |
|
BLAKE2b-256 | 44c5a97a1f43592ec86ce30b791494ecf809a95a089361f89f24c9cd35b816af |
Close
Hashes for specarray-0.0.1rc34.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adfced5da7df3b39585241f7da007421de4f61cf8867224c778d6e0766251749 |
|
MD5 | ca07825b86593b71054303055a2b23ee |
|
BLAKE2b-256 | f603f21c5e41a292ad346f93d3d2472cd67aa99f0d2d1da1c32e1c144eab0440 |