MCPcopy Create free account
hub / github.com/SINGROUP/dscribe / f

Function f

tests/testutils.py:172–175  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

170 m = weighting["m"]
171
172 def f(r):
173 w = c * np.power(1 + 2 * (r / r0) ** 3 - 3 * (r / r0) ** 2, m)
174 w[r > r0] = 0
175 return w
176
177 func = f
178 elif fname == "pow":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected