ADD POINTS BY EXTRAPOLATING USING THE LAST AVAILABLE SLOPE TO SPECIFIED X-VALUE

Extends one or more curves beyond their existing data range by extrapolating from a specified start x-value to a specified end x-value using a chosen method (linear, polynomial, hyperbolic, exponential, logistic, etc.). Use this worker when simulation or test curves need to be prolonged to a common x-axis limit before further processing.

When to use

Classification: process.

Tagged: curve_extension, curve_transform, exponential, extrapolate, hyperbolic, linear_extrapolation, logistic, polynomial.

Inputs

Label ID Type Default Required Description
Curves To Be Extrapolated curvestobeextrapolated vector   One or more input curves (x-y pairs) to be extrapolated; accepts multiple curve objects — leave unconnected only if curves are supplied via an upstream default.
Extrapolation Type extrapolationtype scalar linear   Algorithm used to project the curve beyond its last data point; options include linear (last slope), linear_avg (averaged last slopes), hyperbolic, exponential, polynomial orders 1–5, polynomial_best_fit, logistic, power, logarithmic, constant, zeros, and linear_segments — default is “linear”.
Start Of Extrapolation x_start scalar 0.0   X-axis value at which extrapolation begins; use the last valid data point x-value of your curve if you want to extend immediately from the end — default is 0.0.
End Of Extrapolation x_end scalar 0.0   X-axis value at which extrapolation ends (the target maximum x); new points are added up to this value — default is 0.0, which should be overridden with the desired terminal x.
Number Of Points Between X Start And End numberof_pointsbetween_x_startand_end scalar 10   Number of points between the X-Start and X-End
Ymax For Logistic Only ymaxforlogisticonly scalar 0.0   Cap the extrapolated value to this number
Flipxaxis flipxaxis scalar no   Flip the curve before extrapolation. Useful to handle compression curves for
Value Type value_type scalar absolute   No used
Remove Intersections remove_intersections float no   Remove Intersections after Extrpolations
Percentage Of Points per_points scalar 0.3   Percentage of points to use for Polynomial extrapolation
Scale Factor sf scalar 1   Scale factor that will be applied after extrapolating except for type exponential. For Exponential extrapolation, this is the exponential coefficient used before extrapolation
Number Of Segments extra_segs scalar 1   Used when type=linear_segments
Extrapolation Slope Scale-factor slope_sf scalar 1   Used when type=linear_segments
Extrapolation Slope extra_slope scalar 0   Used when type=linear_segments

Outputs

Label ID Type Description
curves_extrapolate_output_1 curves_extrapolate_output_1 vector Extrapolated curve(s) in the same format as the input, with additional x-y points appended from x_start to x_end using the selected extrapolation method.

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_extrapolate


Auto-generated from transformation schema. Worker id: curves_extrapolate. Schema hash: 5f04117e481e. Hand-curated docs in workerexamples/ override this page when present.