detect_signal_degradation_onset
Identify the onset of signal degradation in vibration data by analyzing time-domain features and detecting when they surpass baseline variations, enabling proactive maintenance.
Instructions
Detect whether and where a signal begins to degrade.
Extracts a feature series from the signal and applies change detection
to identify the first segment where the feature exceeds baseline
statistics by *threshold_sigma* standard deviations.
Args:
ctx: MCP context for user communication.
signal_file: CSV signal file in the data directory.
feature_name: Time-domain feature to monitor (default: "rms").
threshold_sigma: Number of baseline standard deviations to trigger
degradation onset (default: 3.0).
sampling_rate: Signal sampling rate in Hz (auto-detect if None).
segment_duration: Duration of each segment in seconds.
overlap_ratio: Overlap between segments (0-1).
Returns:
DegradationOnsetResult with onset detection outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal_file | Yes | ||
| feature_name | No | rms | |
| threshold_sigma | No | ||
| sampling_rate | No | ||
| segment_duration | No | ||
| overlap_ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature_name | Yes | Feature analyzed | |
| onset_detected | Yes | Whether degradation onset was detected | |
| onset_segment_index | No | Segment index where degradation starts | |
| threshold_sigma | Yes | Sigma threshold used for detection | |
| num_segments | Yes | Total number of segments |