transform_set_optim_field
Set optimizer transform table fields (Inputs, Parameters, Options) with algorithm-aware validation, preventing invalid configurations in IC-CAP.
Instructions
Set an Optimize Transform's table field value via STFV.
Configure IC-CAP optimizer Inputs, Parameters, and Options tables programmatically. Option field names are validated against the current algorithm; invalid names return success=false with an explanation.
Common fields:
Function: Set to "Optimize" to enable the optimizer
Algorithm: Optimization algorithm (full names or PEL short codes, auto-mapped). Unknown values are rejected before reaching IC-CAP (the native SetAlgorithm accepts anything without checking). On success the response carries current_value with current_value_source='this write': IC-CAP provides no way to read the algorithm back, so your own write is the authoritative record.
Full names: "Levenberg-Marquardt", "Random", "Hybrid", "Gradient", "Quasi-Newton", "Minimax", "Genetic", "Least Pth"
Short codes: "L", "R", "H", "B", "G", "N", "Q", "I"
Error: Error type (full names or PEL short codes, auto-mapped). Same write-only caveat as Algorithm.
Full names: "Relative", "Absolute" Short codes: "R", "A"
Inputs table (0-indexed rows):
"Target[i]": Target measured data, e.g. "ia.m"
"Simulated[i]": Simulated data, e.g. "ia.s"
"X Min[i]", "X Max[i]": X-axis range limits
Parameters table (0-indexed rows):
"Name[i]": Parameter name, e.g. "MAIN.IS"
"Min[i]": Parameter minimum bound
"Max[i]": Parameter maximum bound
Options table (algorithm-specific!):
Random (R): RMS error, Rand Iters, Rand Std Dev, Rand Reward, Rand Penalty, Rand Seed, Comb Filter
LM (L): RMS error, Max error, Max Evals, Param Tol, Function Tol, Comb Filter, Param Delta
Hybrid (H): RMS error, Max error, Rand Iters, Comb Filter, Param Tol, Function Tol, Param Delta
Minimax (N): RMS error, Max error, Max Evals, Param Tol, Function Tol, Max Iters, Comb Filter
All algorithms also support: X/Y Lower/Upper Bound
NOTE: Random uses 'Rand Iters' (NOT 'Max Iters'), LM uses 'Max Evals' (NOT 'Max Iters')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set | |
| field_name | Yes | Field name with optional row index, e.g. Target[0], Name[1], Min[BF] | |
| transform_path | Yes | Optimize Transform path |