Skip to main content

A plugin to process hyperspectral images of sediments

Project description

napari-sediment

License BSD-3 PyPI Python Version tests codecov napari hub

This napari plugin is designed to hpyerspectral images of sediment cores. It is composed of three interfaces allowing the user to:

  • import HDR images
  • normalize the images using white and dark references
  • mask unwanted regions
  • perform spectral dimensionality reduction via minimum noise fraction analysis
  • perform spatial dimensionality reduction based on pixel purity indices
  • identify representative end-members by clustering pure pixels
  • select relevant regions in spectra to compute absorption indices and create absorption maps

Pre-processing: Sediment widget

The sediment widget allows the user to import an HDR image and to normalize it using white and dark references. The widget also allows the user to mask unwanted regions of the images.

Documentation

You can find a detailed documentation here.

Installation

Create a conda environment and activate it. We highly recommend to use the new conda version called mamba to speed up the installation process. You can install it from here. If you don't use mamba, replace the mamba command by conda in the following instructions:

mamba create -n sediment python=3.9 napari pyqt -c conda-forge
mamba activate sediment

Then you can install napari-sediment use:

pip install git+https://github.com/guiwitz/napari-sediment.git

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-sediment" is free and open source software

Authors

This plugin has been developed by Guillaume Witz at the Data Science Lab of the University of Bern in collaboration with Petra Zahajská, Institue of Geography of the University of Bern. Funding for development was provided by Prof. Martin Grosjean, Institute of Geography of the University of Bern.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_sediment-0.2.3.tar.gz (16.5 MB view details)

Uploaded Source

Built Distribution

napari_sediment-0.2.3-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

Details for the file napari_sediment-0.2.3.tar.gz.

File metadata

  • Download URL: napari_sediment-0.2.3.tar.gz
  • Upload date:
  • Size: 16.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for napari_sediment-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2052c1f6229099a551c13428eafb9f58a756545490963c4be609ca454abcc589
MD5 6a4cb18eda72653d5e32ff9ed996e034
BLAKE2b-256 133f422511b18c74241bc7439a1d34a0b5b122769a73660047a278589b663ca7

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_sediment-0.2.3.tar.gz:

Publisher: test_and_deploy.yml on guiwitz/napari-sediment

Attestations:

File details

Details for the file napari_sediment-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_sediment-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8b610b4a4a226dd994bd534b439822117ae09a07b2d350a458c34544af3ee6
MD5 486b8509fec57e71a9a23cded0c4c9d6
BLAKE2b-256 b6e563e7b1d7b51a4ceac4443b72c36aee9cf43c2aecf26418ca9093526f326d

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_sediment-0.2.3-py3-none-any.whl:

Publisher: test_and_deploy.yml on guiwitz/napari-sediment

Attestations:

Supported by

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