Multiplication/Division does not preserve header.
jason-neal opened this issue · comments
Jason Neal commented
Failing test case.
s = Spectrum([1,2,3,4], [1,2,3,4], header={"hello": "world"})
s /= 1
assert s.header is not None
It will be in one of the overloaded operators.
Jason Neal commented
Added tests for this in 109a46d,
Jason Neal commented
Fixed in e43dc3e, but then will be updated with the changed overloaded operators