extrapolation¶
-
class
extrapolation.
Extrapolation
¶ Python interface to the Extrapolation C++ class:
Given a set of points, can calculate the adjacent points by extrapolation.
-
to_string
()¶ Return an extrapolation object in string respresentation
-
-
class
extrapolation.
CuspExtrapolation
¶ Extrapolation of the form \(a \exp^x\)
-
class
extrapolation.
PowerExtrapolation
(power)¶ Extrapolation of the form \(a x^n\)
-
to_string
()¶ Return an extrapolation object in string respresentation
-
-
class
extrapolation.
PotentialExtrapolation
(l)¶ An extrapolation suitable for solutions of the Poisson equation.
The prefactor of the left and right polynomial are such that the function remains continuous at the last grid point of the spline. The power of R on the left and right side is consistent with the boundary conditions of the solutions of the Poisson equation.
- Parameters
l (int) – The angular momentum for which the potential is computed.
-
to_string
()¶ Return an extrapolation object in string respresentation