Windows, Datasets, Selections, and publication

Read data windows, use canonical Selections, and publish Numeric results as Datasets in the active Session.

Numerical computing, models, statistics, and Datasets with Python

Canonical IDs and provenance

Read the IDs from describe and specify start and count for the window. start=2,count=4 selects four rows with absolute indices 2, 3, 4, and 5. A Selection stores its definition and provenance in its own context. Dataset operations that take an explicit Session have different signatures from the dataset_* keys that use the Job’s Session.

Save columns in a Document

Run numeric_dataset.py to prepare the synthetic Dataset numeric_control_inputs_2, then run numeric_document_selection.py. The Job finds the enabled provider with INTERACTIVE_DOCUMENT_API_v1/tex_info and uses tex_create to obtain a real ID. You can also start from an existing compatible Document. Pass its ID, an explicit window, and the actual Variable IDs to expressionDatasetCaptured, interpolateDatasetCaptured, and complexDatasetCaptured. Read resource_id, row_count, unit, and the resource shape. The statistical routes require an operation with a registered CORE interpretation. A fictitious ID fails before writing. A tensor rotation or transpose that works in a Job can still be rejected for statistical capture if that mapping is unavailable.

Preserve Selections and row provenance

Use DATASET_SELECTION_API_v1.create_members with a member list. Each member retains member_id, dataset_id, the X/Y Variable IDs, and zero-based rows. row_operation can be keep or exclude. Use describe to recover ordering and provenance. A Selection is a declared reference to Session data. For the single-source Numeric workflow, choose a compatible x_range or rectangle snapshot with Dataset and Variable IDs. The Job can read members, and operations that support it can reuse it. In this example, the Numeric statistics call returns an identity error for members. In the x_range test from 3 to 6 s, the samples are 9, 16, 25, and 36 V, and the mean is 21.5 V. dataset_nonlinear_fit accepts either selection_id or selection. The two inputs tested separately both produced coefficients [1, 0, 0]. Passing both in one call returns Choose either selection_id or selection. Use explicit start/count with expressionDataset.

Commit results

Verify the computation before publishing. For a small XY series, publish_series writes values and variables. Use begin, declare_dimension, declare_variable, and write_variable to define the buffer shape and type, then finalize to make the result available to the Session. On error, abort closes the write. For the plot, use new_spec, validate_spec, upsert_plot, and render. Each step returns a receipt with a distinct purpose. The HDF5 writer preserved the uint64 counts 9007199254740993 and 9007199254740995. statistics rejects a list containing the first of these integers because binary64 cannot represent it exactly. The FFT example publishes real and imaginary parts as separate variables re and im. Recombining the 32 bins agrees with NumPy to 10⁻¹².

Operation reference

Jump to an operation

dataset_expression

Access
Registered in the Python Job
Arguments
expression, symbol Dataset/Variable bindings, scalar parameter metadata and required start/count options
Units
Units follow NUMERIC_API_v1 operation contract
Result
typed values and actual physical units with absolute source-row/Variable provenance
Effect
Evaluate canonical Dataset Variables through bounded public Table Stream and the shared expression owner
Types
text,text,struct,struct
Declared shape
explicit_canonical_variable_row_window
Expansion
scalar_parameters
Options
start=nonnegative_integer;count=1..65536;output_unit=explicit_linear_unit
Nonfinite values
error
Units rule
CORE_UNIT_DIMENSION_API_v1
gxtxt_api_call("NUMERIC_API_v1", "dataset_expression", args)
Recorded result · dataset_expression

Download the example script (ZIP).

Example operands, preview

[
  "y",
  {
    "y": {
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y"
    }
  },
  {},
  {
    "start": 2,
    "count": 4,
    "output_unit": "V"
  }
]

Result, preview

{
  "schema": "gxtxt.numeric_expression.v1",
  "values": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      9.0,
      16.0,
      25.0,
      36.0
    ]
  },
  "unit": "V",
  "dimensions": {
    "schema": "gxtxt.expression_dimensions.v1",
    "expression": "y",
    "symbol_units": {
      "y": "V",
      "pi": "1",
      "e": "1"
    },
    "symbol_scales": {
      "y": 1.0
    },
    "inferred_parameter_ids": [],
    "used_symbols": [
      "y"
    ],
    "output_unit": "V",
    "output_scale": 1.0,
    "dimensions": {
      "V": 1.0
    },
    "dimension_label": "V",
    "normalization": "explicit_symbol_to_canonical_then_output_scale",
    "variable_exponent_policy": "dimensionless_base_and_exponent",
    "constraint_count": 1.0
  },
  "expression": "y",
  "symbol_ids": [
    "y"
  ],
  "domain_policy": "finite_real_or_error",
  "grammar_owner": "CORE gxtxt_analysis_expression_parse",
  "numeric_owner": "NUMERIC_API_v1",
  "sources": [
    {
      "symbol": "y",
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y",
      "unit": "V",
      "row_start": {
        "shape": [
          1,
          1
        ],
        "dtype": "uint64",
        "values": [
          2
        ]
      },
      "row_count": {
        "shape": [
          1,
          1
        ],
        "dtype": "uint64",
        "values": [
          4
        ]
      },
      "row_mapping": "absolute_source_order"
    }
  ],
  "parameter_metadata": {},
  "alignment": "caller_explicit_same_row_positions_no_inferred_time_or_frame_alignment"
}

dataset_smooth

Access
Registered in the Python Job
Arguments
Dataset ID, X/Y variable IDs, optional smoothing options
Units
Units follow NUMERIC_API_v1 operation contract
Result
Smoothed XY, physical units, settings and exact original Dataset row ordinals
Effect
Smooth stable Dataset variables with exact original rows
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;method=lowess,loess,savitzky_golay,moving_mean,moving_median,local_polynomial;robust_iterations=0..10
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "dataset_smooth", args)
Recorded result · dataset_smooth

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "window": 3
  }
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "y": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      2.5,
      4.666666666666667,
      9.666666666666666,
      16.666666666666668,
      25.666666666666668,
      36.666666666666664,
      49.666666666666664,
      64.66666666666667,
      72.5
    ]
  },
  "residuals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.5,
      -0.666666666666667,
      -0.6666666666666661,
      -0.6666666666666679,
      -0.6666666666666679,
      -0.6666666666666643,
      -0.6666666666666643,
      -0.6666666666666714,
      8.5
    ]
  },
  "method": "moving_mean",
  "window": 3.0,
  "degree": NaN,
  "endpoint_policy": "shrink",
  "original_count": 9.0,
  "source_row_positions": {
    "shape": [
      9,
      1
    ],
    "dtype": "uint64",
    "values": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9
    ]
  },
  "dropped_row_positions": {
    "shape": [
      0,
      1
    ],
    "dtype": "uint64",
    "values": []
  },
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "source_row_ordinals": {
    "shape": [
      9,
      1
    ],
    "dtype": "uint64",
    "values": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9
    ]
  },
  "dropped_row_ordinals": {
    "shape": [
      0,
      1
    ],
    "dtype": "uint64",
    "values": []
  }
}

dataset_baseline

