Skip to main content

Working with hyperspectral data

Project description

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.

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.1.1rc119.post1.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

specarray-0.1.1rc119.post1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file specarray-0.1.1rc119.post1.tar.gz.

File metadata

  • Download URL: specarray-0.1.1rc119.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

Hashes for specarray-0.1.1rc119.post1.tar.gz
Algorithm Hash digest
SHA256 987046e0561c5a227884cfe384843c0f32c1947b596e5ac02066b382c07f2312
MD5 eaacb9544434844a4846a5b02707b4e6
BLAKE2b-256 a2e8be06ef6b4e22f94467310a42fcd54c238f6a7cdb24948cdef2f190c9c499

See more details on using hashes here.

File details

Details for the file specarray-0.1.1rc119.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for specarray-0.1.1rc119.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 83d797e7752a6cef7b85e9a2c5c2b792cc6f793ff6b3f8632ee1133ddaf0dc76
MD5 7ed5a3e6415db7f26b186802f485f0ef
BLAKE2b-256 3fb2aa894497a5c51d4e6a66222456c41bc99ff9347f4fe5f01872e3e4851c02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page