• COMPUTE THE SIMILARITY CORRELATION OF TWO CURVES*

Computes a similarity correlation score between two curves using one or more comparison methods (peaks, integrals, normalized cross-correlation, or critical points). Both curves are resampled to a common grid before comparison, and a scalar similarity metric is returned. Use this worker to quantitatively assess how closely two time-history or XY curves agree.

When to use

Classification: process.

Tagged: correlation, critical_points, cross_correlation, curve_comparison, digitize, integrals, peaks, similarity.

Inputs

Label ID Type Default Required Description
Curve 1 curve1 vector   Base (reference) curve supplied as an XY vector; typically the simulation or test channel against which curve2 is compared.
Curve 2 curve2 vector   Second (target) curve supplied as an XY vector; compared point-by-point against curve1 after both are resampled to the same grid.
Digitize Points numberof_pointsto_digitize scalar 0   Number of uniformly spaced points used to re-digitize both curves before comparison; default 0 lets the worker use its internal default (100 points) — increase for higher-resolution curves.
Min Ratio To Match min_ratiotomatch scalar 0.01   Minimum amplitude ratio (relative to the peak of curve1) below which data points are excluded from the comparison; default 0.01 (1 %) filters out near-zero noise regions.
Check Types check_types float all   Comparison method(s) to apply: ‘all’ runs every available check; individual options are ‘peaks’, ‘normalized_cross_correlation’, ‘integrals’, and ‘critical_points’ — default is ‘all’.

Outputs

Label ID Type Description
curves_similarity_correlation_output_1 curves_similarity_correlation_output_1 scalar Scalar similarity score (dimensionless, typically 0–1) representing the overall agreement between the two input curves for the selected check type(s).

Disciplines

  • data.correlation
  • data.curve.pair
  • 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_similarity_correlation


Auto-generated from transformation schema. Worker id: curves_similarity_correlation. Schema hash: c4772b72b27b. Hand-curated docs in workerexamples/ override this page when present.