README file for the opendata folder of the paper: "Terahertz correlation spectroscopy infers particle velocity and rheological properties" To be submitted to Optics Letters (2016). Authors: Eric Rees, Ke Su, Axel Zeitler. Orcid ID of Eric Rees: orcid.org/0000-0001-7478-5961 Contact email for Eric Rees: ejr36@cam.ac.uk 1. Contents of this opendata folder. (a) Sample data from the time-domain terahertz sensor from the experiments described in the paper (b) Matlab code which converts this sample data into the figures presented in the paper. This code implements the data analysis presented in the paper. 2. List of sample data files ballotini_6June_002_425_30Hz Ballotini (425 micron dia) falling in oil (Fig 2) ballotini_6June_004_212_30Hz Ballotini (212 micron dia) falling in oil bubbles_12Aug_13 Bubbles rising in oil (Fig 4) viscometer_3Sep_5 Viscometer, silvered polyethlene beads in oil (Fig 3B) viscometer_12Aug_7 Viscometer, 1.43 radians / s (Fig 3C) viscometer_12Aug_8 Viscometer, 2.01 radians / s (Fig 3C) viscometer_12Aug_9 Viscometer, 2.51 radians / s (Fig 3C) viscometer_12Aug_10 Viscometer, 1.03 radians / s (Fig 3C) viscometer_12Aug_11 Viscometer, 1.57 radians / s (Fig 3C) 3. Matlab code for data analysis. (a) THz_Corr_Vel_Code_Figs.m This script generates all the figures that present data in the paper. This script was developed in Matlab 2013b. It reads in raw sample data from the opendata folder. To use this script, open Matlab, set the opendata folder as the working directory, and run this script. (b) TOF.m Time-of-flight analysis Analyses viscometer data to produce time-and-depth resolved velocimetry results using the terahertz correlation spectroscopy method presented in the paper. (c) NOT INCLUDED IN THIS FOLDER - but useful for making greyscale compatible figures in the paper: cubehelix.m Implement's Dave Green's cubehelix colormap. Used for Figure 4. Cubehelix is a colormap with maximised constrast that can be converted to grayscale without loss of information. The cubehelix colormap is fully presented in: Green, D. A., 2011, `A colour scheme for the display of astronomical intensity images', Bulletin of the Astronomical Society of India, 39, 289. (2011BASI...39..289G at ADS. http://adsabs.harvard.edu/abs/2011BASI...39..289G ) http://astron-soc.in/bulletin/11June/289392011.pdf