Bin the opacity by optical depth & wavelength, then see how well the resulting table
reproduces the radiative heating rate against the full-ODF reference. Lower residual = better.
N edges → N−1 tau groups. e.g. -0.63, 0.35, 1.23, 2.89, 7
to τ groups
Grows to N optimally-placed τ groups over the whole λ range (keeps the outer window),
then fills the box above and recomputes.
2 edges = one cell (no wavelength split). Add an interior edge (e.g. 3.8) to split.
Only matters with >1 λ cell. Off = that group stays one band over all λ.
s
Minimizes the Q_rad residual directly (full RTE per step, ~2.5 s). Warm-starts
from the current binning and loads the result when done.cancel per-group λ: each τ group gets its own wavelength split (its own cut, or none) —
replaces the shared cut + flags.
bands
—
(λ,τ) groups
—
rms residual
—
max |ΔQ/ρ|
—
∫Q error
—
assigned sub-bins
—
compute time
—
Writes the current binning's C-format kappa table (`kappa_<…>.dat`). After an
optimize run this is the optimized table.