API Reference¶
This section provides the complete API reference for the Homodyne package. All documentation is auto-generated from docstrings in the source code using Sphinx autodoc. Module and class signatures reflect the installed package version.
Note
The recommended entry points for most users are homodyne.optimization.nlsq.core.fit_nlsq_jax()
for non-linear least squares fitting and homodyne.optimization.cmc.core.fit_mcmc_jax()
for Bayesian uncertainty quantification. Start with the homodyne.optimization.nlsq — Adapter page
for the high-level adapter interface.
Module Overview¶
Module |
Description |
|---|---|
Physical constants, parameter bounds, validation, and shared utilities |
|
|
|
JIT-compiled g₁/g₂ physics, autodiff, meshgrid cache |
|
|
|
|
|
Optimization overview: NLSQ vs CMC, common workflow patterns |
|
|
|
|
|
CMC overview, |
|
|
|
Parameter reparameterization for MCMC sampling efficiency |
|
Multiprocessing backend, worker configuration, chain execution methods |
|
|
|
|
|
All CLI entry points and shell completion system |
|
CPU device management, NUMA configuration, and status utilities |
|
Result saving (JSON, NPZ) and serialization utilities |
|
Plotting, visualization, and diagnostic figure generation |
|
Logging utilities, CPU/NUMA detection |