analyze_pt5_trend
Detect peaks, periodicity, trend segments, and anomalies in PT5 power measurement files to identify power consumption patterns and abnormal behavior.
Instructions
Analyze current trend in a PT5 file: detect peaks, periodicity (autocorrelation), trend segments, and anomalies. Useful for identifying periodic power consumption patterns, current spikes, and abnormal power behavior.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .pt5 file | |
| channel | No | Channel to analyze (default: main) | |
| peak_window_ms | No | Peak detection window in ms (default: 50) | |
| min_peak_prominence_ma | No | Minimum peak prominence in mA to be considered a peak (default: 5) | |
| anomaly_threshold_std | No | Anomaly detection threshold in standard deviations (default: 3) | |
| max_lag_sec | No | Maximum lag for autocorrelation analysis in seconds (default: 10) |