zero_line_opacity#

exo_skryer.opacity_line.zero_line_opacity(state: Dict[str, Array], params: Dict[str, Array]) Array[source]#

Return a zero opacity-sampling opacity array.

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

Parameters:
statedict[str, ndarray]

State dictionary containing:

  • nlayint

    Number of atmospheric layers.

  • nwlint

    Number of wavelength points.

paramsdict[str, ndarray]

Parameter dictionary (unused; kept for API compatibility).

Returns:
zerosndarray, shape (nlay, nwl)

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