SpmImages.jl
A julia library to read and display SPM (scanning probe microscopy) images. Currently, only Nanonis files are supported.
The commands are somewhat similar to the ones in the respective python version imagex.
Installation
Install from the Julia package registry:
pkg> add SpmImages
Getting started
using SpmImages
using Plots # needs to be manually imported for plotting functions
# load an SPM image
ima = load_image("Image_445.sxm");
# Plot a specific image channel directly from the image
plot_channel(ima, "frequency shift")
# Get a channel as 2D data and directly plot it
c = get_channel(ima, "current");
plot_data(c.data, color=:lapaz, title="current", legend=:none)
# Plot using the Images library
using Images
d = get_channel(ima, "current bwd", origin="upper").data
d = d .- minimum(d)
d = d ./ maximum(d)
Gray.(d)
Code examples can be found in the example notebook.
Get in touch
Please post issues, suggestions, and pull requests on github. Follow me on twitter for updates and more information about this project:
Related projects
- SpmImageTycoon.jl: App to organize SPM images and spectra.
- SpmSpectroscopy.jl: Julia library to read and analyze SPM spectra.
- SpmGrids.jl: Julia library to read and analyze SPM grid spectroscopy.
- imagex: Python scripts to analyze scanning probe images.
- gridex: Python scripts to analyze 3D grid data.