appliedchemlabwork_tayra.D2.calc_weight#

appliedchemlabwork_tayra.D2.calc_weight(absorbance_1: ndarray[tuple[int, int], dtype[floating[Any]]], absorbance_2: ndarray[tuple[int], dtype[floating[Any]]]) ndarray[tuple[Any, ...], dtype[floating[Any]]][source]#

Calculates the weight(s) from the absorbance data.

Parameters:
absorbance_1NDArray in shape (m, n)

The absorbance of the first param.

absorbance_2NDArray in shape (n,)

The absorbance of the second item.

Returns:
weightsNDArray in shape (m, n)

The weight array.