- dynamo.vf.alignment(numPaths, numTimeSteps, pot_path, path_tag, attractors_pot, x_path, y_path, grid=100, interpolation_method='linear')
Align potential values so all path-potentials end up at same global min and then generate potential surface with interpolation on a grid.
int) – Total Number of paths for defined grid spacing.
int) – A high-enough number for convergence with given dt.
ndarray) – Potential along the path. (dimension: numPaths x numTimeSteps)
ndarray) – Tag for given path (to denote basin of attraction). (dimension: numPaths x 1)
ndarray) – Potential value of each identified attractors by the path integral approach.
ndarray) – x-coord. along path.
ndarray) – y-coord. along path.
int) – No. of grid lines in x- and y- directions
Method of interpolation in griddata function. One of
nearestreturn the value at the data point closest to the point of interpolation. See NearestNDInterpolator for more details.
lineartessellate the input point set to n-dimensional simplices, and interpolate linearly on each simplex. See LinearNDInterpolator for more details.
cubic(1-D) return the value determined from a cubic spline.
cubic(2-D) return the value determined from a piecewise cubic, continuously differentiable (C1), and approximately curvature-minimizing polynomial surface. See CloughTocher2DInterpolator for more details.
x-coordinates of the Grid produced from the meshgrid function. Ygrid: y-coordinates of the Grid produced from the meshgrid function. Zgrid: z-coordinates or potential at each of the x/y coordinate.
- Return type: