Indice
1. In parole semplici
È l'API backend del Curve Workbench, uno strumento per modificare curve ordinate mantenendo source-row identity e poi pubblicare un nuovo Dataset canonico.
2. Provider
| Modulo | viewer.curve_workbench 1.0.4 |
|---|---|
| Capability | viewer_backend; canonical_source_rows; mouse_edit; numeric_evaluation; dataset_publication |
3. Metodi pubblici
datasetIds, variables, distinctValues, loadCurves, undo, redo, movePoint, addPoint, deleteSelected, restart, clearCurve, previewCurve, preview, publish, fit, zoom, redraw, open, viewerDispatch
4. Cosa permette
Caricamento per Dataset/X/Y/filter/family/order; selezione punti; move/add/delete; undo/redo; preview nearest/linear/cubic/spline/PCHIP/line/polynomial; publication tramite Dataset Publication API v2.
5. Non confondere editing e fitting
Il Workbench può usare fitting/interpolation come preview matematica, ma il suo scopo primario è costruire/modificare curve scientifiche e pubblicarle con provenance degli edit.
6. Script Bridge
Non è una Script Bridge API nella dev-031; è una API di viewer. Gli script usano le API numeriche e Dataset/publication direttamente.
Riferimento tecnico completo
Curve Workbench 1.0.4 — manuale completo
Curve Workbench 1.0.4
Open Viewers → Curve Workbench, or open a Dataset
with the curve_workbench viewer. Select the Dataset,
different X and Y variables, optional filter column and value, family
column, and path ordering variable. Filter value lists
the Dataset’s real text values such as internal. The
Family value (text) dropdown lists the members of the
selected family column for the current filter, even while All
families is active. Choose internal_tr_top
directly from that list to switch to Selected family,
or switch back to All families to draw every matching
group. Click Generate curves to draw the selected
groups. The canvas also updates when a setting changes. A wrong text
value displays a recoverable message below the canvas; correct it and
click Generate curves again.
Click a curve to select its family. Click a point to select its exact source point; Shift or Ctrl click toggles more points. Drag a selected point to move it. Drag empty canvas to box select. Choose Add point and click a curve to insert a point in path order. Delete selected points, undo, redo and restart are available on the toolbar. Pan drags the view; mouse wheel zooms; Fit restores the view. The point table follows the canvas selection. X and Y entries give precise coordinate edits.
Select nearest, linear, cubic, spline, PCHIP, line fit or polynomial fit, then Preview. The preview uses the public NUMERIC_API_v1 and is drawn on the same canvas. Curves with nonmonotonic X use cumulative path distance as the independent parameter. Preview recalculates after edits.
Publish writes the current editable curves as a
canonical Dataset through DATASET_PUBLICATION_API_v2. Columns retain
X/Y, family identity, point order, source row ordinal and original order
value. Newly added points have source row ordinal -1.
Dataset metadata records source Dataset/variable IDs, filter, method,
units and edit count. Published data survive Session save/reopen.