apply_spectral_penalties

glotaran.model.clp_penalties.apply_spectral_penalties(model: Model, parameters: ParameterGroup, clp_labels: dict[str, list[str] | list[list[str]]], clps: dict[str, list[np.ndarray]], matrices: dict[str, np.ndarray | list[np.ndarray]], data: dict[str, xr.Dataset], group_tolerance: float) np.ndarray[source]