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 15 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

Unknown macro: {indent}

Name in workspace with 3D-grid. If left out, operations are performed on active 3D-grid.

x | y

Unknown macro: {indent}

Direction of operation. If left out, the operation is performed in the z coordinates.

sub | add | mul | div

Unknown macro: {indent}

Mathematical operation between slices. Example: The next slice is added to the current. This is done done through the cube.

swc yxz

Unknown macro: {indent}

The x and y columns are switched.

swc xzy

Unknown macro: {indent}

The z and y columns are switched.

swc zyx

Unknown macro: {indent}

The z and x columns are switched.

  • - yxz | xzy | zyx*
    Unknown macro: {indent}

    The minus sign tells to change order of column switching to highest column first.

Examples

Ex.1: Adding layers

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

See also

cal, gr3, gse

  • No labels