Skip to main content

Library to parse Nanonis files.

Project description

# nanonispy

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

## Requirements

Currently written and ‘tested’ with python 3.5, fairly sure this won’t work with version of python < 3.0

  • numpy (>1.10)

Will continue making tests that are actually useful and maybe will make this a conda/pip build.

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

`python import nanonispy as nap `

Then given a file,

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

I don’t know how to turn tests without nose…

## To do - homogenize grid and scan header keys, right now header formats are pretty different and I’m to lazy to do it myself.

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

nanonispy-1.0.tar.gz (34.3 kB view hashes)

Uploaded source

Built Distribution

nanonispy-1.0-py3-none-any.whl (11.8 kB view hashes)

Uploaded 3 5

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page