Access
Registered in the Python Job
Arguments
Dataset ID, X/Y variable IDs and optional options
Units
Units follow NUMERIC_API_v1 operation contract
Result
Separate spectral columns, original Dataset row identities and estimator receipt
Effect
Estimate baseline for stable Dataset variables
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "dataset_baseline", args)
Recorded result · dataset_baseline

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "baseline": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668
    ]
  },
  "corrected": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      -30.666666666666668,
      -27.666666666666668,
      -22.666666666666668,
      -15.666666666666668,
      -6.666666666666668,
      4.333333333333332,
      17.333333333333332,
      32.33333333333333,
      49.33333333333333
    ]
  },
  "method": "constant",
  "degree": 0.0,
  "coefficients": 31.666666666666668,
  "original_x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "original_y": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      4.0,
      9.0,
      16.0,
      25.0,
      36.0,
      49.0,
      64.0,
      81.0
    ]
  },
  "source_row_positions": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "dropped_row_positions": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "index_base": 1.0,
  "original_n": 9.0,
  "selected_n": 9.0,
  "nonfinite_policy": "error",
  "row_order": "original_input_order",
  "estimator": {},
  "schema": "gxtxt.baseline_result.v1",
  "dataset_id": "numeric_control_inputs_2"
}

statistics_dataset

Access
Registered in the Python Job
Arguments
dataset_id, variable_id, optional options struct
Units
Units follow NUMERIC_API_v1 operation contract
Result
statistics struct
Function
Compute statistics on a stable Dataset variable
gxtxt_api_call("NUMERIC_API_v1", "statistics_dataset", args)
Recorded result · statistics_dataset

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "y"
]

Result, preview

{
  "n": 9.0,
  "n_input": 9.0,
  "n_valid": 9.0,
  "n_nonfinite": 0.0,
  "min": 1.0,
  "max": 81.0,
  "max_absolute": 81.0,
  "range": 80.0,
  "sum": 285.0,
  "mean": 31.666666666666668,
  "median": 25.0,
  "q25": 9.0,
  "q75": 49.0,
  "iqr": 40.0,
  "variance_population": 700.8888888888888,
  "std_population": 26.474306202219704,
  "variance_sample": 788.4999999999999,
  "std_sample": 28.08024216419794
}

dataset_statistics

Access
Registered in the Python Job
Arguments
dataset_id, variable_id, optional options struct
Units
Units follow NUMERIC_API_v1 operation contract
Result
statistics and canonical Dataset receipt
Effect
Describe a stable Dataset variable
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,omit
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "dataset_statistics", args)
Recorded result · dataset_statistics:double-selection

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "y",
  {
    "selection_id": "sel_001",
    "selection": {
      "enabled": true
    }
  }
]

Result, preview

{
  "n": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "min": 9.0,
  "max": 36.0,
  "max_absolute": 36.0,
  "range": 27.0,
  "sum": 86.0,
  "mean": 21.5,
  "median": 20.5,
  "q25": 14.25,
  "q75": 27.75,
  "iqr": 13.5,
  "variance_population": 102.25,
  "std_population": 10.111874208078342,
  "variance_sample": 136.33333333333334,
  "std_sample": 11.67618659209133
}
Negative test or attempted call · dataset_statistics:selection

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "y",
  {
    "selection_id": "sel_001"
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/dataset_statistics: math.numeric API v1: Dataset Selection 'sel_001' belongs to dataset '', not 'numeric_control_inputs_2'"

dataset_weighted_statistics

Access
Registered in the Python Job
Arguments
dataset_id, variable_id, weight_variable_id, optional options struct
Units
Units follow NUMERIC_API_v1 operation contract
Result
weighted statistics and canonical Dataset receipt
Effect
Describe a stable Dataset variable with weights
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,omit
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "dataset_weighted_statistics", args)
Recorded result · dataset_weighted_statistics

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "y",
  "x"
]

Result, preview

{
  "n_total": 9.0,
  "n_input": 9.0,
  "n_valid": 9.0,
  "n_nonfinite": 0.0,
  "n_zero_weight": 0.0,
  "n_positive_weight": 9.0,
  "n_positive": 9.0,
  "sum_weights": 45.0,
  "effective_n": 7.105263157894737,
  "min": 1.0,
  "max": 81.0,
  "range": 80.0,
  "weighted_sum": 2025.0,
  "mean": 45.0,
  "median": 49.0,
  "q25": 25.0,
  "q75": 64.0,
  "iqr": 39.0
}

dataset_polynomial_fit

Access
Registered in the Python Job
Arguments
dataset_id, x_variable_id, y_variable_id, degree, optional options struct
Units
Units follow NUMERIC_API_v1 operation contract
Result
fit and canonical Dataset receipt
Effect
Fit a polynomial to stable Dataset variables
Types
dataset_binding,scalar
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "dataset_polynomial_fit", args)
Recorded result · dataset_polynomial_fit

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "x",
  "y",
  2
]

Result, preview

{
  "predicted": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      0.9999999999999929,
      3.9999999999999893,
      8.99999999999999,
      15.999999999999988,
      24.999999999999986,
      35.999999999999986,
      48.999999999999986,
      63.999999999999986,
      80.99999999999997
    ]
  },
  "residuals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      7.105427357601002e-15,
      1.0658141036401503e-14,
      1.0658141036401503e-14,
      1.2434497875801753e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      2.842170943040401e-14
    ]
  },
  "weighted_residuals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      7.105427357601002e-15,
      1.0658141036401503e-14,
      1.0658141036401503e-14,
      1.2434497875801753e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      2.842170943040401e-14
    ]
  },
  "objective": 2.0478829099537466e-27,
  "sse": 2.0478829099537466e-27,
  "rss": 2.0478829099537466e-27,
  "rmse": 1.8474680466130515e-14,
  "residual_rmse": 1.8474680466130515e-14,
  "response_rmse": 1.5084513434327814e-14,
  "r_squared": 1.0,
  "adjusted_r_squared": 1.0,
  "dof": 6.0,
  "rank": 3.0,
  "condition_number": 2.7054059224857876,
  "scaled_condition_number": 2.6557526238093323,
  "covariance": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      1.1081617478104692e-30,
      -1.1081617478104692e-29,
      2.0316298709858605e-29,
      -1.1081617478104692e-29,
      1.1650473841980733e-28,
      -2.316058052923881e-28,
      2.0316298709858603e-29,
      -2.316058052923881e-28,
      5.5260332490815395e-28
    ]
  },
  "standard_errors": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0526926179139233e-15,
      1.0793736073288401e-14,
      2.350751634920529e-14
    ]
  },
  "weighted": false
}

dataset_nonlinear_fit

Access
Registered in the Python Job
Arguments
Dataset ID, X/Y variable IDs, callback or expression model struct, initial parameters, optional options
Units
Units follow NUMERIC_API_v1 operation contract
Result
fit diagnostics, exact source rows and Dataset provenance
Effect
Fit a callback or declared expression to stable Dataset variables
Types
dataset_binding,callback,vector
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "dataset_nonlinear_fit", args)
Recorded result · dataset_nonlinear_fit:selection-struct

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "kind": "polynomial_fit"
  },
  {
    "shape": [
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  {
    "selection": {
      "enabled": 1,
      "type": "x_range",
      "source_dataset_id": "numeric_control_inputs_2",
      "x_variable_id": "x",
      "x_min": 3.0,
      "x_max": 6.0,
      "x_unit": "s",
      "x_coordinate_space": "source",
      "x_binding_count": 1
    }
  }
]

Result, preview

{
  "parameters": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "predicted": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      9.0,
      16.0,
      25.0,
      36.0
    ]
  },
  "residuals": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "weighted_residuals": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "objective": 0.0,
  "sse": 0.0,
  "rss": 0.0,
  "rmse": 0.0,
  "residual_rmse": 0.0,
  "response_rmse": 0.0,
  "r_squared": 1.0,
  "adjusted_r_squared": 1.0,
  "dof": 1.0,
  "rank": 3.0,
  "condition_number": 519.1872621990839,
  "scaled_condition_number": 88.39683310229482,
  "covariance": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      -0.0,
      0.0,
      -0.0,
      0.0,
      -0.0,
      0.0,
      -0.0,
      0.0
    ]
  },
  "standard_errors": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  }
}
Negative test or attempted call · dataset_nonlinear_fit:ambiguous-selection

