API Reference#
This section documents the public Python API of BYOST. Pages are generated automatically from function and module docstrings in the source code, following common scientific-Python documentation practice (Sphinx autodoc with NumPy-style docstrings where provided).
Modules#
Module |
Description |
|---|---|
Build PCA/GPR building blocks from input spectra and conditions |
|
Retrieve and reconstruct spectral templates |
|
Merge blue- and red-side spectra |
|
Plot building blocks, GPR surfaces, and templates |
Most users import from the top-level package:
import BYOST
from BYOST import make_buildingblock, get_template, plot_template
See the Quick Guide for workflow examples.