trilinear_approx

plasmapy.analysis.nullpoint.trilinear_approx(vspace, cell)

Return a function whose input is a coordinate within a given grid cell and returns the trilinearly approximated vector value at that particular coordinate in that grid cell.

Note

This functionality is still under development and the API may change in future releases.

Parameters
  • vspace (array_like) – The vector space as constructed by the vector_space function which is A 1 by 3 array with the first element containing the coordinates, the second element containing the vector values, and the third element containing the delta values for each dimension.

  • cell (array_like of integers) – A grid cell, represented by a 1 by 3 array of integers, which correspond to a grid cell in the vector space.

Returns

A function whose input is a coordinate within a given grid cell and returns the trilinearly approximated vector value at that particular coordinate in that grid cell.

Return type

function