| RESPITE: The CASA Toolkit Page: Documentation: Block Library Index:Comparator |
Compares the samples at the two input sockets in1 and in2. Comparator produces a binary output; true (1) if in1 exceeds in2 by an amount greater than X, else false (0) i.e:
out1=true if in1>in2+X
out1=false if in1<=in2+X
The inputs must have matching dimensionality and size.
| Inputs | Meaning | Sample | 1-D frame | |
|---|---|---|---|---|
| in1 | signal channel 1 | Yes | Yes | Yes |
| in2 | signal channel 2 | Yes | Yes | Yes |
| Outputs | Meaning |
|---|---|
| out1 | binary signal: in1>in2+X |
| Parameters | Type | Default | Meaning |
|---|---|---|---|
| X | Float | - | The bias term |