Point dipole model (snompy.pdm)#

This module provides functions for simulating the results of scanning near-field optical microscopy (SNOM) experiments by calculating the effective polarizability using the point dipole model (PDM).

Standard functions#

Functions for the effective polarizability of an AFM tip coupled to a sample, and the effective polarizability demodulated at higher harmonics.

eff_pol_n

Return the effective probe-sample polarizability, demodulated at higher harmonics, using the bulk point dipole model.

eff_pol

Return the effective probe-sample polarizability using the bulk point dipole model.

Inverse functions#

Functions to return the quasistatic reflection coefficient of a sample based on the effective polarizability of an AFM tip coupled to the sample.

refl_coef_qs_from_eff_pol_n

Return the quasistatic reflection coefficient corresponding to a particular effective polarizability, demodulated at higher harmonics, using a Taylor series representation of the FDM.

refl_coef_qs_from_eff_pol

Return the quasistatic reflection coefficient corresponding to a particular effective polarizability using the point dipole model.

Internal functions#

These functions are used by the standard functions in this module. In most cases you shouldn’t need to call these functions directly.

geom_func

Return a complex number that encapsulates various geometric properties of the tip-sample system for bulk point dipole model.

taylor_coef

Return the coefficient for the power of reflection coefficient used by the Taylor series representation of the bulk PDM.

eff_pol_n_taylor

Return the effective probe-sample polarizability using the point dipole model, demodulated at harmonics of the tapping frequency, using a Taylor series representation of the bulk PDM.