smeerten / ssnake

A program for the analysis of NMR data.
Other
20 stars 15 forks source link

Roll data does not roll axis #155

Closed jtrebosc closed 3 months ago

jtrebosc commented 10 months ago

Roll data rolls the data but not the axis. This function can be useful in 2D when a peak in F1 is on the border of the spectral window, possibly folded. There should be an option to roll the axis at the same time as the data to keep consistent position of peaks.

jtrebosc commented 10 months ago

I'm not sure what would be the best strategy here: 1) modify xaxArray and tag it as customXax 2) modify freq (carrier frequency) with setFreq 3) modify ref (reference frequency) with setRef

The most logical in my mind would be to modify freq (change the apparent carrier frequency).