Skip to main content

Crystallographic analysis for STEM data

Reason this release was yanked:

Bug prevents importing module

Project description

SingleOrigin

A Python module for crystallographic analysis of S/TEM data. Main module is for atomic column position finding intended for structural analysis of high resolution scanning transmission electron microscope images of crystalline lattices. The module uses 2D Gaussian fitting and automatically accounts for intensity overlap between closely spaced columns based on image morphology. Atom columns are initially found by registering a projected reference lattice to the image based on a CIF of the the imaged structure (or a similar one).

Incorporates a number of different methods to visualize the atom column positions:

  1. Diretly plotting the fitted positions.
  2. Plotting displacement vectors from the reference to fitted positions.
  3. Calcualting vector pair correlation functions (vPCFs) for various sublattices to see the distributions of projected bond vectors in real space. Analagous to a pair distribution function, as obtained from X-ray or neutron "total scattering" experiments, but retaining the orientation information available in the image. See the original vPCF paper in APL Materials: https://aip.scitation.org/doi/10.1063/5.0058928
  4. Plot inter-atom column distances (or distance deviations from the reference lattice) corresponding to a vector (or vectors) in a vPCF.

Secondary module(s) for diffraction and 4D STEM analysis is under development. Currently operational methods are: -Strain mapping is implimented in the ReciprocalLattice class. -Reciprocal lattice measurements from single diffraction patterns 4D STEM datasets or HRSTEM FFTs can be made using the ReciprocalLattice class. Superlattice may also be measured.

Installation: It is recommended to install by pip in a clean Python environment (https://docs.python.org/3/library/venv.html). SingleOrigin may be used in Spyder or Jupyter notebooks/lab. To install, activate your environment and run the following in a command line prompt if you downloaded the tarball:

pip install "pathtofile/SingleOrigin-2.5.3.tar.gz"

OR from PyPI:

pip install SingleOrigin

See example scripts and Jupyter-lab notebooks at: https://github.com/sdfunni/SingleOrigin

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

SingleOrigin-2.5.5.tar.gz (100.9 kB view details)

Uploaded Source

Built Distribution

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

SingleOrigin-2.5.5-py3-none-any.whl (103.3 kB view details)

Uploaded Python 3

File details

Details for the file SingleOrigin-2.5.5.tar.gz.

File metadata

  • Download URL: SingleOrigin-2.5.5.tar.gz
  • Upload date:
  • Size: 100.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for SingleOrigin-2.5.5.tar.gz
Algorithm Hash digest
SHA256 939a7f3b544dc977bcec188d2a676183af16d2d0b3a0589cfdcb3adb87141419
MD5 953f53b5b2a6aed6129a088440f0f9b5
BLAKE2b-256 ab117e0f876fd380bbe84e2cb8d175855362cc9dd4a90e8a6e0647866bb6ab48

See more details on using hashes here.

File details

Details for the file SingleOrigin-2.5.5-py3-none-any.whl.

File metadata

  • Download URL: SingleOrigin-2.5.5-py3-none-any.whl
  • Upload date:
  • Size: 103.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for SingleOrigin-2.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0d9ce65a9060526f3aec49d64f764e6d6b8b9591b5842929aac3e98ee10afdbc
MD5 9cad5ae42b23a8d0d51f27ed1e4325e8
BLAKE2b-256 8f918a09c8e6b36365ec7df2e6f1d782f42a89a35785660dbdf794592918295c

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