xnn.common.featurizers.radial.smooth_bessel_coefficients#
- xnn.common.featurizers.radial.smooth_bessel_coefficients(n_rbf, cutoff)[source]#
The smooth spherical Bessel functions as combinations of
sinc(k r / cutoff).Kocer, Mason and Erturk (AIP Adv. 10, 015021, 2020) sum two neighboring zeroth-order spherical Bessel functions,
f_n(r) = a_n [j0((n+1) pi r / rc) + j0((n+2) pi r / rc)]witha_n = (-1)^n sqrt(2) pi (n+1) (n+2) / (rc^1.5 sqrt((n+1)^2 + (n+2)^2)), so that each vanishes with its first derivative atrc, and orthogonalize them:g_0 = f_0andg_n = (f_n + sqrt(e_n / d_(n-1)) g_(n-1)) / sqrt(d_n), withe_n = n^2 (n+2)^2 / (4 (n+1)^4 + 1),d_0 = 1andd_n = 1 - e_n / d_(n-1). Herej0(k pi r / rc) = sinc(k r / rc).