INTERPOLATING SLICER(1) 13 May 1992 INTERPOLATING SLICER(1) AVS Module Lawrence Berkeley Laboratory NAME interpolating slicer - extract non-integral orthogonal slices from fields. SUMMARY TYPE mapper INPUT field 4d/3d/2d (float) any coords scalar/vector OUTPUT field 3d/2d/1d (float) any coords scalar/vector PARAMETERS Name Type Default Min/Max Slicer Number integer 0 0..max size. Slice Plane choice k i,j,k,l DESCRIPTION Interpolating slicer is similar in function and form to "orthogonal slicer" and "new ortho slicer". Orthogonal slices are extracted from a source dataset. Refer to the help for those modules on the base functionality. The difference is that non-integral slicer numbers are permitted. In the case of a non-integral slicer number, the output data is computed to be a linear average of adjacent slices from the input data. For example, if a value of 25.4 is used as the slice number, then the resulting data would be 60% of slice 25 and 40% of slice 26. This module will process 4d/3d/2d fields producing 3d/2d/1d fields, respectively. This module has proven to be extremely useful in slicing in the time domain. PARAMETERS Slice Number - a floating point number representing the slice number to be extracted. Slice Plane - select which index variable to hold constant. EXAMPLE See the man pages for "orthogonal slicer" and "new ortho slicer." LIMITATIONS Linear interpolation is used for non-integral slice numbers. Extending this to higher order interpolants is straightforward, however, for all applications used in testing this module, the first order interpolant was adequate. Only fields of floating point data are presently allowed. The code may be easily extended to handle other data types (byte, integer and double). In early test versions of the code, these routines were present (not stubbed out). They have been stubbed until the next limitation is fixed. There are some permutations of 4d fields which have not been tested. We didn't have any 4d rectilinear or irregular fields to use in testing. Significant effort has been made, via desk checks, to ensure that these cases will be properly handled. AUTHOR Wes Bethel Lawrence Berkeley Lab, 13 May 1992 RELATED MODULES orthogonal slicer, new ortho slicer, arbitrary slicer, new arbitrary slicer AVS Module Lawrence Berkeley Laboratory INTERPOLATING SLICER(1) 13 May 1992 INTERPOLATING SLICER(1)