This repository now includes comprehensive documentation generated with Doxygen. The documentation covers:
- ✅ All public API functions - Detailed descriptions with parameters and return values
- ✅ All data structures - Complete field-by-field documentation
- ✅ Header files - Full file-level documentation
- ✅ Source implementation - Algorithm overview and implementation details
- ✅ Python API - Complete docstrings for Python bindings
- ✅ Usage examples - Code examples in documentation comments
- Main Documentation Entry Point: Open
Doxygen/html/index.htmlin your browser - Function Reference: Browse all functions at
Doxygen/html/globals_func.html - Data Structures: View all structs at
Doxygen/html/annotated.html - Python API: See docstrings in
python/pmu_estimator.py
- Source Documentation:
Doxygen/html/files.html- All source files with detailed comments - Function Stubs:
Doxygen/html/func__stubs_8h.html- Customization interface - Algorithm Details: See file header in
src/pmu_estimator.c
pmu_init()- Initialize PMU estimator with configurationpmu_estimate()- Estimate synchrophasor, frequency, and ROCOFpmu_deinit()- Clean up and free resourcespmu_dump_frame()- Output results to stream
pmu_context- Main PMU instance (supports multiple independent instances)estimator_config- Configuration parameterspmu_frame- Output frame with synchrophasor and ROCOFphasor- Synchrophasor representation (amplitude, phase, frequency)
All Python classes and methods have detailed docstrings:
PMUEstimator- Main estimator classEstimatorConfig- Configuration objectPmuFrame- Output frame structurePhasor- Synchrophasor object
After making changes to code comments:
doxygen DoxyfileThe updated HTML documentation will be generated in Doxygen/html/.
- Doxygen format - Industry-standard documentation tool
- Detailed parameter descriptions - All input/output parameters documented
- Return value documentation - What each function returns
- Usage examples - Code snippets showing typical usage
- Cross-references - Links between related functions and structures
- Platform notes - Platform-specific information where applicable
See pmu_init() documentation in Doxygen/html/pmu__estimator_8h.html#a42a30dd06ee4f11afdd4af8850052507
See estimator_config structure documentation in Doxygen/html/structestimator__config.html
See the module docstring and class documentation in python/pmu_estimator.py
See the algorithm overview in the file header of src/pmu_estimator.c
See func_stubs.h documentation for the function stubbing mechanism
| Component | Documentation Status |
|---|---|
| Public API Functions | ✅ Complete |
| Data Structures | ✅ Complete |
| Function Parameters | ✅ Complete |
| Return Values | ✅ Complete |
| Usage Examples | ✅ Included |
| Python API | ✅ Complete |
| Algorithm Overview | ✅ Complete |
| Configuration Options | ✅ Complete |
| Build Instructions | ✅ In README |
- Browse the documentation: Start at
Doxygen/html/index.html - Read the main README: See
README.mdfor build and usage instructions - Try the examples: Check
examples/directory for working code - Explore the Python API: See
python/for Python bindings
For questions or issues, refer to the detailed function documentation or the source code comments.