validate_clr_params#

exo_skryer.build_chem.validate_clr_params(cfg, trace_species: tuple[str, ...]) bool[source]#

Validate that abundance parameters are present for CLR mode.

This function accepts either CLR parameters (clr_<species>) or traditional log10 VMR parameters (log_10_f_<species>). When log10 VMR parameters are used, they will be converted to CLR coordinates internally via softmax, which acts as a soft constraint ensuring valid atmospheric composition.

Parameters:
cfgconfig object

Configuration object containing params list.

trace_speciestuple of str

Ordered tuple of trace species names.

Returns:
bool

True if using log_10_f_* parameters, False if using clr_* parameters.

Raises:
ValueError

If neither parameter style is found, or if mixing both styles.