CREATE A NEW CURVE BY LINEAR INTERPOLATION TO REACH A MAXIMUM OF NUM_POINTS SPECIFIED BELOW¶
Resamples one or more curves stored in a dataset by dividing the x-axis range into a fixed number of equidistant intervals and reducing each interval to a representative scalar (avg, min, max, slope, integral, etc.). Use this worker to normalise curves to a common resolution before comparison, ML feature extraction, or downstream signal processing.
When to use¶
Classification: process.
Tagged: binning, curve, dataset, downsampling, equidistant, intervals, linear_interpolation, resampling.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Dataset that contains the curves to be binned | dataset_1 | dataset | — | Input dataset containing one or more curve columns to be binned; each selected column is treated as a y-series against the dataset’s x-axis column. | |
| Curve Columns | curve_cols | text | — | One or more column names from dataset_1 that identify the y-value series to bin; supports multi-select driven by the columns present in dataset_1. | |
| Num of Intervals | num_points | integer | 100 | Number of equidistant intervals to create between the first and last x-axis point (default 100); the output curve will have num_points+1 boundary points. | |
| Bin Prefix | prefix | texgt | CBIN | String prefix prepended to each output column name to identify binned results (default ‘CBIN’), e.g. ‘CBIN_force’. | |
| Type of Binned Value between current and previous point | type | string | avg | Aggregation method applied to raw samples that fall within each interval: avg (mean), min, max, diff (end−start), slope, integral, current (last sample), or previous (first sample); default is ‘avg’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Binned Dataset | binned_values | dataset | Dataset containing the resampled curves, one output column per selected input curve column, each named with the specified prefix and containing the aggregated value for every equidistant interval. |
Disciplines¶
- data.curve.transform
- data.dataset.transform
- data.signal_processing
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_binning_from_dataset
Auto-generated from transformation schema. Worker id: curve_binning_from_dataset. Schema hash: 30b673976dbc. Hand-curated docs in workerexamples/ override this page when present.