zero_ck_opacity#

exo_skryer.opacity_ck.zero_ck_opacity(state: Dict[str, Array], opac: Dict[str, Array], params: Dict[str, Array]) Array[source]#

Return a zero correlated-k opacity array.

This function is used as a fallback when correlated-k opacities are disabled in the configuration. It maintains API compatibility with compute_ck_opacity() so the forward model can seamlessly switch between CK enabled/disabled.

Parameters:
statedict[str, ndarray]

State dictionary containing:

  • p_layndarray, shape (nlay,)

    Layer pressures (used only to determine array size).

  • wlndarray, shape (nwl,)

    Wavelength grid (used only to determine array size).

paramsdict[str, ndarray]

Parameter dictionary (unused; kept for API compatibility).

Returns:
zerosndarray, shape (nlay, nwl, ng)

Zero-valued correlated-k opacity array in cm² g⁻¹.