You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although it's easy to do s.dataset.y += 2. but I wonder if it is obvious enough (since all the other calculations are done with spectra directly. Also if we implement #53 then s.y += 2. is even shorter.
But of course s + 2 is the shortest and most elegant.
Implement the addition (subtraction) of a constant and spectra.
Should add 2 to all
y
values. Subtraction should work similarly.The text was updated successfully, but these errors were encountered: