How reddtea/astroemperor works
Main Components Identification
The system should be represented with these key components:
a) Core Engine Layer:
• MCMC (Markov Chain Monte Carlo) Sampling Engine
• Parallel Tempering System
• Model Selection Framework
b) Data Processing Layer:
• Data Input/Output Handler
• Parameter Repository
• Model Repository
• Block Repository
c) Analysis Layer:
• Astrometry Processing
• Signal Detection
• Noise Modeling
• Convergence Testing
[Data Input] → [Core Processing] → [Analysis & Output]
• ↑ ↑ ↑
• [Configuration System]────────┘
Component Relationships
Key interactions:
• Feedback loops for iterative processes
Technical Details to Highlight
• Integration with external libraries (numpy, scipy, emcee)
• Support for multiple parameterization methods
• Parallel processing capabilities
• Data validation and error handling
Create distinct sections for:
a) Configuration Management
• Parameter settings
• Model selection criteria
• Prior definitions
b) Core Processing
• MCMC implementation
• Parallel tempering
• Signal detection
c) Analysis Tools
• Statistical analysis
• Visualization
• Results export
Implementation Notes
• Use standardized UML notation where appropriate
• Version information and dependency requirements
• Document the parallel processing options
Remember to include the key file structure elements from the src/astroemperor directory, particularly highlighting the relationship between the core modules (astrometry.py, main_body.py) and support infrastructure (models, priors, and configuration files).