RESPITE: The CASA Toolkit Page: Documentation: Block Library Index:FindMax


FindMax

The basic operation of FindMax is to take a one-dimensional frame of data and to output the frame's maximum value and the index at which it occurs. The maximum value is sent to out1 and the index is sent to out2.

The FindMax block has been generalised to work on N dimensional frame data. If there is more than one dimension to the frame then the block will operate on every one dimensional line through the data parallel to a given axis. In this case output will be frames of N-1 data. If no axis is specified then the axis of the outer dimension is taken as default.

Inputs Meaning Sample 1-D frame $\ge$2-D frame
in1 frame data No Yes Yes

Outputs Meaning
out1 the maximum values
out2 the indices at which the maximum values occur

Parameters Type Default Meaning
AXIS String (outer) Name of axis to reduce



Documentation for CTKv1.1.4 - Last modified: Thu Jun 28 11:44:14 BST 2001