ppafm.fieldFFT#

ppafm.fieldFFT.Average_surf(Val_surf, W_surf, W_tip)[source]#
Int_r Val_surf(r+R) W_tip(r) W_sample(r+R) W_tip) * (Val_surf W_sample)
<F>(R) = —————————————– = —————————–; where * means convolution
Int_r W_tip(r) W_sample(r+R) W_tip * W_sample
ppafm.fieldFFT.Average_tip(Val_tip, W_surf, W_tip)[source]#
Int_r Val_tip(r) W_tip(r) W_sample(r+R) (Val_tip W_tip) * W_sample
<F>(R) = —————————————– = —————————–; where * means convolution
Int_r W_surf(r) W_sample(r+R) W_tip * W_sample
ppafm.fieldFFT.addCoreDensities(atoms, valElDict, rho, lvec, sigma=0.1)[source]#
ppafm.fieldFFT.addCoreDensity(rho, val, x, y, z, sigma=0.1)[source]#
ppafm.fieldFFT.conv3DFFT(F2, F1)[source]#
ppafm.fieldFFT.exportPotential(rho, rho_data='rho_data')[source]#
ppafm.fieldFFT.fieldInfo(F, label='FieldInfo: min max av: ')[source]#
ppafm.fieldFFT.getForceTransform(sampleSize, dims, dd, X, Y, Z)[source]#
ppafm.fieldFFT.getForces(V, rho, sampleSize, dims, dd, X, Y, Z)[source]#

returns forces for all axes, calculation performed in orthogonal coordinates, but results are expressed in skew coord.

ppafm.fieldFFT.getMGrid(dims, dd)[source]#

returns coordinate arrays X, Y, Z

ppafm.fieldFFT.getNormalizedBasisMatrix(sampleSize)[source]#

returns transformation matrix from OG basis to skew basis

ppafm.fieldFFT.getProbeDensity(sampleSize, X, Y, Z, dd, sigma=0.7, multipole_dict=None, tilt=0.0)[source]#

returns probe particle potential

ppafm.fieldFFT.getSampleDimensions(lvec)[source]#

returns lvec without the first row

ppafm.fieldFFT.getSize(inp_axis, dims, sampleSize)[source]#

returns size of data set in dimension inp_axis together with the length element in the given dimension

ppafm.fieldFFT.getSkewNormalBasis(sampleSize)[source]#

returns normalized basis vectors pertaining to the skew basis

ppafm.fieldFFT.getSphericalHarmonic(X, Y, Z, kind='dz2', tilt=0.0)[source]#
ppafm.fieldFFT.potential2forces(V, lvec, nDim, sigma=0.7, rho=None, multipole=None, tilt=0.0)[source]#
ppafm.fieldFFT.potential2forces_mem(V, lvec, nDim, sigma=0.7, rho=None, multipole=None, doForce=True, doPot=False, deleteV=True, tilt=0.0)[source]#
ppafm.fieldFFT.printMetadata(sampleSize, dims, dd, xsize, ysize, zsize, V, rho)[source]#
ppafm.fieldFFT.rotZX(Z, X, tilt=0.0)[source]#