class OperandInput

Represents a single input operand (acoustic or time series) passed to the eval method in the Code operator. Each operand is wrapped in an OperandInput object, providing access to the matched measurement and window of measurements. See Inputting operands into the Code operator for more information.

The OperandInput class is available from the Echoview Python package.

Attributes

Attribute

Description

window_measurements

A list. Each element is a Ping object (for acoustic operands) or a TimeSeriesMeasurement object (for time series operands).

Window size (pings) sets the length of this list, except at the start and end of an echogram where the list truncates as required where there are no pings.

window_index

An int specifying the index position of the matched ping in the window_measurements (above) list.

measurement

A Ping object (for acoustic operands) or a TimeSeriesMeasurement object (for time series operands). This is the matched measurement in the window_measurements list.

See also

About the Code operator
Using the Code operator