Download the example script (ZIP).

Example operands, preview

[
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "kind": "polynomial_fit"
  },
  {
    "shape": [
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  {
    "selection_id": "sel_001",
    "selection": {
      "enabled": 1,
      "type": "x_range",
      "source_dataset_id": "numeric_control_inputs_2",
      "x_variable_id": "x",
      "x_min": 3.0,
      "x_max": 6.0,
      "x_unit": "s",
      "x_coordinate_space": "source",
      "x_binding_count": 1
    }
  }
]

Result, preview

"GXTXT:Numeric:InvalidSelection: Choose either selection_id or selection"

expressionDataset

Access
Registered in the Python Job
Arguments
expression bindings parameters options
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric expressionDataset
gxtxt_api_call("NUMERIC_API_v1", "expressionDataset", args)
Recorded result · expressionDataset

Download the example script (ZIP).

Example operands, preview

[
  "y",
  {
    "y": {
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y"
    }
  },
  {},
  {
    "start": 2,
    "count": 4,
    "output_unit": "V"
  }
]

Result, preview

{
  "schema": "gxtxt.numeric_expression.v1",
  "values": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      9.0,
      16.0,
      25.0,
      36.0
    ]
  },
  "unit": "V",
  "dimensions": {
    "schema": "gxtxt.expression_dimensions.v1",
    "expression": "y",
    "symbol_units": {
      "y": "V",
      "pi": "1",
      "e": "1"
    },
    "symbol_scales": {
      "y": 1.0
    },
    "inferred_parameter_ids": [],
    "used_symbols": [
      "y"
    ],
    "output_unit": "V",
    "output_scale": 1.0,
    "dimensions": {
      "V": 1.0
    },
    "dimension_label": "V",
    "normalization": "explicit_symbol_to_canonical_then_output_scale",
    "variable_exponent_policy": "dimensionless_base_and_exponent",
    "constraint_count": 1.0
  },
  "expression": "y",
  "symbol_ids": [
    "y"
  ],
  "domain_policy": "finite_real_or_error",
  "grammar_owner": "CORE gxtxt_analysis_expression_parse",
  "numeric_owner": "NUMERIC_API_v1",
  "sources": [
    {
      "symbol": "y",
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y",
      "unit": "V",
      "row_start": 2.0,
      "row_count": 4.0,
      "row_mapping": "absolute_source_order"
    }
  ],
  "parameter_metadata": {},
  "alignment": "caller_explicit_same_row_positions_no_inferred_time_or_frame_alignment"
}
Negative test or attempted call · expressionDataset:selection

Download the example script (ZIP).

Example operands, preview

