Skip to main content

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.7

Added missing argument to TCPLog_ChsSet.

1.0.6

Fixed the programmatic control of the Oscilloscope High Resolution graph, where some functions now include an input for channel selection to support the 4-channel version of this graph.

1.0.5

Fixed some missing variable names in the function declaration of some MCVA functions. Removed a check in the ParseError function which set a different error string offset for functions returning exactly 8 bytes.

1.0.4

Fixed the indentation of two Script functions (Script.Open and Script.LUTOpen) which triggered an error when trying to use the class. Changed the behavior of the returnDebugInfo function so that nothing is printed out if there is no error.

1.0.3

Added the function Util.VersionGet to get the software version, the MCVA5 preamplifier functions, and the V5e Generic PI Controller functions.

Metadata

Release files for nanonis-tramea 1.0.7

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

Source distribution (sdist)

Source distribution for nanonis-tramea 1.0.7
File Size Uploaded Provenance Actions
nanonis_tramea-1.0.7.tar.gz 1.1 MB Without provenance Details for nanonis_tramea-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nanonis-tramea 1.0.7
File Interpreter ABI Platform Actions
nanonis_tramea-1.0.7-py3-none-any.whl Python 3 none any Details for nanonis_tramea-1.0.7-py3-none-any.whl

Total release size: 1.1 MB

Release files / nanonis_tramea-1.0.7.tar.gz

Download URL nanonis_tramea-1.0.7.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
440379e996e54a2ae21d5f7096a4f44045ac98de7f9935036bb017256707fe84
BLAKE2b-256 checksum
How to use checksums
447795bd1ab1ec33755d16c7b4144c269518f01786e6f0b6645e6524e832d9bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.1

Release files / nanonis_tramea-1.0.7-py3-none-any.whl

Download URL nanonis_tramea-1.0.7-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5f72a2119fe36030051246a50f9cdbd251c5facb6366484499a92078b6e848c
BLAKE2b-256 checksum
How to use checksums
0ded2092c2b2838d536bc0c8585bd9dc07be5cc05c96c28d27e9b0af81fbd5aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.1

Security for nanonis-tramea 1.0.7

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.

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