Skip to content

danielnrainer/JEOL_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEM Scripts Collection

A collection of Python scripts/apps/utilities designed for automating and enhancing workflows with Rigaku Synergy-ED instruments and JEOL TEMs. This repository contains various standalone utilities designed to simplify common tasks in electron microscopy.

Requirements

  • Python 3.8 (higher not tested)
  • comtypes (Windows only — communicates with the JEOL TEM3 COM server)
  • Additional requirements per script (see individual .py files); global requirements.txt contains all packages

Note: PyJEM is no longer required. All scripts communicate directly with the JEOL COM interface via comtypes.

Installation

  1. Clone this repository:
git clone https://github.com/danielnrainer/TEM-scripts.git
cd TEM-scripts
  1. Install common dependencies:
pip install -r requirements.txt

Scripts

  • beam_blank.py - Control beam blanking on JEOL microscopes via the JEOL TEM3 COM interface
  • beam_blank_comtypes.py - Alternative beam blank controller using direct comtypes COM access (no PyJEM dependency)
  • HT_ramping.py - High-tension ramping utility; ramps the accelerating voltage between setpoints at a controlled rate via the JEOL TEM3 COM interface
  • stage_logger.py - Logging script (CLI only) for stage positions of JEOL TEMs and Synergy-ED diffractometers

Usage

Each script is standalone and can be run independently. Navigate to the script's directory and run it using Python:

python script_name.py

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages