SPECARRAY
To read, analyze and plot hyperspectral data from Specim devices. Currently only tested with FX10 data.
Core features
- read Specim instrument 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.
Metadata
Release files for specarray 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| specarray-0.3.0.tar.gz | 4.2 MB | Without provenance | Details for specarray-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| specarray-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for specarray-0.3.0-py3-none-any.whl |
Total release size: 4.2 MB
Release files / specarray-0.3.0.tar.gz
| Download URL | specarray-0.3.0.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d41e3c16cd0d5f225867a26d8b6956b364244bf79e3f4d82afac4462199ac97c
|
|
BLAKE2b-256 checksum How to use checksums |
12241da4ef4540656d0d896d05cdf95c9e343600c483521a0347a143d6454773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / specarray-0.3.0-py3-none-any.whl
| Download URL | specarray-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3e188f3618303fdd2769c02ea96e13de1d19a06c5ca6a58670da79c21e1e1e3
|
|
BLAKE2b-256 checksum How to use checksums |
c9bbbd7d7c4dc3d771cca859175ed13847a563609d35d0bf9ac67cfde04be654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for specarray 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.