.. _auto_curves_add: *COMPUTE THE ADDITION OF TWO CURVES BY ADDING THE Y-VALUES* =========================================================== Adds two curves together by summing their y-values element-wise, interpolating onto a common x-axis as needed. Use this worker whenever you need to superimpose two time-history or XY curves into a single resultant curve. When to use ----------- Classification: **process**. Tagged: ``add``, ``addition``, ``curve_math``, ``curves``, ``sum``, ``transformation``, ``y-values``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Destination Curve - destination_curve - vector - — - - The base (destination) curve whose y-values will be accumulated into; accepts one or more XY vector curves — leave unpopulated if feeding the result directly from an upstream node. * - Y Values Of This Curve Will Be Added To The Destination Curve - y_valuesofthiscurvewillbeaddedtothedestinationcurve - vector - — - - The addend curve whose y-values are added point-by-point to the destination curve; must share or be interpolatable onto the same x-axis as the destination curve. * - When one of the summands is 0.0, set value to 0.0 - whenoneofthesummandsis0.0,setvalueto0.0 - scalar - linear - - Controls zero-masking behaviour: set to 'yes' to force the summed output to 0.0 wherever either summand is exactly 0.0; defaults to 'no' (standard addition is always applied). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curves_add_output_1 - curves_add_output_1 - vector - The resulting XY vector curve whose y-values are the element-wise sum of the destination curve and the addend curve, defined over their common x-axis range. 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_add `_ .. raw:: html

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