[
  "y",
  {
    "y": {
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y"
    }
  },
  {},
  {
    "start": 0,
    "count": 6,
    "output_unit": "V",
    "selection_id": "sel_001"
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/expressionDataset: math.numeric API v1: Unknown Dataset expression option 'selection_id'"

expressionDatasetCaptured

Access
Registered in the Python Job
Arguments
document expression bindings parameters options
Units
Exact original owner units and interpretation; no relabelling
Result
Original expression or pointwise receipt plus row_count/unit, managed Resource reference, managed_array exact shape/dtype, transport counts and source revisions; bounded source/query/options retained
Function
Exact original Numeric expressionDatasetCaptured
gxtxt_api_call("NUMERIC_API_v1", "expressionDatasetCaptured", args)
Recorded result · expressionDatasetCaptured

Download the example script (ZIP).

Example operands, preview

[
  "idoc_8796799055001646",
  "y",
  {
    "y": {
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y"
    }
  },
  {},
  {
    "start": 1,
    "count": 3,
    "output_unit": "V"
  }
]

Result, preview

{
  "schema": "gxtxt.numeric_expression.v1",
  "unit": "V",
  "dimensions": {
    "schema": "gxtxt.expression_dimensions.v1",
    "expression": "y",
    "symbol_units": {
      "y": "V",
      "pi": "1",
      "e": "1"
    },
    "symbol_scales": {
      "y": 1.0
    },
    "inferred_parameter_ids": [],
    "used_symbols": [
      "y"
    ],
    "output_unit": "V",
    "output_scale": 1.0,
    "dimensions": {
      "V": 1.0
    },
    "dimension_label": "V",
    "normalization": "explicit_symbol_to_canonical_then_output_scale",
    "variable_exponent_policy": "dimensionless_base_and_exponent",
    "constraint_count": 1
  },
  "expression": "y",
  "symbol_ids": [
    "y"
  ],
  "domain_policy": "finite_real_or_error",
  "grammar_owner": "CORE gxtxt_analysis_expression_parse",
  "numeric_owner": "NUMERIC_API_v1",
  "sources": [
    {
      "symbol": "y",
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y",
      "unit": "V",
      "row_start": 1,
      "row_count": 3,
      "row_mapping": "absolute_source_order"
    }
  ],
  "parameter_metadata": {},
  "alignment": "caller_explicit_same_row_positions_no_inferred_time_or_frame_alignment",
  "row_count": 3,
  "resource": {
    "api_id": "INTERACTIVE_DOCUMENT_RESOURCE_API_v1",
    "document_id": "idoc_8796799055001646",
    "owner_generation": "b30a4f3491a82f961b4a5627d6a10d2c",
    "sha256": "12fb56f7c63ed9d8be4cf52ff140a5cffd9c7d6c3e88da488e4b79f0baed94ea",
    "size_bytes": 24,
    "metadata": {
      "format": "gxtxt.numeric_matrix_le_v1",
      "dtype": "float64",
      "endian": "little",
      "order": "C",
      "columns": [
        "value"
      ],
      "row_count": 3,
      "unit": "V",
      "numeric_api": "NUMERIC_API_v1",
      "operation": "dataset_expression",
      "expression_receipt": {
        "schema": "gxtxt.numeric_expression.v1",
        "unit": "V",
        "dimensions": {
          "schema": "gxtxt.expression_dimensions.v1",
          "expression": "y",
          "symbol_units": {
            "y": "V",
            "pi": "1",
            "e": "1"
          },
          "symbol_scales": {
            "y": 1.0
          },
          "inferred_parameter_ids": [],
          "used_symbols": [
            "y"
          ],
          "output_unit": "V",
          "output_scale": 1.0,
          "dimensions": {
            "V": 1.0
          },
          "dimension_label": "V",
          "normalization": "explicit_symbol_to_canonical_then_output_scale",
          "variable_exponent_policy": "dimensionless_base_and_exponent",
          "constraint_count": 1
        },
        "expression": "y",
        "symbol_ids": [
          "y"
        ],
        "domain_policy": "finite_real_or_error",
        "grammar_owner": "CORE gxtxt_analysis_expression_parse",
        "numeric_owner": "NUMERIC_API_v1",
        "sources": [
          {
            "symbol": "y",
            "dataset_id": "numeric_control_inputs_2",
            "variable_id": "y",
            "unit": "V",
            "row_start": 1,
            "row_count": 3,
            "row_mapping": "absolute_source_order"
          }
        ],
        "parameter_metadata": {},
        "alignment": "caller_explicit_same_row_positions_no_inferred_time_or_frame_alignment"
      },
      "source_revisions": {
        "numeric_control_inputs_2": "dataset-revision-v1 [percorso di prova] numeric_control_inputs_2 {numeric_control_inputs_2,canonical_access_api_version 2 numeric_control_inputs_2,canonical_delimiter com
[…]
Negative test or attempted call · expressionDatasetCaptured

Download the example script (ZIP).

Example operands, preview

[
  "GuideDocument_BoundaryControl",
  "y",
  {
    "y": {
      "dataset_id": "numeric_control_inputs_2",
      "variable_id": "y"
    }
  },
  {},
  {
    "start": 1,
    "count": 3,
    "output_unit": "V"
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/expressionDatasetCaptured: Invalid Interactive Document ID 'GuideDocument_BoundaryControl'."

interpolateDatasetCaptured

Access
Registered in the Python Job
Arguments
document source query {options {method linear extrapolation error}}
Units
Exact original owner units and interpretation; no relabelling
Result
Original expression or pointwise receipt plus row_count/unit, managed Resource reference, managed_array exact shape/dtype, transport counts and source revisions; bounded source/query/options retained
Function
Exact original Numeric interpolateDatasetCaptured
gxtxt_api_call("NUMERIC_API_v1", "interpolateDatasetCaptured", args)
Recorded result · interpolateDatasetCaptured

Download the example script (ZIP).

Example operands, preview

[
  "idoc_8796799055001646",
  {
    "dataset_id": "numeric_control_inputs_2",
    "x_variable_id": "x",
    "y_variable_id": "y",
    "start": 0,
    "count": 9
  },
  {
    "dataset_id": "numeric_control_inputs_2",
    "variable_id": "x",
    "start": 1,
    "count": 3
  }
]

Result, preview

{
  "method": "linear",
  "extrapolation": "error",
  "n_source": 9,
  "n_query": 3,
  "kernel": "octave.interp1",
  "source": {
    "dataset_id": "numeric_control_inputs_2",
    "x_variable_id": "x",
    "y_variable_id": "y",
    "start": 0,
    "count": 9
  },
  "query": {
    "dataset_id": "numeric_control_inputs_2",
    "variable_id": "x",
    "start": 1,
    "count": 3
  },
  "options": {
    "method": "linear",
    "extrapolation": "error"
  },
  "source_x_unit": "s",
  "query_x_unit": "s",
  "row_count": 3,
  "unit": "V",
  "resource": {
    "api_id": "INTERACTIVE_DOCUMENT_RESOURCE_API_v1",
    "document_id": "idoc_8796799055001646",
    "owner_generation": "b30a4f3491a82f961b4a5627d6a10d2c",
    "sha256": "12fb56f7c63ed9d8be4cf52ff140a5cffd9c7d6c3e88da488e4b79f0baed94ea",
    "size_bytes": 24,
    "metadata": {
      "format": "gxtxt.numeric_matrix_le_v1",
      "dtype": "float64",
      "endian": "little",
      "order": "C",
      "columns": [
        "value"
      ],
      "row_count": 3,
      "unit": "V",
      "numeric_api": "NUMERIC_API_v1",
      "operation": "interpolate",
      "pointwise_receipt": {
        "method": "linear",
        "extrapolation": "error",
        "n_source": 9,
        "n_query": 3,
        "kernel": "octave.interp1"
      },
      "source_revisions": {
        "numeric_control_inputs_2": "dataset-revision-v1 [percorso di prova] numeric_control_inputs_2 {numeric_control_inputs_2,canonical_access_api_version 2 numeric_control_inputs_2,canonical_delimiter comma numeric_control_inputs_2,canonical_sha256 3a66c218c95f7669a1248b7f6c32ed654a87ba7b513eba51b4599b4024e18c3d numeric_control_inputs_2,columns {x;y} numeric_control_inputs_2,contract table.generic numeric_control_inputs_2,created_at 2026-11-22T15:00:09+0100 numeric_control_inputs_2,format csv numeric_control_inputs_2,id numeric_control_inputs_2 numeric_control_inputs_2,immutable 0 numeric_control_inputs_2,integrity_algorithm sha256 numeric_control_inputs_2,integrity_seconds 0.004575 numeric_control_inputs_2,kind table.generic numeric_control_inputs_2,media_type text/csv numeric_control_inputs_2,metadata_display_name {} numeric_control_inputs_2,notes {} numeric_control_inputs_2,path datasets/publications/numeric_control_inputs_2.csv numeric_control_inputs_2,producer_module analysis.python_script numeric_control_inputs_2,producer_version 1.0.0 numeric_control_inputs_2,provenance {Synthetic control y=x^2; x axis s and y scale V} numeric_control_inputs_2,publication_api_version 2 numeric_control_inputs_2,requested_storage_provider auto numeric_control_inputs_2,row_count 9 numeric_control_inputs_2,sample_count 9 numeric_control_inputs_2,semantic_roles {;} numeric_control_inputs_2,sha256 3a66c218c95f7669a1248b7f6c32ed654a87ba7b513eba51b4599b4024e18c3d numeric_control_inputs_2,source {} numeric_control_inputs_2,source_dataset_ids {} numeric_control_inputs_2,source_module analysis.python_script numeric_control_inputs_2,source_variable_ids {} numeric_control_inputs_2,storage_kind text numeric_control_inputs_2,storage_provider csv numeric_control_inputs_2,storage_provider_version 1 numeric_control_inputs_2,storage_selection_reason {auto selected csv; required capabilities satisfied; size policy v2: known small logical table} numeric_control_inputs_2,structured_metadata_api_version 1 numeric_control_inputs_2,structured_metadata_file metadata/datasets/numeric_control_inputs_2.ini numeric_control_inputs_2,structured_metadata_revision 6 numeric_control_input
[…]
Negative test or attempted call · interpolateDatasetCaptured

Download the example script (ZIP).

Example operands, preview

[
  "GuideDocument_BoundaryControl",
  {
    "dataset_id": "numeric_control_inputs_2",
    "x_variable_id": "x",
    "y_variable_id": "y",
    "start": 0,
    "count": 9
  },
  {
    "dataset_id": "numeric_control_inputs_2",
    "variable_id": "x",
    "start": 1,
    "count": 3
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/interpolateDatasetCaptured: Invalid Interactive Document ID 'GuideDocument_BoundaryControl'."

complexDatasetCaptured

Access
Registered in the Python Job
Arguments
document dataset realVariable imaginaryVariable projection options
Units
Exact original owner units and interpretation; no relabelling
Result
Original expression or pointwise receipt plus row_count/unit, managed Resource reference, managed_array exact shape/dtype, transport counts and source revisions; bounded source/query/options retained
Function
Exact original Numeric complexDatasetCaptured
gxtxt_api_call("NUMERIC_API_v1", "complexDatasetCaptured", args)
Recorded result · complexDatasetCaptured

Download the example script (ZIP).

Example operands, preview

[
  "idoc_8796799055001646",
  "numeric_control_inputs_2",
  "y",
  "y",
  "magnitude",
  {
    "start": 0,
    "count": 2
  }
]

Result, preview

{
  "dataset_id": "numeric_control_inputs_2",
  "real_variable_id": "y",
  "imaginary_variable_id": "y",
  "projection": "magnitude",
  "options": {
    "start": 0,
    "count": 2
  },
  "row_count": 2,
  "unit": "V",
  "resource": {
    "api_id": "INTERACTIVE_DOCUMENT_RESOURCE_API_v1",
    "document_id": "idoc_8796799055001646",
    "owner_generation": "b30a4f3491a82f961b4a5627d6a10d2c",
    "sha256": "d8402c2ee35eb81e61be725a19fe4f91bd5eaf950b814677de5344f0bd84543f",
    "size_bytes": 16,
    "metadata": {
      "format": "gxtxt.numeric_matrix_le_v1",
      "dtype": "float64",
      "endian": "little",
      "order": "C",
      "columns": [
        "value"
      ],
      "row_count": 2,
      "unit": "V",
      "numeric_api": "NUMERIC_API_v1",
      "operation": "complex_unary.magnitude",
      "pointwise_receipt": {},
      "source_revisions": {
        "numeric_control_inputs_2": "dataset-revision-v1 [percorso di prova] numeric_control_inputs_2 {numeric_control_inputs_2,canonical_access_api_version 2 numeric_control_inputs_2,canonical_delimiter comma numeric_control_inputs_2,canonical_sha256 3a66c218c95f7669a1248b7f6c32ed654a87ba7b513eba51b4599b4024e18c3d numeric_control_inputs_2,columns {x;y} numeric_control_inputs_2,contract table.generic numeric_control_inputs_2,created_at 2026-11-22T15:00:09+0100 numeric_control_inputs_2,format csv numeric_control_inputs_2,id numeric_control_inputs_2 numeric_control_inputs_2,immutable 0 numeric_control_inputs_2,integrity_algorithm sha256 numeric_control_inputs_2,integrity_seconds 0.004575 numeric_control_inputs_2,kind table.generic numeric_control_inputs_2,media_type text/csv numeric_control_inputs_2,metadata_display_name {} numeric_control_inputs_2,notes {} numeric_control_inputs_2,path datasets/publications/numeric_control_inputs_2.csv numeric_control_inputs_2,producer_module analysis.python_script numeric_control_inputs_2,producer_version 1.0.0 numeric_control_inputs_2,provenance {Synthetic control y=x^2; x axis s and y scale V} numeric_control_inputs_2,publication_api_version 2 numeric_control_inputs_2,requested_storage_provider auto numeric_control_inputs_2,row_count 9 numeric_control_inputs_2,sample_count 9 numeric_control_inputs_2,semantic_roles {;} numeric_control_inputs_2,sha256 3a66c218c95f7669a1248b7f6c32ed654a87ba7b513eba51b4599b4024e18c3d numeric_control_inputs_2,source {} numeric_control_inputs_2,source_dataset_ids {} numeric_control_inputs_2,source_module analysis.python_script numeric_control_inputs_2,source_variable_ids {} numeric_control_inputs_2,storage_kind text numeric_control_inputs_2,storage_provider csv numeric_control_inputs_2,storage_provider_version 1 numeric_control_inputs_2,storage_selection_reason {auto selected csv; required capabilities satisfied; size policy v2: known small logical table} numeric_control_inputs_2,structured_metadata_api_version 1 numeric_control_inputs_2,structured_metadata_file metadata/datasets/numeric_control_inputs_2.ini numeric_control_inputs_2,structured_metadata_revision 6 numeric_control_inputs_2,structured_metadata_updated_at 2026-11-22T15:00:10+0100 numeric_control_inputs_2,units {s;V} numeric_control_inputs_2,var1_axis_count 0 numeric_control_inputs_2,var1_axis_kind explicit numeric_control_inputs_2,var1_axis_origin {} numeric_control_inputs_2,var1_axis_step {} numeric_control_inputs_2,var1_canonical x numeric_control_inputs_2,var1_canonical_position 1 numeric_control_inputs_2,var1_canonical_unit {} numeric_control_inputs_2,var1_compon
[…]
Negative test or attempted call · complexDatasetCaptured

Download the example script (ZIP).

Example operands, preview

[
  "GuideDocument_BoundaryControl",
  "numeric_control_inputs_2",
  "y",
  "y",
  "magnitude",
  {
    "start": 0,
    "count": 2
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/complexDatasetCaptured: Invalid Interactive Document ID 'GuideDocument_BoundaryControl'."

integrateDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric integrateDataset
gxtxt_api_call("NUMERIC_API_v1", "integrateDataset", args)
Recorded result · integrateDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

{
  "value": 244.0,
  "n": 9.0,
  "x_min": 1.0,
  "x_max": 9.0,
  "method": "trapezoidal",
  "kernel": "octave.trapz",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "result_unit": "V*s"
}

cumulativeIntegrateDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric cumulativeIntegrateDataset
gxtxt_api_call("NUMERIC_API_v1", "cumulativeIntegrateDataset", args)
Recorded result · cumulativeIntegrateDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "integral": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      2.5,
      9.0,
      21.5,
      42.0,
      72.5,
      115.0,
      171.5,
      244.0
    ]
  },
  "n": 9.0,
  "method": "cumulative_trapezoidal",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "result_unit": "V*s"
}

differentiateDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric differentiateDataset
gxtxt_api_call("NUMERIC_API_v1", "differentiateDataset", args)
Recorded result · differentiateDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "dy_dx": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      3.0,
      4.0,
      6.0,
      8.0,
      10.0,
      12.0,
      14.0,
      16.0,
      17.0
    ]
  },
  "n": 9.0,
  "method": "centered_secant_with_endpoint_secants",
  "kernel": "octave.gradient",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "result_unit": "V/s"
}

interpolateDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId targetX {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric interpolateDataset
gxtxt_api_call("NUMERIC_API_v1", "interpolateDataset", args)
Recorded result · interpolateDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  }
]

Result, preview

{
  "xq": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  },
  "yq": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      10.75,
      30.5
    ]
  },
  "method": "linear",
  "extrapolation": "error",
  "n_source": 9.0,
  "n_query": 3.0,
  "kernel": "octave.interp1",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}

resampleUniformDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId step {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric resampleUniformDataset
gxtxt_api_call("NUMERIC_API_v1", "resampleUniformDataset", args)
Recorded result · resampleUniformDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  0.5
]

Result, preview

{
  "x": {
    "shape": [
      17,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.5,
      2.0,
      2.5,
      3.0,
      3.5,
      4.0,
      4.5,
      5.0,
      5.5,
      6.0,
      6.5
    ]
  },
  "y": {
    "shape": [
      17,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.5,
      4.0,
      6.5,
      9.0,
      12.5,
      16.0,
      20.5,
      25.0,
      30.5,
      36.0,
      42.5
    ]
  },
  "step": 0.5,
  "start": 1.0,
  "stop_requested": 9.0,
  "stop_actual": 9.0,
  "n_source": 9.0,
  "n_output": 17.0,
  "method": "linear",
  "extrapolation": "error",
  "grid_kind": "uniform",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}

resampleDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId targetOrStep {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric resampleDataset
gxtxt_api_call("NUMERIC_API_v1", "resampleDataset", args)
Recorded result · resampleDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  0.5
]

Result, preview

{
  "x": {
    "shape": [
      17,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.5,
      2.0,
      2.5,
      3.0,
      3.5,
      4.0,
      4.5,
      5.0,
      5.5,
      6.0,
      6.5
    ]
  },
  "y": {
    "shape": [
      17,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.5,
      4.0,
      6.5,
      9.0,
      12.5,
      16.0,
      20.5,
      25.0,
      30.5,
      36.0,
      42.5
    ]
  },
  "step": 0.5,
  "start": 1.0,
  "stop_requested": 9.0,
  "stop_actual": 9.0,
  "n_source": 9.0,
  "n_output": 17.0,
  "method": "linear",
  "extrapolation": "error",
  "grid_kind": "uniform",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}

resampleExplicitDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId targetX {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric resampleExplicitDataset
gxtxt_api_call("NUMERIC_API_v1", "resampleExplicitDataset", args)
Recorded result · resampleExplicitDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  }
]

Result, preview

{
  "x": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  },
  "y": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      10.75,
      30.5
    ]
  },
  "method": "linear",
  "extrapolation": "error",
  "n_source": 9.0,
  "n_output": 3.0,
  "grid_kind": "explicit",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}

statisticsDataset

Access
Registered in the Python Job
Arguments
session datasetId variableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric statisticsDataset
gxtxt_api_call("NUMERIC_API_v1", "statisticsDataset", args)
Recorded result · statisticsDataset:canonical-range

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y",
  {
    "selection_id": "sel_001"
  }
]

Result, preview

{
  "n": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "min": 9.0,
  "max": 36.0,
  "max_absolute": 36.0,
  "range": 27.0,
  "sum": 86.0,
  "mean": 21.5,
  "median": 20.5,
  "q25": 14.25,
  "q75": 27.75,
  "iqr": 13.5,
  "variance_population": 102.25,
  "std_population": 10.111874208078342,
  "variance_sample": 136.33333333333334,
  "std_sample": 11.67618659209133
}
Negative test or attempted call · statisticsDataset:other-session

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y"
]

Result, preview

"GXTXT:Numeric:Context: Session must equal the CORE-bound current Session"

reduceSummaryDataset

Access
Registered in the Python Job
Arguments
session datasetId variableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric reduceSummaryDataset
gxtxt_api_call("NUMERIC_API_v1", "reduceSummaryDataset", args)
Recorded result · reduceSummaryDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y"
]

Result, preview

{
  "count": 9.0,
  "sum": 285.0,
  "mean": 31.666666666666668,
  "min": 1.0,
  "max": 81.0,
  "requested_dimension": 0.0,
  "input_shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      9.0,
      1.0
    ]
  },
  "output_shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  },
  "n_input": 9.0,
  "n_valid": 9.0,
  "n_nonfinite": 0.0,
  "dataset_id": "numeric_control_inputs_2",
  "variable_id": "y",
  "unit": "V",
  "selection_id": "",
  "execution": "chunk_composable"
}

weightedStatisticsDataset

Access
Registered in the Python Job
Arguments
session datasetId variableId weightVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric weightedStatisticsDataset
gxtxt_api_call("NUMERIC_API_v1", "weightedStatisticsDataset", args)
Recorded result · weightedStatisticsDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y",
  "x"
]

