Probe-Particle / ppafm

Classical force field model for simulating atomic force microscopy images.
MIT License
50 stars 19 forks source link

Make KPAFM work with general bias voltage #245

Closed yakutovicha closed 3 months ago

mondracek commented 7 months ago

The bias range has to be in the form Vmin = -V, .... , V0 = 0, ... Vmax = +V for KPFM to work. That is, the voltage samples must be positive and negative, symmetric with respect to zero, and one of the voltages has to be exactly zero. Otherwise, KPFM outputs a nonsensical LCPD, without warning. I want to remove this restriction.