% Code 1: Fells et al. Dynamic phase measurement of fast liquid crystal phase modulators % This zip folder contains: % 1) Matlab scripts to demodulate phase infromation from the interferometer % 2) A set of raw data files captured from the measurement system % % To run the code, put the data files demodpm.m and procpm.m into the same folder, run Matlab, then execute: % >> load pmdataXXXX.mat % >> procpm % % The script calls demodpm.m to demodulate the phase % The scrpt plots: % 1) Input volatage of the signals applied to Pixel 1 and Pixel 2 % 2) The demodulated phase of Pixel 1 and Pixel 2 % 3) The phase difference between Pixel 1 and Pixel 2 % Each data file is relevant ro the figures in the manuscript as follows: pmdata2097.mat % Fig. 3 pmdata1918.mat % Fig. 5(a) pmdata2010.mat % Fig. 5(b) pmdata1948.mat % Fig. 5(c), Fig. 5(d) pmdata2071.mat % Fig. 7, Fig. 8, Fig. 9 pmdata2099.mat % Fig. 10(b), Fig. 11 (Phase data) % Data files used to generate the characteristic optical phase vs voltage in Fig. 6 pmdata2092.mat % Pixel 1 2.5V Pixel 2 0V pmdata2089.mat % Pixel 1 5V Pixel 2 0V pmdata2085.mat % Pixel 1 7.5V Pixel 2 0V pmdata2084.mat % Pixel 1 10V Pixel 2 0V pmdata2083.mat % Pixel 1 12.5V Pixel 2 0V pmdata2082.mat % Pixel 1 15V Pixel 2 0V pmdata2081.mat % Pixel 1 17.5V Pixel 2 0V pmdata2080.mat % Pixel 1 20V Pixel 2 0V pmdata2078.mat % Pixel 1 22.5V Pixel 2 0V pmdata2077.mat % Pixel 1 25V Pixel 2 0V pmdata2076.mat % Pixel 1 27.5V Pixel 2 0V pmdata2074.mat % Pixel 1 30V Pixel 2 0V pmdata2073.mat % Pixel 1 32.5V Pixel 2 0V