Skip to main content

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.

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

nanonis_tramea-1.0.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

nanonis_tramea-1.0.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file nanonis_tramea-1.0.0.tar.gz.

File metadata

  • Download URL: nanonis_tramea-1.0.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.1

File hashes

Hashes for nanonis_tramea-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d6fa61ea0f75563ae1bf5db4abb27c1e9e3ee962466c607fc09120ac1c4423d2
MD5 40e21ed3e29b517e32a3511d92bb46c7
BLAKE2b-256 64b65766525b020a2d42ed91945b0dcbfe54aa82256333512d667c7a9e2ce5b0

See more details on using hashes here.

File details

Details for the file nanonis_tramea-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nanonis_tramea-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.1

File hashes

Hashes for nanonis_tramea-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eddaff8f4d3bf1b7d4d35dcfb5dfe3c859cab0d6dbe6d8784219d13ab3efcef6
MD5 07733e06c2450238d3dce89da29eed25
BLAKE2b-256 e11e36bf3bdb929a8101bc2f36acb4033b2bd9d253e0fffa9f1ab6381f9125f5

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