Run the 'phase_calibration.m' file in MATLAB. Due to space issues, the included data files are quantized and cropped, but they yield similar results to the original data.

npy-matlab code is from https://github.com/kwikteam/npy-matlab.