.. _auto_curve_offset_y_at_x: *OFFSET CURVES Y VALUE FROM A VALUE AT A GIVEN X* ================================================= Shifts a curve vertically so that its Y value at a specified X position becomes zero, effectively offsetting the entire curve by the Y value found at that X coordinate. Use this worker to zero-reference or baseline a curve at a known X location. When to use ----------- Classification: **process**. Tagged: ``baseline``, ``curve``, ``offset``, ``shift``, ``transform``, ``y_offset``, ``zero_reference``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve To Be Offset By Shifting The Initial Non-zero Point - curvetobeoffsetbyshiftingtheinitialnon-zeropoint - vector - — - - The input curve (X/Y vector) to be vertically offset; the Y value at the specified X position will be subtracted from all Y values to zero-reference the curve at that point. * - X Value - x_value - scalar - 0 - - The X coordinate at which the curve's Y value is sampled to compute the vertical offset; defaults to 0 (i.e., offset by the Y-intercept). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_offset_y_at_x_output_1 - curve_offset_y_at_x_output_1 - vector - The vertically shifted output curve (X/Y vector) whose Y value at the given X position is now zero. 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=curve_offset_y_at_x `_ .. raw:: html

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