Load Nanonis data
Project description
nanonis_load
A library for loading, plotting, and analyzing data from Nanonis SPM files, with special attention to $dI/dV(V_s, V_g)$ data from gate-tunable samples in the field-effect transistor (FET) geometry.
This library is no longer compatible with Python 2.7 as of version 3.0.0.
The following file types are supported:
*.dat Bias Spectroscopy files
*.3ds Grid Spectroscopy files
*.sxm Image files
Basic Usage
To load and plot .dat files:
spec = didv.spectrum('FILENAME.dat')
specPlot = didv.plot(spec, channel = 'Input 2 (V)')
didv.plot takes individual spectrum objects or a list of spectrum objects.
You can click on the line symbol on the legend to show or hide an individual spectrum.
To plot $dI/dV(V_s, V_g)$ colorplots, where $V_s$ is the sample bias and $V_g$ is gate voltage annotated in the header of each .dat file:
cPlot = didv.colorplot(BASENAME)
bar = cPlot.drag_bar(direction = 'horizontal')
cPlot.xlim(XMIN, XMAX)
cPlot.ylim(YMIN, YMAX)
cPlot.clim(CMIN, MAX)
Nanonis image files (.sxm) can be loaded and plotted as follows:
imageData = sxm.sxm('FILENAME.SXM')
imagePlot = sxm.plot(imageData, channel = 'Z (m)')
imagePlot.fft()
And 2D Nanonis binary files (.3ds) can be loaded and plotted using the 'grid' module:
gridData = grid.nanonis_3ds('FILENAME.3ds')
gridPlot = grid.plot(gridData, channel = 'Input 2 (V)', fft = True)
UP and DOWN arrow keys on the keyboard can be used to iterate over different energies.
1D line grids can be loaded and plotted using the grid.linecut class.
There are two different ways of creating Landau fans in this library: didv.landau_fan and magnetoconductance.landau_fan.
Installation
This package is available on PyPI:
pip install nanonis-load
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
Hashes for nanonis_load-3.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e889e9819afb13ef228dbe1f6711733aaab53b3cefb682dc25690cd7c01b0560 |
|
MD5 | 3f9d5ce9ff78fd8ea59a5da4ea239241 |
|
BLAKE2b-256 | f69697638852c5c0db944863c65046f08401305ebbf9b6d5539ec5cbb2cf51fe |