Result, preview

{
  "n_total": 9.0,
  "n_input": 9.0,
  "n_valid": 9.0,
  "n_nonfinite": 0.0,
  "n_zero_weight": 0.0,
  "n_positive_weight": 9.0,
  "n_positive": 9.0,
  "sum_weights": 45.0,
  "effective_n": 7.105263157894737,
  "min": 1.0,
  "max": 81.0,
  "range": 80.0,
  "weighted_sum": 2025.0,
  "mean": 45.0,
  "median": 49.0,
  "q25": 25.0,
  "q75": 64.0,
  "iqr": 39.0
}

gridInfoDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric gridInfoDataset
gxtxt_api_call("NUMERIC_API_v1", "gridInfoDataset", args)
Recorded result · gridInfoDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x"
]

Result, preview

{
  "n": 9.0,
  "uniform": true,
  "step": 1.0,
  "step_mean": 1.0,
  "step_median": 1.0,
  "step_min": 1.0,
  "step_max": 1.0,
  "step_std": 0.0,
  "direction": "increasing",
  "monotonic": true,
  "strict_monotonic": true,
  "duplicate_count": 0.0,
  "max_step_deviation": 0.0,
  "relative_max_step_deviation": 0.0,
  "rtol": 1e-09,
  "atol": 0.0,
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x"
}

polynomialFitDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId degree {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric polynomialFitDataset
gxtxt_api_call("NUMERIC_API_v1", "polynomialFitDataset", args)
Recorded result · polynomialFitDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  2
]

Result, preview

{
  "predicted": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      0.9999999999999929,
      3.9999999999999893,
      8.99999999999999,
      15.999999999999988,
      24.999999999999986,
      35.999999999999986,
      48.999999999999986,
      63.999999999999986,
      80.99999999999997
    ]
  },
  "residuals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      7.105427357601002e-15,
      1.0658141036401503e-14,
      1.0658141036401503e-14,
      1.2434497875801753e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      2.842170943040401e-14
    ]
  },
  "weighted_residuals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      7.105427357601002e-15,
      1.0658141036401503e-14,
      1.0658141036401503e-14,
      1.2434497875801753e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      1.4210854715202004e-14,
      2.842170943040401e-14
    ]
  },
  "objective": 2.0478829099537466e-27,
  "sse": 2.0478829099537466e-27,
  "rss": 2.0478829099537466e-27,
  "rmse": 1.8474680466130515e-14,
  "residual_rmse": 1.8474680466130515e-14,
  "response_rmse": 1.5084513434327814e-14,
  "r_squared": 1.0,
  "adjusted_r_squared": 1.0,
  "dof": 6.0,
  "rank": 3.0,
  "condition_number": 2.7054059224857876,
  "scaled_condition_number": 2.6557526238093323,
  "covariance": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      1.1081617478104692e-30,
      -1.1081617478104692e-29,
      2.0316298709858605e-29,
      -1.1081617478104692e-29,
      1.1650473841980733e-28,
      -2.316058052923881e-28,
      2.0316298709858603e-29,
      -2.316058052923881e-28,
      5.5260332490815395e-28
    ]
  },
  "standard_errors": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0526926179139233e-15,
      1.0793736073288401e-14,
      2.350751634920529e-14
    ]
  },
  "weighted": false
}

smoothDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric smoothDataset
gxtxt_api_call("NUMERIC_API_v1", "smoothDataset", args)
Recorded result · smoothDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "window": 3
  }
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "y": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      2.5,
      4.666666666666667,
      9.666666666666666,
      16.666666666666668,
      25.666666666666668,
      36.666666666666664,
      49.666666666666664,
      64.66666666666667,
      72.5
    ]
  },
  "residuals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.5,
      -0.666666666666667,
      -0.6666666666666661,
      -0.6666666666666679,
      -0.6666666666666679,
      -0.6666666666666643,
      -0.6666666666666643,
      -0.6666666666666714,
      8.5
    ]
  },
  "method": "moving_mean",
  "window": 3.0,
  "degree": NaN,
  "endpoint_policy": "shrink",
  "original_count": 9.0,
  "source_row_positions": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "dropped_row_positions": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "source_row_ordinals": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "dropped_row_ordinals": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  }
}

findPeaksDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric findPeaksDataset
gxtxt_api_call("NUMERIC_API_v1", "findPeaksDataset", args)
Recorded result · findPeaksDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

