spline3D
index


Three dimensional cubic interpolation.
 
Class FloatSpline3D
 
Constructor:
 
  FloatSpline3D(xarr,yarr,zarr,farr,periodic=PERIODIC_NOT)
 
    create an object which contains an interpolated version of the function
    f(x,y,z). xarr, yarr, and zarr are sequences defining the regular array
    of input grid points in the 3 dimensions, while farr contains values for
    f at each of these grid points - it must be of dimension Nx*Ny*Nz with
    data stored such that adjacent elements in farr have adjacent indices in
    the z dimension. The periodic argument can be used to specify that
    f(x,y,z) is periodic in one or more of the dimensions. The value can be
    bit-wise OR'd using values of PERIODIC_X, PERIODIC_Y, PERIODIC_Z.
 
Methods:
 
  __operator__(x,y,z) - return interpolated function f at the point (x,y,z).
  derivs(x,y,z,)      - compute the gradient of the function f at the point
                        (x,y,z). And return this as a three-membered tuple.
                        [not currently implemented in Python]
 
 
 
 
 
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

 
Classes
       
builtins.object
FloatSpline3D

 
class FloatSpline3D(builtins.object)
    FloatSpline3D(*args, **kwargs)
 

 
  Methods defined here:
__call__(self, *args, **kwargs) -> 'double'
Call self as a function.
__init__(self, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__ = _swig_repr(self)
derivs(self, *args, **kwargs) -> 'void'
init(self, *args, **kwargs) -> 'void'

Static methods defined here:
__swig_destroy__ = delete_FloatSpline3D(...)

Data descriptors defined here:
__dict__

 
dictionary for instance variables (if defined)
__weakref__

 
list of weak references to the object (if defined)
thisown

 
The membership flag

Data and other attributes defined here:
PERIODIC_NOT = 0
PERIODIC_X = 1
PERIODIC_Y = 2
PERIODIC_Z = 4

 
Functions
       
pyXplorHelp(*args) -> 'String'

 
Data
        PERIODIC_NOT = 0
PERIODIC_X = 1
PERIODIC_Y = 2
PERIODIC_Z = 4