pyinterp.core.Binning2DFloat32.sum_of_weights

pyinterp.core.Binning2DFloat32.sum_of_weights#

Binning2DFloat32.sum_of_weights(self: pyinterp.core.Binning2DFloat32) numpy.typing.NDArray[numpy.float32]#

Compute the sum of weights for points within each bin.

Returns:

Sum of weights for points within each bin.