Skip to main content

Picht

Electron optics in electric and magnetic lenses. Uses the axisymmetric view, computes static E- and B-fields, enables the parameterization of ion and electron beams, and allows you to view their trajectories in the vicinity of various kinds of electromagnetic lenses, with physically accurate and relativistically corrected dynamics. Allows for custom mesh sizes using the finite difference method, and is incredibly performant due to integrations with PyAMG, Numba, and Joblib. Works on all operating systems, is unit-tested, and works locally and on Jupyter Notebook with all dependencies handled by PyPi.

Installation

pip install picht

PyPI version tests License: MIT DOI

API documentation, computational physics methods, and tutorials can be found at the official website: https://rolypolytoy.github.io/picht/.

All of the examples in the gallery were scripted with under 100 lines of code and generated in under a minute of real time.

Electric Lens

Focusing electrons with a cylindrical electrostatic lens. Reference implementation here cylindricallens

Magnetic Lens

Focusing electrons with a magnetic lens. Reference implementation here ezgif-61b10d1bda4d4b

Einzel Lens

Focusing electrons with three electrodes in a unipotential lens arrangement. Reference implementation here. einzel

Scanning Electron Microscope

Controlling electrons with a Wehnelt cylinder, cathode/anode, a condenser (einzel) lens and an objective (einzel) lens. Reference implementation here.

sem5

Metadata

Release files for picht 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for picht 2.2.0
File Size Uploaded Provenance Actions
picht-2.2.0.tar.gz 22.0 kB Without provenance Details for picht-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for picht 2.2.0
File Interpreter ABI Platform Actions
picht-2.2.0-py3-none-any.whl Python 3 none any Details for picht-2.2.0-py3-none-any.whl

Total release size: 41.2 kB

Release files / picht-2.2.0.tar.gz

Download URL picht-2.2.0.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
87118f4342e2aa58273892dc6f5d9e01dbc02cec4df1fa1e065414dd7c658f21
BLAKE2b-256 checksum
How to use checksums
9b5024260003df9c0328c7c82945930f270bf25987a754a53c1f1aa18c233cff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / picht-2.2.0-py3-none-any.whl

Download URL picht-2.2.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45469459cb2118079ceab4fba5032cf18a20b45757f3194eef1df07f98347b45
BLAKE2b-256 checksum
How to use checksums
439674192e92af187fcd762566f1464027677f228a80ccda3b3d5ea241c0dbb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for picht 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page