Skip to main content

Contains tools for analyzing electron microscopy data that are not available in ``hyperspy``.

Project description

Electron Microscopy Pix (EMPix)

Test library Code Coverage Documentation PyPi Version Conda-Forge Version License

empix is a Python library that contains tools for analyzing electron microscopy data that are not available in hyperspy.

Visit the empix website for a web version of the installation instructions, the reference guide, and the examples archive.

The source code can be found in the empix GitHub repository.

Table of contents

Instructions for installing and uninstalling empix

Installing empix

For all installation scenarios, first open up the appropriate command line interface. On Unix-based systems, you could open e.g. a terminal. On Windows systems you could open e.g. an Anaconda Prompt as an administrator.

Installing empix using pip

Before installing empix, make sure that you have activated the (virtual) environment in which you intend to install said package. After which, simply change into the root of the repository, and run the following command:

pip install empix

The above command will install the latest stable version of empix.

To install the latest development version from the main branch of the empix GitHub repository, one must first clone the repository by running the following command:

git clone https://github.com/mrfitzpa/empix.git

Next, change into the root of the cloned repository, and then run the following command:

pip install .

Note that you must include the period as well. The above command executes a standard installation of empix.

Optionally, for additional features in empix, one can install additional dependencies upon installing empix. To install a subset of additional dependencies (along with the standard installation), run the following command from the root of the repository:

pip install .[<selector>]

where <selector> can be one of the following:

  • tests: to install the dependencies necessary for running unit tests;
  • examples: to install the dependencies necessary for executing files stored in <root>/examples, where <root> is the root of the repository;
  • docs: to install the dependencies necessary for documentation generation;
  • all: to install all of the above optional dependencies.

Alternatively, one can run:

pip install empix[<selector>]

elsewhere in order to install the latest stable version of empix, along with the subset of additional dependencies specified by <selector>.

Installing empix using conda

To install empix using the conda package manager, run the following command:

conda install -c conda-forge empix

The above command will install the latest stable version of empix.

Uninstalling empix

If empix was installed using pip, then to uninstall, run the following command from the root of the repository:

pip uninstall empix

If empix was installed using conda, then to uninstall, run the following command from the root of the repository:

conda remove empix

Learning how to use empix

For those new to the empix library, it is recommended that they take a look at the Examples page, which contain code examples that show how one can use the empix library. While going through the examples, readers can consult the empix reference guide to understand what each line of code is doing.

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

empix-0.0.7.tar.gz (60.6 kB view details)

Uploaded Source

Built Distribution

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

empix-0.0.7-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file empix-0.0.7.tar.gz.

File metadata

  • Download URL: empix-0.0.7.tar.gz
  • Upload date:
  • Size: 60.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for empix-0.0.7.tar.gz
Algorithm Hash digest
SHA256 76305e3124088d072aa7c3d1f6e53bdaadce90024543fb62a559b9ee4213ac51
MD5 aceda57d0ae703aae68dd5e3a834d909
BLAKE2b-256 ea49d00a26f8b965daabf1b66b1875832fd5e055e3452d047ca57fd05ed9db42

See more details on using hashes here.

Provenance

The following attestation bundles were made for empix-0.0.7.tar.gz:

Publisher: publish_release_to_pypi.yml on mrfitzpa/empix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file empix-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: empix-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for empix-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c96e4fc02990cc92164b2e6962fdc081022904412f34bbf5b45d5cb2cd4e4a2d
MD5 62b6c2f2e878615e4aefbb7fd6ef7dbc
BLAKE2b-256 5c5e12eb0f973ab1e9233da9359bf10c6734ef42ba09e095efaf10f1a6c72738

See more details on using hashes here.

Provenance

The following attestation bundles were made for empix-0.0.7-py3-none-any.whl:

Publisher: publish_release_to_pypi.yml on mrfitzpa/empix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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