sweep
Run a SPICE netlist multiple times, each substituting a different value for a .DEFINE parameter, to compare analysis results across the sweep.
Instructions
Run one netlist repeatedly, varying a .DEFINE parameter.
The deck must declare the symbol, e.g. .DEFINE RLOAD 1K, and use it in
a component value. Each value is a separate Micro-Cap run.
Args:
netlist: SPICE deck containing a .DEFINE for parameter.
parameter: the symbol to vary.
values: values to substitute, e.g. ["1K", "10K", "100K"].
analysis: analysis to run for every value.
max_points: cap on returned samples per run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| netlist | Yes | ||
| analysis | No | ac | |
| parameter | Yes | ||
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||