On Thu, Jul 6, 2017 at 9:42 AM, Chris Barker <chris.barker@noaa.gov> wrote:
In NumPy, this could go along with NDArrayOperatorsMixins in numpy/lib/mixins.py

Yes! I had no idea that existed.

It's brand new for NumPy 1.13 :). I wrote it to go along with __array_ufunc__.