Skip to main content

Test and Coverage Coverage Status

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:

Spectrum

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)

Source distribution for specarray 0.3.0
File Size Uploaded
specarray-0.3.0.tar.gz 4.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for specarray 0.3.0
File Interpreter ABI Platform
specarray-0.3.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page