.. _auto_curves_scaley_by_conditionx: *SCALE THE Y-VALUES OF ALL CURVES BASED ON CONDITIONS OF THE X VALUE* ===================================================================== Scales the y-values of one or more curves by a constant factor, but only at points where the x-value satisfies a specified condition (lt, lte, eq, gte, gt) relative to a target x value. Use this worker when you need conditional, x-range-filtered amplitude scaling across a batch of curves. When to use ----------- Classification: **process**. Tagged: ``batch-curves``, ``conditional``, ``curve-transform``, ``scale``, ``transformations``, ``x-condition``, ``y-scale``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curves To Be Scaled - curvestobescaled - vector - — - - One or more input curves whose y-values will be conditionally scaled; accepts a vector (list) of curve objects — leave empty only if downstream wiring supplies curves dynamically. * - Y Scale Value - y_scalevalue - scalar - 1 - - Dimensionless multiplicative scale factor applied to y-values at all qualifying points; defaults to 1.0 (no scaling). * - Condition For X - conditionfor_x - scalar - eq - - Comparison operator that defines which x-points are eligible for scaling: 'lt' (<), 'lte' (≤), 'eq' (=), 'gte' (≥), or 'gt' (>); defaults to 'eq'. * - Target Value For X - target_valuefor_x - scalar - 0 - - The reference x-value used in the condition check (same units as the curve x-axis); only curve points satisfying condition(x, target) will have their y-values scaled; defaults to 0. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curves_scaley_by_conditionx_output_1 - curves_scaley_by_conditionx_output_1 - vector - Vector of transformed curves with y-values scaled at all x-points that satisfied the specified condition; curve count and x-axis are unchanged. 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=curves_scaley_by_conditionx `_ .. raw:: html

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