Finite dipole model (snompy.fdm)#

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

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 using the finite dipole model, demodulated at harmonics of the tapping frequency.

eff_pol

Return the effective probe-sample polarizability using the finite 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 finite 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 the finite dipole model.

geom_func_multi

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

geom_func_taylor

The height-dependent part of the separable Taylor series expression for the FDM.

taylor_coef

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

eff_pol_n_taylor

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