One-item arrays converted to scalars
The eta
property unwrap one-item arrays to scalars:
>>> from pylorentz import Vector4
>>> v = Vector4([1], [1], [1], [1])
>>> v.theta
array([0.95531662])
>>> v.eta
0.6584789484624082
The proper behavior would be to return a one-item array as theta
does.