scope_set_math_zoom
Set the horizontal zoom of a math trace to examine a specific frequency or time range without altering the underlying computation. Specify function number, center value, and scale per division.
Instructions
Set the horizontal display zoom for a math trace.
Useful for zooming into a specific frequency range on an FFT trace without changing the FFT computation itself.
Units depend on the math function type:
FFT traces: Hz (e.g. center=1250, per_div=250 shows 0–2500 Hz on 10 divs)
Time-domain math traces: seconds
Args: func: Math function number 1–4 center: Center value (Hz for FFT, seconds for time-domain math) per_div: Scale per division
Transport: VBS (app.Math.Fn.Zoom.HorCenter, app.Math.Fn.Zoom.HorScale)
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": {
"func": "<func>",
"center": "<center>",
"per_div": "<per_div>"
},
"name": "scope_set_math_zoom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| func | Yes | ||
| center | Yes | ||
| per_div | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |