Skip to main content

Build Status Coverage Status Install with conda

nanonispy

A small library written in python 3 to parse Nanonis binary and ascii files.

Nanonispy was made in needing to do a lot of analysis for scanning tunneling microscopy (STM) data, and thought this would be good practice in creating a proper python library. That being said it is in no way foolproof and if anybody else actually uses this please let me know if you run into issues.

Nanonispy can read Nanonis grid, scan, and point spectroscopy files. This means it will read the file header and parse that into a somewhat useful dictionary for later use, as well as read in the binary/ascii data in a relatively general way to accomadate data with multiple channels stored, or custom spectroscopy experiments.

Requirements

Currently written and tested with

  • python 3.9

  • python 3.8

  • python 3.7

  • python 3.6

Depends on

  • numpy

Install

For the most up-to-date version, install from github as pip and conda packages are not updated as frequently.

pip

pip install nanonispy

conda

conda install --channel https://conda.anaconda.org/underchemist nanonispy

github

Simply clone this repo and run

python setup.py install

Basic usage

Once installed, you should be able to import it to any python script or ipython session.

import nanonispy as nap

Then given a file,

grid = nap.read.Grid('/path/to/datafile.3ds')

You can look at the attributes and methods to determine the information available.

Running tests

Similar to the install, except run

python setup.py test

. If you have the nose module installed, it’s as simple as

nosetests

.

You can also see coverage of the tests as well as ignore the test discovery of numpy core packages (don’t quite understand why it does this) with

nosetests --with-coverage --cover-branches --cover-package=nanonispy

.

Release files for nanonispy 1.1.0

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

Source distribution (sdist)

Source distribution for nanonispy 1.1.0
File Size Uploaded
nanonispy-1.1.0.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nanonispy 1.1.0
File Interpreter ABI Platform
nanonispy-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / nanonispy-1.1.0.tar.gz

Download URL nanonispy-1.1.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e89ae48fe979d292eab319dfb99ef7813d5e579e5a09ed8397d6fb1060db8ef2
BLAKE2b-256 checksum
How to use checksums
932bfef1d2b379849a0b708b6fc62afb7616400eea12b7b77783b6e3d4ed4b19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

Release files / nanonispy-1.1.0-py3-none-any.whl

Download URL nanonispy-1.1.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34c9a478087447360ae4d076cb5e941053bd08ae0c897fb5cbe55695b694ca10
BLAKE2b-256 checksum
How to use checksums
aa0556e2f70d11640605a3dac334cd8368feae044ed7d211bc5ae944749acd3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1.0.1

1 release file

1.0

2 release files

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