sweights¶
-
minkit.sweights(pdfs, yields, data, range='full', return_covariance=False)[source]¶ Calculate the s-weights for the different provided species.
Parameters: Returns: Values of the s-weights for each specie and possible covariance matrix.
Return type: list(darray), (numpy.ndarray)
Raises: ValueError – If the number of provided yields is smaller than the number of PDFs minus one.