xnn.ffnn.models.amoeba.RadialSeries#

class xnn.ffnn.models.amoeba.RadialSeries(terms)[source]#

Bases: object

A radial function sum_k c_k R^p_k exp(-(n_k zeta_i + m_k zeta_j) R / 2).

The kernels of the density-based terms (the Coulomb potential of a hydrogen-like density, the overlap of two such densities, its square) all have this form, and so does every member of their derivative ladder D_n = (1/R d/dR)^n g, which is what the Cartesian multipole interaction tensors are built from. Coefficients are tensors over the pairs (or Python floats); the exponent bookkeeping is exact.

Parameters:

terms (dict) – {(p, n, m): coefficient}.

shift(dp)[source]#

Multiply by R^dp.

Parameters:

dp (int)

Return type:

RadialSeries

ladder()#

(1/R) d/dR of a series: c R^p e^-aR -> c p R^(p-2) e^-aR - c a R^(p-1) e^-aR.

Parameters:

self (RadialSeries)

Return type:

RadialSeries