REORDER CURVES BY INDEXES

Reorders a collection of curves into a new sequence defined by a user-supplied index list. Provide the same number of (0-based) indexes as input curves; use this worker to rearrange curve order before downstream batch operations or plotting.

When to use

Classification: process.

Tagged: batch, curves, index, reorder, sort, transform.

Inputs

Label ID Type Default Required Description
Curve curves vector   Collection of curves to be reordered; supply one or more curve objects whose order needs to be changed.
New Indexes new_indexes text   Comma-separated list of 0-based integer indexes specifying the desired output order (e.g. ‘2,0,1’); count must exactly match the number of input curves.

Outputs

Label ID Type Description
Curves reordered curves_reordered vector The same curves returned in the new sequence defined by new_indexes.

Disciplines

  • data.curve.pair

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_reorder_by_indexes


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