For modelling beams and lenses in electron microscopy.
Project description
Electron Microscopy Beam (EMBeam)
embeam is a Python library for modelling beams and lenses in electron
microscopy.
Visit the embeam website for a web version
of the installation instructions, the reference guide, and the examples archive.
The source code can be found in the embeam GitHub
repository.
Table of contents
Instructions for installing and uninstalling embeam
Installing embeam
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 embeam using pip
Before installing embeam, make sure that you have activated the (virtual)
environment in which you intend to install said package. After which, simply run
the following command:
pip install embeam
The above command will install the latest stable version of embeam.
To install the latest development version from the main branch of the embeam GitHub repository, one must first clone the repository by running the following command:
git clone https://github.com/mrfitzpa/embeam.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 embeam.
Optionally, for additional features in embeam, one can install additional
dependencies upon installing embeam. 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 embeam[<selector>]
elsewhere in order to install the latest stable version of embeam, along with
the subset of additional dependencies specified by <selector>.
Installing embeam using conda
To install embeam using the conda package manager, run the following
command:
conda install -c conda-forge embeam
The above command will install the latest stable version of embeam.
Uninstalling embeam
If embeam was installed using pip, then to uninstall, run the following
command:
pip uninstall embeam
If embeam was installed using conda, then to uninstall, run the following
command:
conda remove embeam
Learning how to use embeam
For those new to the embeam library, it is recommended that they take a look
at the Examples page, which
contain code examples that show how one can use the embeam library. While
going through the examples, readers can consult the embeam 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file embeam-0.0.5.tar.gz.
File metadata
- Download URL: embeam-0.0.5.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
659136bb57efff8e658ce2d6459ef91b53e076768f6a70e4532cd8d4308aff1c
|
|
| MD5 |
9cafd8246df9dc7d0fd502318f7fa6af
|
|
| BLAKE2b-256 |
6774c984e56fbf1de2083fc25a67a329359b422f63b505c402f1c097c9e16cde
|
Provenance
The following attestation bundles were made for embeam-0.0.5.tar.gz:
Publisher:
publish_release_to_pypi.yml on mrfitzpa/embeam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
embeam-0.0.5.tar.gz -
Subject digest:
659136bb57efff8e658ce2d6459ef91b53e076768f6a70e4532cd8d4308aff1c - Sigstore transparency entry: 638112059
- Sigstore integration time:
-
Permalink:
mrfitzpa/embeam@876efd12077b1cd395e1fef11969145eff3c9ac5 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/mrfitzpa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_release_to_pypi.yml@876efd12077b1cd395e1fef11969145eff3c9ac5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file embeam-0.0.5-py3-none-any.whl.
File metadata
- Download URL: embeam-0.0.5-py3-none-any.whl
- Upload date:
- Size: 73.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e828430c48cebfd7f59c32b93194932d02d2abef5b83a2abc5651687e1976e7
|
|
| MD5 |
fac697e606d431e7709eeb7848a053d2
|
|
| BLAKE2b-256 |
8ba9706e91aa0ba910adf3ab018ddd10d4ffe8558d040ced00a4a0d80c2b39a2
|
Provenance
The following attestation bundles were made for embeam-0.0.5-py3-none-any.whl:
Publisher:
publish_release_to_pypi.yml on mrfitzpa/embeam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
embeam-0.0.5-py3-none-any.whl -
Subject digest:
8e828430c48cebfd7f59c32b93194932d02d2abef5b83a2abc5651687e1976e7 - Sigstore transparency entry: 638112063
- Sigstore integration time:
-
Permalink:
mrfitzpa/embeam@876efd12077b1cd395e1fef11969145eff3c9ac5 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/mrfitzpa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_release_to_pypi.yml@876efd12077b1cd395e1fef11969145eff3c9ac5 -
Trigger Event:
release
-
Statement type: