Skip to main content

Working with hyperspectral data

Project description

SPECARRAY

To read, analyze and plot 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 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.0.2rc64.post1.tar.gz (2.6 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.0.2rc64.post1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file specarray-0.0.2rc64.post1.tar.gz.

File metadata

  • Download URL: specarray-0.0.2rc64.post1.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for specarray-0.0.2rc64.post1.tar.gz
Algorithm Hash digest
SHA256 031668c2680eccb7737a02f4750dcc9227000bcc72dae8913a7dcb32a1bae10f
MD5 138664bcd3bc5b7f77dc9fd0af0b866c
BLAKE2b-256 22607df9bd4af644e187fcbe0b2e08497acd793f9a9a56ec141a8fbce2d33263

See more details on using hashes here.

File details

Details for the file specarray-0.0.2rc64.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for specarray-0.0.2rc64.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 51cd546c2e40770760834ccef62eddada8a174091dab8af30f2fbfc28ce73231
MD5 e135600e9afe7d18a2155074a5ac408e
BLAKE2b-256 05ba8d563f6ce44e95764dc663595d94e119fd68709d0277b99d53beb02e40fb

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