Closed lpatiny closed 7 years ago
there is a function SD.shift(value) that shift the given spectrum in the x axis. You can also shift in the y axis with SD.yShift(value). @lpatiny does it works? Perhaps we just need to keep the value inside to revert the action.
I never tried this function but it looks like it could solve our problems. @stropitek do you think we could click with the tracking mode on a spectrum and have the value of this peak that is editable ?
Concerning storing the shift I think it would be important in the case of jcamp generation. @andcastillo do you know how to store this correctly in the jcamp without having to invent a parameter ? But yes this shift should be kept somewhere in SD in order to be able to write the jcamp. SD should also deal with reference for 2D spectra.
there is a parameter OFFSET added by bruker to shift in thge x dimension. And it does what you need.
In the peak picking view and compare we should be able to shift the spectrum