:mod:`atsim.potentials.tableforms` ================================== .. py:module:: atsim.potentials.tableforms Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: atsim.potentials.tableforms.Cubic_Spline_Table_Form .. py:class:: Cubic_Spline_Table_Form(x_data, y_data) Bases: :class:`object` Potential form that takes tabulated data and returns interpolated values. This potential uses cubic spline interpolation. It is simply a wrapper around the scipy.interpolate.InterpolatedUnivariateSpline class .. attribute:: config_label :annotation: = cubic_spline .. attribute:: is_potential :annotation: = True .. attribute:: interpolant This class is a wrapper around instances of scipy.interpolate.InterpolatedUnivariateSpline This property returns the scipy object used internally .. method:: __call__(self, x) :return: interpolated value at x .. method:: deriv(self, x) :return: derivative of potential form at x .. method:: deriv2(self, x) :return: second derivative of potential form at x