Skip to main content

TEM Scripting adapter for FEI microscopes

Project description

About

The temscript package provides a Python wrapper for the scripting interface of Thermo Fisher Scientific and FEI microscopes. The functionality is limited to the functionality of the original scripting interface. For detailed information about TEM scripting see the documentation accompanying your microscope.

The temscript package provides two interfaces to the microsope. The first one corresponds directly to the COM interface. The other interface is a more high level interface. Within the temscript package three implementation for the high level interface are provided, one for running scripts directly on the microscope PC, one to run scripts remotely over network, and finally a dummy implementation for offline development & testing exists.

Currently the temscript package requires Python 3.4 or higher. The current plan is to keep the minimum supported Python version at 3.4, since this is the latest Python version supporting Windows XP.

The sources can be found on GitHub: https://github.com/niermann/temscript

Documentation

The documentation of the latest version can be found at:

https://temscript.readthedocs.io/

Installation

Requirements:

  • Python >= 3.4 (tested with 3.4)
  • Numpy (tested with 1.9)
  • Sphinx (only for building documentation, tested with 1.6)

On all platforms the dummy and remote high level interfaces are provided. On Windows platforms the package provides the Python wrapper to the scripting COM interface. However, trying to instantiate this wrapper will fail, if the scripting COM classes are not installed locally.

Installation from PyPI (using pip)

This assumes you have connection to the internet.

Execute from the command line (assuming you have your python interpreter in the path, this might require superuser or administrator privileges):

python3 -m pip install --upgrade pip
python3 -m pip install temscript

Offline-Installation from wheels file (using pip)

This assumes you have downloaded the wheels file .whl

Execute from the command line (assuming you have your python interpreter in the path, this might require superuser or administrator privileges):

python3 -m pip install --upgrade pip
python3 -m pip install <downloaded-wheels-file>.whl

Installation from sources (using pip)

This assumes you have downloaded and extracted the sources into the directory <source_directory> (alternative have cloned the sources from GitHub into <source_directory>).

Execute from the command line (assuming you have your python interpreter in the path, this might require superuser or administrator privileges):

python3 -m pip install --upgrade pip
python3 -m pip install <source_directory>

Installation from sources (using distutils)

This assumes you have downloaded and extracted the sources into the directory <source_directory> (alternative have cloned the sources from GitHub into <source_directory>).

Execute from the command line (assuming you have your python interpreter in the path, this might require superuser or administrator privileges):

cd <source_directory>
python3 setup.py install

Supported functions of the COM interface

Relative to Titan V1.1 scripting adapter:

  • Projection: complete
  • Stage: complete
  • Configuration: complete
  • Acquisition: complete
  • AcqImage: complete
  • CCDCamera: complete
  • CCDCameraInfo: complete
  • CCDAcqParams: complete
  • STEMDetector: complete (but untested)
  • STEMAcqParams: complete (but untested)
  • STEMDetectorInfo: complete (but untested)
  • Camera: complete
  • Gauge: complete
  • Vacuum: complete
  • UserButton: missing
  • AutoLoader: missing
  • TemperatureControl: missing
  • Illumination: complete

Copyright & Disclaimer

Copyright (c) 2012-2021 by Tore Niermann Contact: tore.niermann (at) tu-berlin.de

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

temscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENCE.txt file for any details.

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

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

temscript-2.1.0.tar.gz (52.9 kB view details)

Uploaded Source

Built Distribution

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

temscript-2.1.0-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file temscript-2.1.0.tar.gz.

File metadata

  • Download URL: temscript-2.1.0.tar.gz
  • Upload date:
  • Size: 52.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for temscript-2.1.0.tar.gz
Algorithm Hash digest
SHA256 6fe7468df1566efaecc83caedd2b90d04fa7ef6a2d60b646940935170dd5cbf3
MD5 b681c1eb286eda4ec63b338c8c29505f
BLAKE2b-256 3de054597019e74957278ea0538ee0799c0b2a8ad5b15f871b7b2ce7a9b15a58

See more details on using hashes here.

File details

Details for the file temscript-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: temscript-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for temscript-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca0a3d0c57628395f0d1c98f05e4cef5b8aaa0703c33e5dbbca3f4a1029ab571
MD5 57737f14fe7930dec0cdaa95a48a3b2d
BLAKE2b-256 e35d321077203920c67489a5916a65e3a235216c4da29f6682fbbe01b9d83d08

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