pyrtid.utils.means.amean_gradient# pyrtid.utils.means.amean_gradient(values: ndarray[Any, dtype[float64]], weights: Optional[ndarray[Any, dtype[float64]]] = None) → ndarray[Any, dtype[float64]][source]# Return the gradient of the weighted arithmetic mean.