Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Unknown macro: {alias}

Name

gsm — Grid slices manipulation

Syntax

# Grid slices manipulation
gsm [workspacename] [x | y] [sub | add | mul | div] [sel selection]

# Switch columns in cube.
gsm swc [-] [yxz | xzy | zyx]

Description

A 3d cube has grid dimension nrow, ncol, nlay for number of elements in a row, in a column and vertical layers or slices. A standard grid has dimension nrow, ncol , 1.

For a 3d cube it is possible to make grid slice operations between the slices of the same cube, or between slices of different cubes.

The result is always saved in the active cube (3D-grid).

Arguments

workspacename

x | y

sub | add | mul | div

swc yxz

swc xzy

swc zyx

- yxz | xzy | zyx

Examples

Ex.1: Adding layers

gsm add       ;# Adding the next layer to the current layer in the cube for all layers.

See also

cal - Calculation algorithms, gr3 - Grid data into 3D cube, gse - Grid selection of a sub grid

  • No labels