% http://dx.doi.org/10.5525/gla.researchdata.315 % Ermes Toninelli 2016 % "The transition from a coherent optical vortex to a Rankine vortex: beam contrast dependence on topological charge" % http://www.tandfonline.com/doi/full/10.1080/09500340.2016.1234651 % Journal of Modern Optics, 21/09/2016 % Tested with the following software: LabVIEW 2014 SP1 64-bit and VISION; MATLAB R2015a 64-bit - Rankine LabVIEW.zip This LabVIEW project contains the code to convert the data acquired by the ORCA camera from .img to the .tiff format. This code can be run by opening the project (located in the Project files subdirectory) and running the dcimgreader_convertToTiff.vi VI. Note that the data in data.zip contains both the original .img and the converted .tiff files. - Rankine MATLAB.zip This collection of MATLAB scripts and function was used to process the data from the DALSA camera (variable aperture frames and speckle patterns frames) and the ORCA camera (transition from purely helical beam to Rankine vortex frames). This is a description of the various files: 1) apertures_DALSA.m [use with the following data: \data\dalsa\apertures\l1\avgs; \data\dalsa\apertures\l2\avgs; and \data\dalsa\apertures\l3\avgs] This .m file analyses the frames from the DALSA camera and estimates the diameter of the aperture. 2) autocorrelationConcept.m inside the speckle grain size folder [use with the following data: \data\dalsa\uniquePlusTransmutations] This .m file and the associated 3rd party autocorr2d.m function is used to calculate the size of a speckle pattern from the speckle frames acquired by the DALSA camera. 3) newWayContrastScript inside the Contrasts of Rankine transition folder [use with the following data: \data\ORCA\l1\avgs; \data\ORCA\l2\avgs; and \data\ORCA\l3\avgs] This .m file and associated functions (newWay.m and resiseFunctionConcept.m) is used to calculate the radial contrast values of the frames acquired by the ORCA camera for different sizes of the variable aperture and different values of topological charge.