.. _auto_curves_set_constant_y_value: *SET CONSTANT Y-VALUE TO ALL X-POINTS IN ALL CURVES* ==================================================== Sets every Y value across all X points in a batch of curves to a single user-specified constant, effectively flattening each curve to a horizontal line. Use this worker to zero-out, baseline, or override Y data on one or more curves in a single step. When to use ----------- Classification: **process**. Tagged: ``batch``, ``constant``, ``curves``, ``flatten``, ``transform``, ``y-value``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curves - curves - vector - — - - One or more input curves whose Y values will be overwritten; accepts any curve type supported by the platform (leave empty if curves will be piped in from an upstream worker). * - Constant Y-value - y_value - text - 0 - - The scalar constant that will be assigned to every Y point of every input curve (dimensionless numeric; defaults to 0 if left blank). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Curves with constant value - curves_set_constant_value_y - vector - The transformed curves, each retaining their original X points but with all Y values replaced by the specified constant. Disciplines ----------- - 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_set_constant_y_value `_ .. raw:: html

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