.. _auto_curve_get_violations: *COMPUTE THE CURVE2-CURVE1 IN RAW OR SQUARED FORM* ================================================== Computes the element-wise difference between Curve 2 and Curve 1 (i.e., C2 − C1) over an optional x-range, returning the violations as either raw or squared differences. Use this worker to identify where and by how much one curve deviates from a baseline curve. When to use ----------- Classification: **process**. Tagged: ``baseline``, ``curve_diff``, ``raw``, ``residual``, ``squared``, ``transformations``, ``violations``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - C1-B - curve1 - vector - — - - Baseline curve (C1); the reference against which Curve 2 is compared — violations are computed as C2 − C1. * - Curve 2 - curve2 - vector - — - - Comparison curve (C2); element-wise subtracted from Curve 1 to produce the violation signal. * - Xmin - xmin - scalar - -1e20 - - Lower x-axis bound for the violation calculation; data below this value is excluded — defaults to −1e20 (effectively no lower limit). * - Xmax - xmax - scalar - 1e20 - - Upper x-axis bound for the violation calculation; data above this value is excluded — defaults to 1e20 (effectively no upper limit). * - Difference Type - diff_type - scalar - raw - - Form of the difference to return: 'raw' yields signed C2 − C1 values; 'squared' yields (C2 − C1)² — defaults to 'raw'. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_get_violations_output_1 - curve_get_violations_output_1 - vector - Output curve representing the violations (C2 − C1) in the selected form (raw or squared) over the specified x-range. Disciplines ----------- - data.curve.pair - data.curve.transform Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curve_get_violations `_ .. raw:: html

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