Skip to main content

Electron Microscopy Python Reconstruction

Project description

pipeline coverage pypi

EMPyRe is an open source framework for constructing and solving hyperdimensional inverse problems and visualizing the corresponding input and output data. it has its roots in the reconstruction of three-dimensional magnetization distributions from magnetic phase images generated by electron holography but is meant to be extendable for many other problems that are based on forward models that are expressable as a combination of linear subproblems. EMPyRe is purely Python package, so all platforms should be supported.

Installation

EMPyRe is available on the Python Package Index and can be simply be installed via pip:

$ pip install empyre

Per default, only the strictly required libraries are installed, but there are a few additional dependencies that will unlock additional capabilites of EMPYRE.

  • io will install the tvtk & HyperSpy packages that are used for loading and saving additional file formats.

  • fftw will install PyFFTW to speed up Fourier transforms used in some forward models.

  • colors will install the cmocean, whose balance color map is used as a default for the imshow commmand, if available.

  • 3d will install the mayavi package for 3D plotting capabilities.

  • tests will install all dependencies that are needed to test the package (usually not necessary for the average user).

  • all will install all of the dependencies listed above.

You can choose these settings by using, e.g.:

$ pip install empyre[all]

Structure

EMPyRe has several dedicated modules which are fully documented here!

  • The fields module provides the Field container class for multidimensional scalar or vector fields and is the fundamental data structure used in EMPyRe.

  • The vis module enables the plotting of Field objects, based on and similar in syntax to the commonly known matplotlib framework.

  • The models module provides tools for constructing forward models that describe processes in Electron Microscopy.

  • The reconstruct module is a collection of tools for solving the inverse problems corresponding to the constructed forward models and diagnostic tools for their assessment.

  • The io module is used to load and save Field objects and the models generated by the models subpackage.

  • The utils module, which houses utility functionality used throughout EMPyRe.

License

EMPyRe is licensed under GPLv3.

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

empyre-0.3.5.tar.gz (65.8 kB view details)

Uploaded Source

Built Distribution

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

empyre-0.3.5-py3-none-any.whl (75.7 kB view details)

Uploaded Python 3

File details

Details for the file empyre-0.3.5.tar.gz.

File metadata

  • Download URL: empyre-0.3.5.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for empyre-0.3.5.tar.gz
Algorithm Hash digest
SHA256 3370912d0f46949a66a375da2bb40b2f5fb73e5e504d4c3b6e549df11620e809
MD5 217925b209a3d0c292e3e92ca785edd4
BLAKE2b-256 7400a5bab61d6c17fb944e066b928d6a7e6014c09bb80a312a9c6bcae4e9cf34

See more details on using hashes here.

File details

Details for the file empyre-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: empyre-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 75.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for empyre-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9c29b7afffc782bbf114fb359b5d39900ba0edabea59d964bb254d44853066fe
MD5 0590d9f7cef3ab95f3e198ddf42ba52a
BLAKE2b-256 eab02a763e5c79a63c26dee6901aba255344e18d2978124d5f42faf39f8cb636

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