{
  "indices": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "heights": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "prominences": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "widths": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "left_x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "right_x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "n": 0.0,
  "min_height": -1.7976931348623157e+308,
  "min_prominence": 0.0,
  "min_distance": 1.0,
  "distance_mode": "samples",
  "relative_height": 0.5,
  "index_base": 1.0,
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s"
}

baselineDataset

Access
Registered in the Python Job
Arguments
session datasetId xVariableId yVariableId {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric baselineDataset
gxtxt_api_call("NUMERIC_API_v1", "baselineDataset", args)
Recorded result · baselineDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "baseline": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668,
      31.666666666666668
    ]
  },
  "corrected": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      -30.666666666666668,
      -27.666666666666668,
      -22.666666666666668,
      -15.666666666666668,
      -6.666666666666668,
      4.333333333333332,
      17.333333333333332,
      32.33333333333333,
      49.33333333333333
    ]
  },
  "method": "constant",
  "degree": 0.0,
  "coefficients": 31.666666666666668,
  "original_x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "original_y": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      4.0,
      9.0,
      16.0,
      25.0,
      36.0,
      49.0,
      64.0,
      81.0
    ]
  },
  "source_row_positions": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "dropped_row_positions": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "index_base": 1.0,
  "original_n": 9.0,
  "selected_n": 9.0,
  "nonfinite_policy": "error",
  "row_order": "original_input_order",
  "estimator": {},
  "schema": "gxtxt.baseline_result.v1",
  "dataset_id": "numeric_control_inputs_2"
}

arrayUnaryDataset

Access
Registered in the Python Job
Arguments
session datasetId variableId name {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric arrayUnaryDataset
gxtxt_api_call("NUMERIC_API_v1", "arrayUnaryDataset", args)
Recorded result · arrayUnaryDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y",
  "square"
]

Result, preview

{
  "values": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      16.0,
      81.0,
      256.0,
      625.0,
      1296.0,
      2401.0,
      4096.0,
      6561.0
    ]
  },
  "dataset_id": "numeric_control_inputs_2",
  "variable_id": "y",
  "source_unit": "V",
  "selection_id": ""
}

arrayBinaryDataset

Access
Registered in the Python Job
Arguments
session datasetId leftVariableId rightVariableId name {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric arrayBinaryDataset
gxtxt_api_call("NUMERIC_API_v1", "arrayBinaryDataset", args)
Recorded result · arrayBinaryDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  "add"
]

Result, preview

{
  "values": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      6.0,
      12.0,
      20.0,
      30.0,
      42.0,
      56.0,
      72.0,
      90.0
    ]
  },
  "dataset_id": "numeric_control_inputs_2",
  "left_variable_id": "x",
  "right_variable_id": "y",
  "left_source_unit": "s",
  "right_source_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · arrayBinaryDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs",
  "y",
  "y",
  "add"
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/arrayBinaryDataset: math.numeric API v1: Duplicate selected variable_id y"

arrayScalarDataset

Access
Registered in the Python Job
Arguments
session datasetId variableId scalar name {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric arrayScalarDataset
gxtxt_api_call("NUMERIC_API_v1", "arrayScalarDataset", args)
Recorded result · arrayScalarDataset

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y",
  2.0,
  "multiply"
]

Result, preview

{
  "values": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      8.0,
      18.0,
      32.0,
      50.0,
      72.0,
      98.0,
      128.0,
      162.0
    ]
  },
  "dataset_id": "numeric_control_inputs_2",
  "variable_id": "y",
  "source_unit": "V",
  "selection_id": ""
}

dataset_array_unary

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,variable_id,operation
Shape
dataset_rows
Units
caller_owned
Result
dataset_rows
Effect
Apply a unary array operation to a stable Dataset variable
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,ieee
Nonfinite values
error,ieee
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_array_unary", operands])
Recorded result · call:dataset_array_unary

Download the example script (ZIP).

Example operands, preview

[
  "dataset_array_unary",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "y"
    },
    {
      "kind": "text",
      "value": "square"
    }
  ]
]

Result, preview

{
  "values": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      16.0,
      81.0,
      256.0,
      625.0,
      1296.0,
      2401.0,
      4096.0,
      6561.0
    ]
  },
  "dataset_id": "numeric_control_inputs_2",
  "variable_id": "y",
  "source_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · dataset_array_unary

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y",
  "square"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_array_unary is not registered"

dataset_array_binary

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,left_variable_id,right_variable_id,operation
Shape
dataset_rows
Units
caller_owned
Result
dataset_rows
Effect
Apply a binary array operation to stable Dataset variables
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,ieee
Nonfinite values
error,ieee
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_array_binary", operands])
Recorded result · call:dataset_array_binary

Download the example script (ZIP).

Example operands, preview

[
  "dataset_array_binary",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    },
    {
      "kind": "text",
      "value": "add"
    }
  ]
]

Result, preview

{
  "values": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      6.0,
      12.0,
      20.0,
      30.0,
      42.0,
      56.0,
      72.0,
      90.0
    ]
  },
  "dataset_id": "numeric_control_inputs_2",
  "left_variable_id": "x",
  "right_variable_id": "y",
  "left_source_unit": "s",
  "right_source_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · dataset_array_binary

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  "add"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_array_binary is not registered"

dataset_array_scalar

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,variable_id,scalar,operation
Shape
dataset_rows
Units
caller_owned
Result
dataset_rows
Effect
Apply a scalar array operation to a stable Dataset variable
Types
dataset_binding,scalar
Declared shape
dataset_rows
Expansion
scalar_expansion
Options
selection_id=optional;nonfinite=error,ieee
Nonfinite values
error,ieee
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_array_scalar", operands])
Recorded result · call:dataset_array_scalar

Download the example script (ZIP).

Example operands, preview

[
  "dataset_array_scalar",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "y"
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        2.0
      ]
    },
    {
      "kind": "text",
      "value": "multiply"
    }
  ]
]

Result, preview

{
  "values": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      8.0,
      18.0,
      32.0,
      50.0,
      72.0,
      98.0,
      128.0,
      162.0
    ]
  },
  "dataset_id": "numeric_control_inputs_2",
  "variable_id": "y",
  "source_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · dataset_array_scalar

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y",
  2.0,
  "multiply"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_array_scalar is not registered"

dataset_integrate

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id
Shape
dataset_rows
Units
caller_owned
Result
scalar
Effect
Integrate stable Dataset variables
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,omit
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_integrate", operands])
Recorded result · call:dataset_integrate

Download the example script (ZIP).

Example operands, preview

[
  "dataset_integrate",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    }
  ]
]

Result, preview

{
  "value": 244.0,
  "n": 9.0,
  "x_min": 1.0,
  "x_max": 9.0,
  "method": "trapezoidal",
  "kernel": "octave.trapz",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "result_unit": "V*s"
}
Negative test or attempted call · dataset_integrate

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_integrate is not registered"

dataset_cumulative_integrate

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id
Shape
dataset_rows
Units
caller_owned
Result
vector
Effect
Run rowwise calculus on stable Dataset variables
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,omit
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_cumulative_integrate", operands])
Recorded result · call:dataset_cumulative_integrate

Download the example script (ZIP).

Example operands, preview

