Philips XL30 Environmental Scanning Electron Microscope (ESEM) control libraries and utilities (unofficial)
Under development
This repository contains a small set of utilities and control libraries for the Philips XL30 environmental scanning electron microscope (ESEM). This code is not associated with Philips or FEI in any way.
Current available components:
- The
xl30serial.xl30serialmodule provides a simple interface to the XL30 using it's serial console server. Remote control via the serial interface has to be enabled on the console. This route of control has been chosen since DDE and shared memory via flat thunking is not working since the Windows 2K update. Unfortunately not all parameters like chamber pressure are available via the serial port - and transfer of images has to work via files. This library is under development and may change at any point in future. It only implements a small subset of the supported commands.
Installation
This package is available as PyPi package and automatically build on each tag by an automated build system.
pip install pyxl30-tspspi
Usage
Simple sample with internal methods
This simple sample currently uses private methods of the class. Usually one should access the microscope via it's base class from the pylabdevs project. This base class is currently under development.
from xl30serial import XL30Serial
from time import sleep
with XL30Serial("/dev/ttyU0", logger, debug = True) as xl:
print(xl._get_id())
xl._set_hightension(30e3)
sleep(120)
xl._set_scanmode(ScanningElectronMicroscope_ScanMode.FULL_FRAME)
xl._set_imagefilter_mode(ScanningElectronMicroscope_ImageFilterMode.INTEGRATE, 1)
while(xl._get_imagefilter_mode()['mode'] != ScanningElectronMicroscope_ImageFilterMode.FREEZE):
sleep(0.5)
xl._write_tiff_image("c:\\temp\\IMAGE.TIF")
xl._set_scanmode(ScanningElectronMicroscope_ScanMode.FULL_FRAME)
xl._set_hightension(0)
Metadata
Release files for pyxl30-tspspi 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyxl30_tspspi-0.0.13.tar.gz | 14.8 kB | Without provenance | Details for pyxl30_tspspi-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxl30_tspspi-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for pyxl30_tspspi-0.0.13-py3-none-any.whl |
Total release size: 30.7 kB
Release files / pyxl30_tspspi-0.0.13.tar.gz
| Download URL | pyxl30_tspspi-0.0.13.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9beaa63958ab913dffdc57dbbafb6fc2e8fadf9a6fe41260dd675c72437700e
|
|
BLAKE2b-256 checksum How to use checksums |
6da684f1619dd202a0d85d45458ede431ff96604778e314575a8d7136fd2f6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.13
|
Release files / pyxl30_tspspi-0.0.13-py3-none-any.whl
| Download URL | pyxl30_tspspi-0.0.13-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91bc29a6fe8a6d080ce55e3a533cf68d75fc7b5357ed148c9dcc45e7ab01e4d2
|
|
BLAKE2b-256 checksum How to use checksums |
2eac2d4d31a1cb7a4fabdfb8e48ed33abf5b3d337f5d2ab69f18283c64e6d563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.13
|
Security for pyxl30-tspspi 0.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.