Skip to main content

MATE for Dummies is a Python library for using scriptable MATE objects. The Scienta Omicron MATRIX Automated Task Environment (MATE) is using the MATRIX SPM Control System. MATE for Dummies is pure Python but it loads a dynamic link library RemoteAccess_API.dll, a C-language interface for remote controlling MATRIX.

MATE for Dummies consists of two modules, mate and objects. The expert module mate uses most of the C-language functions in the RemoteAccess_API. With this module you must use the MATE HELP System to provide the arguments for the remote_access function that is in the mate module. The dummy module objects will provide a fraction of the available MATE objects but enough to do most of the experiments.

Dependencies

MATE for Dummies requires the psutil (https://pypi.org/project/psutil/) and pefile (https://pypi.org/project/pefile/) libraries.

Installation

Using pip:

> pip install MATE-for-Dummies

Example usage

Dummy mode:

>>> import mate4dummies.objects as mo
Starting log on Thursday, 10 May 2018 16:46:40.

>>> mo.mate.connect()
Connecting to the MATRIX, response: RMT_SUCCESS.

Experiment parameter Name: STM_Basic.

Experiment parameter Result_File_Name: default_2018May10-164819_STM-STM_Basic.

Experiment parameter Result_File_Path: C:\Users\stephan\AppData\Roaming\Scienta Omicron\MATRIX\default\Results\10-May-2018.
>>> mo.xy_scanner.Angle()
10
>>> mo.xy_scanner.Angle(45)
45
>>> mo.gap_voltage_control.Voltage(0.5)
0.5
>>> mo.mate.disconnect()
Disconnecting from the MATRIX, response: RMT_SUCCESS.

>>>

There are four, very educational, testing scripts available in the MATE for Dummies package. In the following example you can locate these files.

>>> import mate4dummies, os
>>> os.path.join(mate4dummies.__path__[0], 'testing')
'C:\\Users\\stephan\\Python\\Python38\\lib\\site-packages\\mate4dummies\\testing'
>>>

Authors & affiliations

Stephan J. M. Zevenhuizen [1]

Release files for MATE-for-Dummies 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for MATE-for-Dummies 0.5.2
File Interpreter ABI Platform
MATE_for_Dummies-0.5.2-py3-none-any.whl Python 3 none any Details

Release files / MATE_for_Dummies-0.5.2-py3-none-any.whl

Download URL MATE_for_Dummies-0.5.2-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaa6d97eff5b3a292a352974d49d73b154fcf8e5684baaa1a3113e2e3e63c8ff
BLAKE2b-256 checksum
How to use checksums
b52fb387dfaf0ce4cf45645f2049a02298b3b0ab0ed6201211ef6f104683c828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.5.2 This release

1 release file

0.4.2

1 release file

0.4.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page