derive
Evaluate expressions of finished-run probes on a grid to compute circuit gain, input impedance, voltage differences, or power; AC expressions return magnitude/dB/phase.
Instructions
Evaluate an expression of a finished run's probes on a grid, e.g. "db(v(out)/v(in))" (gain), "v(in)/i(R1)" (input impedance),
"v(a)-v(b)", "v(out)*i(R2)" (power). AC probes are complex (answer gives mag/dB/deg). measure() accepts such expressions as probe.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"expr": "<expr>"
},
"name": "derive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | ||
| name | Yes | ||
| interp | No | linear | |
| points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||