A Python package for modelling scanning near-field optical microscopy measurements.
The main purpose of snompy
is to provide functions to calculate the effective polarizability, of a SNOM tip and a sample, which can be used to predict contrast in SNOM measurements.
It also contains other useful features for SNOM modelling, such as an implementation of the transfer matrix method for calculating far-field reflection coefficients of multilayer samples, and code for simulating lock-in amplifier demodulation of arbitrary functions.
For more details, including tutorials and example scripts, see the snompy documentation.
Using pip
:
pip install snompy
Using conda
:
conda install -c conda-forge snompy
This package is open source and free to use.
We only ask that you cite our paper, to acknowledge the time and effort that went into developing snompy
.
Please see the section Cite us from the snompy documentation for details on how.