Skip to main content

Electron SPectro-Microscopy Python Library

Project description

espm: The Electron Spectro-Microscopy Python Library

.. image:: https://readthedocs.org/projects/espm/badge/?version=latest :target: https://espm.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

This library contains algorithms to perform non-negative matrix factorization with diverse regularisation (e.g. Laplacian or L1) and contraints (e.g. simplex).

It is specialized for Electron Microscopy applications. It contains code to create artificial Energy dispersive X-ray spectroscopy (EDXS) data and to perform hyperspectral unmixing on EDXS spectrum images.

Installation

You can install this package from PyPi using::

$ pip install espm

If you want to develop, please use the option::

$ git clone https://github.com/adriente/espm.git
$ cd espm
$ pip install cython
$ pip install -e ".[dev]" 

Getting started

Try the api.ipynb notebook in the notebooks folder.

Documentation

The documentation is available at https://espm.readthedocs.io/en/latest/

You can get started with the following notebooks:

CITING

If you use this library, please cite the following paper::

@article{teurtrie2023espm,
title={espm: A Python library for the simulation of STEM-EDXS datasets},
author={Teurtrie, Adrien and Perraudin, Nathana{\"e}l and Holvoet, Thomas and Chen, Hui and Alexander, Duncan TL and Obozinski, Guillaume and H{\'e}bert, C{\'e}cile},
journal={Ultramicroscopy},
pages={113719},
year={2023},
publisher={Elsevier}
}

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

espm-0.2.0.tar.gz (289.7 kB view details)

Uploaded Source

Built Distribution

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

espm-0.2.0-py2.py3-none-any.whl (264.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file espm-0.2.0.tar.gz.

File metadata

  • Download URL: espm-0.2.0.tar.gz
  • Upload date:
  • Size: 289.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for espm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4f4ad84832e069342d9ce1fd57a1bbb556adc3d97b0883fa77a755b86ea4b502
MD5 bdd35bc31268ed0188ac110ea5a71a31
BLAKE2b-256 83a737510394b1c1908473d48fa51852fcb3a572bd1acd6a17531eca2633e248

See more details on using hashes here.

File details

Details for the file espm-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: espm-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 264.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for espm-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1523356098f4033df9b27354214443ebe4835f504880d6b1e0c9a1b421b30e46
MD5 78feda1fc649acbab62343b872b96291
BLAKE2b-256 40516ad44f20caac9802b01f746bdf76d373df83cb91544da5b51e677c725990

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