[
  "dataset_cumulative_integrate",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    }
  ]
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "integral": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      2.5,
      9.0,
      21.5,
      42.0,
      72.5,
      115.0,
      171.5,
      244.0
    ]
  },
  "n": 9.0,
  "method": "cumulative_trapezoidal",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "result_unit": "V*s"
}
Negative test or attempted call · dataset_cumulative_integrate

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_cumulative_integrate is not registered"

dataset_differentiate

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id
Shape
dataset_rows
Units
caller_owned
Result
vector
Effect
Run rowwise calculus on stable Dataset variables
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional;nonfinite=error,omit
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_differentiate", operands])
Recorded result · call:dataset_differentiate

Download the example script (ZIP).

Example operands, preview

[
  "dataset_differentiate",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    }
  ]
]

Result, preview

{
  "x": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "dy_dx": {
    "shape": [
      9,
      1
    ],
    "dtype": "float64",
    "values": [
      3.0,
      4.0,
      6.0,
      8.0,
      10.0,
      12.0,
      14.0,
      16.0,
      17.0
    ]
  },
  "n": 9.0,
  "method": "centered_secant_with_endpoint_secants",
  "kernel": "octave.gradient",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": "",
  "result_unit": "V/s"
}
Negative test or attempted call · dataset_differentiate

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_differentiate is not registered"

dataset_interpolate

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id,target_x
Shape
dataset_rows
Units
caller_owned
Result
vector
Effect
Interpolate stable Dataset variables onto target coordinates
Types
dataset_binding,vector
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_interpolate", operands])
Recorded result · call:dataset_interpolate

Download the example script (ZIP).

Example operands, preview

[
  "dataset_interpolate",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    },
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        1.0,
        3.25,
        5.5
      ]
    }
  ]
]

Result, preview

{
  "xq": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  },
  "yq": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      10.75,
      30.5
    ]
  },
  "method": "linear",
  "extrapolation": "error",
  "n_source": 9.0,
  "n_query": 3.0,
  "kernel": "octave.interp1",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · dataset_interpolate

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  }
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_interpolate is not registered"

dataset_resample

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id,target_x
Shape
dataset_rows
Units
caller_owned
Result
vector
Effect
Resample stable Dataset variables on explicit coordinates
Types
dataset_binding,vector
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_resample", operands])
Recorded result · call:dataset_resample

Download the example script (ZIP).

Example operands, preview

[
  "dataset_resample",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    },
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        1.0,
        3.25,
        5.5
      ]
    }
  ]
]

Result, preview

{
  "x": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  },
  "y": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      10.75,
      30.5
    ]
  },
  "method": "linear",
  "extrapolation": "error",
  "n_source": 9.0,
  "n_output": 3.0,
  "grid_kind": "explicit",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · dataset_resample

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.25,
      5.5
    ]
  }
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_resample is not registered"

dataset_resample_uniform

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id,step
Shape
dataset_rows
Units
caller_owned
Result
vector
Effect
Resample stable Dataset variables on a uniform grid
Types
dataset_binding,scalar
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_resample_uniform", operands])
Recorded result · call:dataset_resample_uniform

Download the example script (ZIP).

Example operands, preview

[
  "dataset_resample_uniform",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        0.5
      ]
    }
  ]
]

Result, preview

{
  "x": {
    "shape": [
      17,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.5,
      2.0,
      2.5,
      3.0,
      3.5,
      4.0,
      4.5,
      5.0,
      5.5,
      6.0,
      6.5
    ]
  },
  "y": {
    "shape": [
      17,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.5,
      4.0,
      6.5,
      9.0,
      12.5,
      16.0,
      20.5,
      25.0,
      30.5,
      36.0,
      42.5
    ]
  },
  "step": 0.5,
  "start": 1.0,
  "stop_requested": 9.0,
  "stop_actual": 9.0,
  "n_source": 9.0,
  "n_output": 17.0,
  "method": "linear",
  "extrapolation": "error",
  "grid_kind": "uniform",
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s",
  "y_unit": "V",
  "selection_id": ""
}
Negative test or attempted call · dataset_resample_uniform

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y",
  0.5
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_resample_uniform is not registered"

dataset_reduce_summary

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,variable_id
Shape
chunk_composable
Units
preserve
Result
scalar_fields
Effect
Stream count sum mean minimum and maximum for a stable Dataset variable
Types
dataset_binding
Declared shape
chunk_composable
Options
selection_id=optional;nonfinite=error,omit;chunk_rows=positive_integer
Nonfinite values
error,omit
Units rule
preserve
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_reduce_summary", operands])
Recorded result · call:dataset_reduce_summary

Download the example script (ZIP).

Example operands, preview

[
  "dataset_reduce_summary",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "y"
    }
  ]
]

Result, preview

{
  "count": 9.0,
  "sum": 285.0,
  "mean": 31.666666666666668,
  "min": 1.0,
  "max": 81.0,
  "requested_dimension": 0.0,
  "input_shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      9.0,
      1.0
    ]
  },
  "output_shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  },
  "n_input": 9.0,
  "n_valid": 9.0,
  "n_nonfinite": 0.0,
  "dataset_id": "numeric_control_inputs_2",
  "variable_id": "y",
  "unit": "V",
  "selection_id": "",
  "execution": "chunk_composable"
}
Negative test or attempted call · dataset_reduce_summary

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "y"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_reduce_summary is not registered"

dataset_grid_info

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id
Shape
dataset_rows
Units
caller_owned
Result
scalar_fields
Effect
Inspect a stable Dataset coordinate variable
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_grid_info", operands])
Recorded result · call:dataset_grid_info

Download the example script (ZIP).

Example operands, preview

[
  "dataset_grid_info",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    }
  ]
]

Result, preview

{
  "n": 9.0,
  "uniform": true,
  "step": 1.0,
  "step_mean": 1.0,
  "step_median": 1.0,
  "step_min": 1.0,
  "step_max": 1.0,
  "step_std": 0.0,
  "direction": "increasing",
  "monotonic": true,
  "strict_monotonic": true,
  "duplicate_count": 0.0,
  "max_step_deviation": 0.0,
  "relative_max_step_deviation": 0.0,
  "rtol": 1e-09,
  "atol": 0.0,
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x"
}
Negative test or attempted call · dataset_grid_info

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_grid_info is not registered"

dataset_find_peaks

Access
Listed in the service catalog. Check the selector and whether the call matches or is rejected.
Arguments
session,dataset_id,x_variable_id,y_variable_id
Shape
dataset_rows
Units
caller_owned
Result
features
Effect
Find peaks in stable Dataset variables
Types
dataset_binding
Declared shape
dataset_rows
Options
selection_id=optional
Nonfinite values
error,omit
Units rule
caller_owned
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["dataset_find_peaks", operands])
Recorded result · call:dataset_find_peaks

Download the example script (ZIP).

Example operands, preview

[
  "dataset_find_peaks",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    }
  ]
]

Result, preview

{
  "indices": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "heights": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "prominences": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "widths": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "left_x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "right_x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "n": 0.0,
  "min_height": -1.7976931348623157e+308,
  "min_prominence": 0.0,
  "min_distance": 1.0,
  "distance_mode": "samples",
  "relative_height": 0.5,
  "index_base": 1.0,
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s"
}
Negative test or attempted call · dataset_find_peaks

Download the example script (ZIP).

Example operands, preview

[
  "[percorso di prova]
  "numeric_control_inputs_2",
  "x",
  "y"
]

Result, preview

"GXTXT:ScriptBridge:UnknownOperation: NUMERIC_API_v1/dataset_find_peaks is not registered"