Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| In | Integer or Float | Yes | The numeric value to compare against the thresholds. |
The Hysteresis operation converts a fluctuating numeric input into a stable boolean output using two thresholds.
The output switches to true when the input exceeds Threshold High and back to false when it drops below Threshold Low.
Within the dead band (between the thresholds), the output retains its current state.
The execution path automatically stops whenever the output does not change.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| In | Integer or Float | Yes | The numeric value to compare against the thresholds. |
Outputs
| Port | Type | Default | Description |
|---|---|---|---|
| Out | Boolean | Initial Output State | true when above the high threshold, false when below the low threshold. |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Threshold High | Number | 22.0 | Input must exceed this value to transition from false to true. |
| Threshold Low | Number | 20.0 | Input must fall below this value to transition from true to false. |
| Initial Output State | Boolean | false | Starting output value on first run or after state reset. |
| On Error | Combo | Stop this branch | Per-op On Error verb (Stop this branch / Continue with the last value / Continue with the fallback). See the Error Handling guide. |
State on Reload
Output is preserved across restarts within the configured time window. Saved state is discarded if either Threshold High or Threshold Low changed. In that case the output starts from Initial Output State.
Validate input — The input must be numeric (Integer or Float). A non-numeric value or an unconnected input invokes the On Error verb.
Evaluate state —
false and input > Threshold High → output becomes true.true and input < Threshold Low → output becomes false.Path continuation — The execution path continues only when the output changes. If the output is the same as before, the path stops.
Assume Threshold High: 22.0, Threshold Low: 20.0, Initial Output State: false.
Current state: false In: 25.0
25.0 > 22.0 → output transitions to true. Path continues.
Current state: true In: 21.0
21.0 is between the thresholds. Output stays true. Path stops.
Current state: true In: 19.0
19.0 < 20.0 → output transitions to false. Path continues.
In: "error_data"
Input is not numeric. The Node fails, and under the default verb the branch stops. Output retains its previous value.
Hysteresis can hit these errors: an unconnected input, or a non-numeric value on the input (the Type mask catches most of these earlier).
Any of these triggers the On Error verb you picked. See the Error Handling guide for the common On Error model; Hysteresis’s options are:
| Verb | What it does |
|---|---|
| Stop this branch (default) | This Node and its dependents stop; Out keeps its value and reads as a failed update. |
| Continue with the last value | Dependents run on the value Out already holds, not stamped as new; it reads as a failed update. |
| Continue with the fallback | Dependents run on Out’s per-output Fallback, stamped as this run’s value; it reads as a failed update. The Editor refuses a Task where the Fallback is unset. |
Out carries the per-output Fallback you set in Settings under the Out port, like any other Output — Nil until you set one. Setting it to match the Initial Output State keeps a failed run consistent with how the Node started.
The built-in dead-band stop — “input is within the band, output doesn’t change, Path stops” — is part of the denoiser’s normal behaviour and is not an error.