API Reference

Docstring-generated reference for every dispcraft module, grouped the way the library itself is: instrument optics, data loading, the physical calibration forward model, its residual-correction extensions, and distribution helpers.

Module Purpose
optics Collimator/grism/camera instrument model (materials, elements, ray tracing)
measurement Loading and cleaning ground-test PSF data
calibration Ground-test forward model and joint-fit machinery
field_calibration Field-dependent (NN) correction tier
zeroth_dispersion 0th-order two-blob chromatic separation model
chebyshev_residual Chebyshev-polynomial residual, alternative to the MLP
ml PyTorch/Lightning residual-correction MLP building block
model_registry GitLab MLflow model-registry helpers
prediction Unified 1st-/0th-order prediction entry point

Each page is generated directly from the module's own docstrings — see mkdocstrings if you're wondering how.