COMPUTE THE DIFFERENCE AND REMOVES THE POINTS BASED ON DIFF-OUTLIERS¶
Computes the point-wise difference between a baseline and a candidate curve, then removes any points whose difference exceeds a user-defined ratio threshold, effectively filtering outliers. Use this worker to clean noisy curve pairs before downstream comparison or fitting operations.
When to use¶
Classification: process.
Tagged: curve_cleaning, curve_diff, outlier_removal, process, transformations.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve Baseline | curve_baseline | vector | — | Reference curve against which the candidate is compared; accepts a single curve or the first curve of a CurveGroup (x/y vector pairs, e.g. time–force). Optional — leave unset only if no reference comparison is needed. | |
| Curve Candidate | curve_candidate | vector | — | The curve to be cleaned; points are removed where the absolute difference from the baseline exceeds the ratio threshold. Accepts a single curve or the first curve of a CurveGroup. | |
| Ratio | ratio | scalar | 0.01 | Dimensionless outlier threshold: a point is flagged and removed when its difference relative to the baseline exceeds this fraction (default 0.01 = 1 %); lower values remove more aggressively. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_remove_outliers_based_on_diff_output_1 | curves_remove_outliers_based_on_diff_output_1 | vector | Cleaned candidate curve (x/y vector) with all diff-outlier points removed, ready for further curve comparison or fitting. |
Disciplines¶
- data.curve.pair
- data.curve.transform
- data.signal_processing
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_remove_outliers_based_on_diff
Auto-generated from transformation schema. Worker id: curves_remove_outliers_based_on_diff. Schema hash: a5415c3231e7. Hand-curated docs in workerexamples/ override this page when present.