MATLAB code for temporal phase correction in multi-echo T2 relaxometry, together with performance evaluating scripts.