https://github.com/benweare/em_scripts

Electron microscopy scripts not associated with any specific publications.

https://github.com/benweare/em_scripts

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary

Keywords

data-analysis digital-micrograph electron-microscopy transmission-electron-microscopy
Last synced: 6 months ago · JSON representation ·

Repository

Electron microscopy scripts not associated with any specific publications.

Basic Info
  • Host: GitHub
  • Owner: benweare
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 360 KB
Statistics
  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
data-analysis digital-micrograph electron-microscopy transmission-electron-microscopy
Created 8 months ago · Last pushed 6 months ago
Metadata Files
Readme License Citation

README.md

Electron Microscopy Scripts

A collection of various useful scripts, not associated with any particular publication.

Most scripts are for controlling TEMs via DigitalMicrograph (DM) scripting in DMScript and Python, with some image processing scripts, and a few other scripts that don't fall neatly into a category. Anything in MATLAB is probably a legacy from my PhD.

If you found these useful, please drop a reference in your work so others can benefit too.

List of Scripts

Tomography

  • auto-tomo: script for automated tomography. Records images over a tilt range by cloning the LiveView, and saves the angle metadata for repeatable measurements. Currently has no drift correction so relies on setting the eucentric height to minimise specimen drift in the x-y plane.

Microscope Control

  • AutoBlank: this script blanks the beam after a set amount of time has passed. Useful for repeatable irradation experiments.
  • Measure_Cc: script to record how focus changes as a function of accelerating voltage, to measure chromatic aberration of a TEM. See:
  • Beam centering: scripts to move the beam to pre-defined location, i.e. center the beam on the camera.
  • Various scripts for testing functionality in DM

Image Processing

  • drawzernikepolynomials creates image of the Zernike polynomials, and can be used to sum them together to make a phase plate.
  • definecustomLUT allows changing the colour table of images in DM without having to save the LUT as an image beforehand.
  • Various scripts related to the Hough transform for circle detection in TEM images.
  • FourierFilter.py performs an automated Fourier filter of an input HRTEM image and returns the filtered image.
  • TargetCentering.s draws a circle ROI in the centre of an image. Useful to find the geometric centre of the Live View during data collection sessions.

Calculations

  • Calculate elastic mean free path of fast electron through a material.
  • Calculate electron wavelength from accelerating voltage.

Data handling

  • Scripts to convert files to differnt formats, and count files in a folder.

Other

  • A python script for communication over serial ports.
  • A batch script for pinging domains and recording the results.

Owner

  • Name: Benjamin Weare
  • Login: benweare
  • Kind: user
  • Company: University of Nottingham

Research Fellow in Electron Diffraction

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Weare
    given-names: Benjamin L
    orcid: https://orcid.org/0000-0003-4209-2604
title: "Electron Microscopy Scripts"
identifiers:
date-released: 15-Jul-25
url: https://github.com/benweare/EM_scripts

GitHub Events

Total
  • Push event: 16
Last Year
  • Push event: 16