Python package for controlling Nanonis Tramea software through python
Project description
Python Interface Package for Nanonis
Official python package for the Nanonis TRAMEA Controller software.
Usage
This package allows users of the Nanonis TRAMEA Controller software to use and control said software through python commands.
How to use
Importing
import nanonis_tramea
Initializing Connection through the socket module
import socket
connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
connection.connect((IP_ADRESS_HERE, PORT_HERE))
nanonisInstance = nanonis_spm.Nanonis(connection)
NOTE : THE PORT HAS TO BE AN INTEGER AND THE IP ADRESS A STRING
Enabling Debug Console Output
The function "returnDebugInfo()" takes an integer as an argument. This integer should be either 1 = on, or 0 = off. This option is off by default.
Enable by running: nanonisInstance.returnDebugInfo(1)
Examples
There is a collection of examples installed with the package.
The description of all the available functions can be found in the TCP Protocol Document, and hovering on the function depending on the used IDE.
IMPORTANT: The TCP Interface requires every argument to be of certain size (see documentation). This is why the Numpy dependency is required, since it enables the specification of variable sizes.
Change Log
1.0.3
Added the function Util.VersionGet to get the software version, the MCVA5 preamplifier functions, and the V5e Generic PI Controller functions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nanonis_tramea-1.0.3.tar.gz.
File metadata
- Download URL: nanonis_tramea-1.0.3.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b228aa75c5735797b424a847d87cf4a877b46a9550e02c3e70cd882e539f691e
|
|
| MD5 |
9baac40110564573f1acf8457e25bf4c
|
|
| BLAKE2b-256 |
f1aecec1d3321e01b53455f4116388d33dd5d3bf8917aa2610e3e2eb1bbc35c8
|
File details
Details for the file nanonis_tramea-1.0.3-py3-none-any.whl.
File metadata
- Download URL: nanonis_tramea-1.0.3-py3-none-any.whl
- Upload date:
- Size: 36.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
992fcfdc2b5dba562b195cf77cd9f207072f0ed5a9e96740601407cc67eb2c77
|
|
| MD5 |
6301347aad847b3b8f9d80578d724389
|
|
| BLAKE2b-256 |
a3b1b35a7c78ab555e94d66b964884807792abef883fff2e7651c035a068967d
|