Matlab code for analysing the NF and FF intensity patterns captured using the IR camera. The code plots the x and y intensity profiles of all NF and FF patterns and calculates the centroid drift for each direction.