Architecture Deep Dives

Detailed internal architecture documentation for each major subsystem. These documents describe the design, data flow, and implementation details at a level useful for contributors, maintainers, and advanced users.

For a concise module-level overview, see System Architecture. For formal design rationale, see Architecture Decision Records.

Homodyne Architecture Overview

System-level architecture: package layout, data flow, module dependencies, and cross-cutting concerns.

Homodyne Physical Model Architecture

Physics kernel: g1/g2 theory, JIT-compiled backends, model variants, and gradient-safe numerics.

Homodyne NLSQ Fitting Architecture

NLSQ optimization: trust-region LM, anti-degeneracy layers, CMA-ES, memory routing, and streaming.

Homodyne CMC (Consensus Monte Carlo) Fitting Architecture

Consensus Monte Carlo: sharding, multiprocessing workers, NUTS execution, and posterior combination.

Homodyne Data Handler Architecture

Data pipeline: HDF5 loading, configuration management, validation, and result serialization.