Module: GR::FFI
- Extended by:
- Fiddle::Importer, Inspector, GRCommons::TryExtern
- Defined in:
- lib/gr/ffi.rb,
lib/gr_commons/gr_logger.rb
Overview
FFI Wrapper module for GR. The functions for GR are listed here. Add functions here when a new version of GR is released.
Defined Under Namespace
Modules: Inspector
Constant Summary collapse
- Vertex =
github.com/sciapp/gr/blob/master/lib/gr/gr.h keep same order
struct [ 'double x', 'double y', ]
- Point3d =
Three-dimensional coordinate
struct [ 'double x', 'double y', 'double z', ]
- DataPoint3d =
Data point for ‘gr_volume_nogrid`
struct [ { pt: Point3d }, # Coordinates of data point 'double data', # Intensity of data point ]
- Guess =
Provides optional extra data for ‘gr_volume_interp_gauss`
struct [ 'double sqrt_det', # Square root of determinant of covariance matrix {gauss_sig_1: Point3d}, {gauss_sig_2: Point3d}, {gauss_sig_3: Point3d}, # \f$\Sigma^{-\frac{1}{2}}\f$ encoded as three column vectors ]
- TriLinear =
Provides optional extra data for ‘gr_volume_interp_tri_linear`
struct [ 'double grid_x_re', # Reciproke of interpolation kernel extent in x-directionGrid resolution in x direction 'double grid_y_re', # Reciproke of interpolation kernel extent in y-directionGrid resolution in y direction 'double grid_z_re', # Reciproke of interpolation kernel extent in z-directionGrid resolution in z direction ]