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


Option has two inputs, a compulsory input, in1, and an optional input in2. If the optional input is left unconnected then in1 is passed to the output out1. If in2 is connected then in1 is discarded and in2 is passed to out1 instead.

The block is useful for writing reusable intermediate blocks who's behaviour depends on which inputs are supplied.

Inputs Meaning Sample 1-D frame $\ge$2-D frame
in1 signal Yes Yes Yes
(in2) optional signal Yes Yes Yes

Outputs Meaning
out1 in2 if supplied, else in1

Parameters Type Default Meaning
No parameters

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