Skip to main content

Python program for automated electron diffraction data collection

Project description

build docs PyPI - Python Version PyPI DOI

Instamatic banner

Instamatic

Instamatic is a Python program that is being developed with the aim to automate the collection of electron diffraction data. At the core is a Python library for transmission electron microscope experimental control with bindings for the JEOL/FEI microscopes and interfaces to the ASI/TVIPS/Gatan cameras. Routines have been implemented for collecting serial electron diffraction (serialED), continuous rotation electron diffraction (cRED, aka 3D-ED / microED), and stepwise rotation electron diffraction (RED) data. For streaming cameras, instamatic includes a live-view GUI.

Instamatic is distributed via pypi and https://github.com/instamatic-dev/instamatic/releases. However, the most up-to-date version of the code (including bugs!) is available from this repository.

Electron microscopes supported:

  • JEOL microscopes with the TEMCOM library
  • FEI microscopes via the scripting interface

Cameras supported:

  • ASI Timepix
  • ASI CheeTah through serval-toolkit library
  • TVIPS cameras through EMMENU4 API
  • Quantum Detectors MerlinEM
  • Gatan cameras through FEI scripting interface
  • (Gatan cameras through DM plugin [1])

Instamatic has been developed on a JEOL-2100 with a Timepix camera, and a JEOL-1400 and JEOL-3200 with TVIPS cameras (XF416/F416).

See instamatic-dev/instamatic-tecnai-server for a TEM interface to control a FEI Tecnai or FEI Titan TEM and associated cameras on Windows XP/Python 3.4 via instamatic.

[1]: Support for Gatan cameras is somewhat underdeveloped. As an alternative, a DigitalMicrograph script for collecting cRED data on a OneView camera (or any other Gatan camera) can be found here.

Installation

If you use conda, create a new environment:

conda create -n instamatic python=3.11
conda activate instamatic

Install using pip, works with python versions 3.9 or newer:

pip install instamatic

OS requirement

The package requires Windows 7 or higher. It has been mainly developed and tested under Windows 7 and higher.

Package dependencies

Check pypoject.toml for the full dependency list and versions.

Documentation

See the documentation for how to set up and use Instamatic.

Reference

If you found Instamatic useful, please consider citing it or one of the references below.

Each software release is archived on Zenodo, which provides a DOI for the project and each release. The project DOI 10.5281/zenodo.1090388 will always resolve to the latest archive, which contains all the information needed to cite the release.

Alternatively, some of the methods implemented in Instamatic are described in:

Maintenance

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

instamatic-2.2.1.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

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

instamatic-2.2.1-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file instamatic-2.2.1.tar.gz.

File metadata

  • Download URL: instamatic-2.2.1.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for instamatic-2.2.1.tar.gz
Algorithm Hash digest
SHA256 f69c0b1782257192767661e4b94286c108c1659f0662b0a18fe9e8157c0cb120
MD5 018315abb88a2c443587b9636e33e7db
BLAKE2b-256 8a711d63757613a2f65c9e6a6b0bdad15f77b6289678c56e107f15cb7699f0f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for instamatic-2.2.1.tar.gz:

Publisher: publish.yml on instamatic-dev/instamatic

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

File details

Details for the file instamatic-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: instamatic-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for instamatic-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fac7cdce55168d734d9826156d947cea20d3a7a414a242e36b225016719f9407
MD5 7f3fe81aa7ce9440b21c8f86ab6895af
BLAKE2b-256 94b3fec09166ed28b13cded4d73bddcf4c62d7a1c26a383c8fac2e897534dab9

See more details on using hashes here.

Provenance

The following attestation bundles were made for instamatic-2.2.1-py3-none-any.whl:

Publisher: publish.yml on instamatic-dev/instamatic

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