Delete now out-of-date docs as well as adding __array_priority__ to Quantity.
This should be *lower* than that of Unit (and ScaledUnit/BaseUnit), since we still want Units to take priority over Quantities (but Quantity to take precedence over regular ndarrays) for reasons like this: >>> a = np.array([1]) * u.angstroms >>> b = a * u.angstroms # should be np.array([1])*u.angstroms**2 >>> np.arange(10) * a # utilize broadcasting [1 2 3 4 5 6 7 8 9 10] A**2
Showing
Please register or sign in to comment