fastmean_plot
Plot registered AC, transient, FFT, or NumPy spectrum data with selectable panels, metrics, and time/frequency windows, returning PNG/SVG plots and measurements.
Instructions
Plot registered AC, transient, native FFT or NumPy spectrum data through MCP.
panels selects 1–12 exact exported columns. A panel is {signal, label?, unit?, scale?:1, metrics?:[rms], guides?:[], color?:'#2563eb'}. Metrics are rms/mean/peak/min/max/peak_to_peak; guides are mean/rms and include that measurement. Frequency panels have metrics=[]; time-weighted metrics require TD. unit is a caller-supplied display label; display_value=native_value*scale with finite positive scale. No new formulas are evaluated. For native power, export e.g. U(OUT)*I(RL) during transient and select that exact column here. Windows are [start,stop] in original seconds/Hz, independently of x_unit. Interpolate exact endpoints, retain adaptive timestamps and both states of equal-time switching events in native order, and reject extrapolation. RMS uses trapezoids of squared samples. Metrics use the full measurement window before graphical decimation. Original run stays intact; a new run returns ImageContent, PNG/SVG/spec/measurements/manifest resources.
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": {
"run_id": "<run_id>"
},
"name": "fastmean_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| panels | No | ||
| run_id | Yes | ||
| x_unit | No | ||
| subtitle | No | ||
| display_window | No | ||
| measurement_window | No |