generate_diagnostic_report_docx
Generate a structured Word diagnostic report from vibration analysis results. Include statistics, FFT peaks, bearing frequencies, and ISO evaluations for machinery fault detection.
Instructions
Generate a structured Word (.docx) diagnostic report.
Requires: ``pip install predictive-maintenance-mcp[docx]``
``sections`` is a dict whose keys define what to include (all optional):
- statistics: dict (RMS, Kurtosis, Crest Factor …)
- fft_peaks: list [{frequency, magnitude_db, note}, …]
- envelope_peaks: list [{frequency, magnitude_db, match}, …]
- bearing_frequencies: dict {BPFO, BPFI, BSF, FTF}
- iso: dict (from evaluate_iso_20816 output)
- diagnosis: str (free-text diagnostic summary)
Args:
signal_file: Signal filename used for the report title / filename
sections: Content sections to include (see above)
title: Optional custom report title
ctx: MCP context
Returns:
Dictionary with file_path, file_name, and per-section summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal_file | Yes | ||
| sections | Yes | ||
| title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||