mat2dcorr - 2D correlation spectroscopy tollbox with Matlab version 1.04 Apr 02, 2023 Copyright Peter Lasch 2010-2023. CC-BY-NC license A.) Required files 1.) mat2dcorr.m (Matlab source code file) 2.) updcorrplt.m (Matlab source code file) 3.) resiz2dfig.m (Matlab source code file) 4.) readme.txt (this file) 5.) linescandata.mat (spectral data file, Matlab trace data format) B:) Example & test data files 1.) linescandata.xlsx (spectral data file, Excel trace data format) (contains the same data as linescandata.mat) 2.) IR-cerebellum-50x50.mat - IR hyperspectral image data (50 x 50 spectra) 3.) MALDI-cerebellum-50x50.mat - MALDI hyperspectral image data (50 x 50 spectra) 4.) Raman-cerebellum-50x50.mat - Raman hyperspectral image data (50 x 50 spectra) 5.) IR-cerebellum-100x100.mat - IR hyperspectral image data (100 x 100 spectra) 6.) MALDI-cerebellum-100x100.mat - MALDI hyperspectral image data (100 x 100 spectra) 7.) Raman-cerebellum-100x100.mat - Raman hyperspectral image data (100 x 100 spectra) 8.) fftsyncro.mat 9.) statssyncro.mat C.) Installation 1.) Requires Matlab R2014a or newer 2.) Download and copy files 1-5 into a separate directory 3.) Add this directory to Matlab's search path For this start Matlab and type >> addpath('Mat2DcorrPath') at the Matlab command prompt 'Mat2DcorrPath' denotes the full path example: 'C:\Users\Tim\Documents\Matlab\Mat2D' 4.) Type then >> mat2dcorr; at the Matlab prompt to start D.) Format of the example file 'linescandata.mat' (file #5, Matlab trace format) Matlab trace format files are Matlab files in which the following variables are stored: spc - The spectral data, a 2D array of double precision floating point values (float32). Columns indicate individual spectra of absorbance, intensity, transmittance or other values; the column length equals the number of spectral data points, the number of columns indicates the number of spectra (i.e. of observations) wav - A vector of float32 values, the 'wavenumber' vector, or more general the vector of y-values (frequencies, wavenumbers, Raman shift, or other y-values), 'wav' must equal size(spc,1) and be should be increasing while equal point spacing is not a requirement tos - A character vector of variable length to indicate the spectra type. Examples: 'IR Transmission', 'Fluoresence', 'Raman', etc vst - A character vector of variable length indicating the type of the perturbing variable. Examples 'Temperature', 'Time', 'Voltage', or 'Spatial variable'. war - A vector of float32 values, the perturbing variable of the experiment. Examples: [10 11 12 ... 45] in case of vst = 'Temperature'. The length of 'war' must be equal to size(spc,2). For more details see the mat2dcorr Wiki at https://wiki2dcos.microbe-ms.com