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(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.2rc52.post1.tar.gz (695.6 kB 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.2rc52.post1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for specarray-0.0.2rc52.post1.tar.gz
Algorithm Hash digest
SHA256 d4f6225fc3e6e01473435f69056e40616846c084a579d5173e3b8fffd1d6a2e3
MD5 b73640c921fbdb186217ed8bc95c8ba8
BLAKE2b-256 74565bfc39413daa4df1ada1e2e8d544a2cfd9b991603251f90c3370f04b1395

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for specarray-0.0.2rc52.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5a3e8eba0276b871d102a6d37e126ab75fc4a7d0176f25d4e36229bcf8e8ee
MD5 9edd43e51e61d53d07391ece3af2c389
BLAKE2b-256 a0d4436708d97e38cc374b968e938883be7a6b622289ba07ed85446208bd8244

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