About the Data Processing category

Coil combine, ECC, freq/phase correct, H2O removal, visualize

Everything about data processing and display: coil combination, frequency-and-phase correction, eddy-current correction, residual water removal, spectral plotting, etc.

Hello Georg

Thanks for creating this thread.

I had a question about first-order phase correction and was wondering if you ro any other expert could help.

I did zero-phase correction and it was pretty straight forward. However for first-order phase correction, I tried to apply a linear phase to the spectrum with the following line of code:
corrected_spectrum = spectrum .* exp(-1i * phase_rad * ppm(:));

I applied a series of phase values from 0 to 360 degree to see the effect. But I can see that these linear phase additions are not helping and it results in oscillations in the spectrum.
Here is a gif representation of what I did:

first-order_PhaseCorrection

Was wondering what I am doing wrong?