get_pt5_samples
Retrieve current (mA) and voltage (V) samples from a PT5 power measurement file. Optionally filter by time range and decimate to reduce data points.
Instructions
Retrieve sample data from a PT5 file, with optional time range filtering and sample decimation. Returns current (mA) and voltage (V) values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .pt5 file | |
| start_time_sec | No | Start time in seconds (default: 0) | |
| end_time_sec | No | End time in seconds (default: end of capture) | |
| decimation | No | Return every Nth sample (default: 1). Use 10, 100, 1000 for large files. | |
| max_samples | No | Maximum number of samples to return (default: 5000). |