Excel Trace Format and Matlab Imaging Format: Difference between pages

From 2D-COS Wiki
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
 
Line 1: Line 1:
With version 1.04 of the mat2dcorr toolbox, besides hyperspectral imaging data in the CytoSpec data format and Matlab trace files, spectra data from MS Excel spreadsheets can now be loaded. MS Excel spreadsheets contain spectra series in a 2D data format where the spectra must be arranged as columns and the wavenumber vectors as rows. It is also important that the first row contains the vector with the data entries of the perturbing variable (temperature, pressure, etc.). The first column should contain the y-vector (wavenumber, frequencies, Raman shift vector) starting from row no. 2. <br>
Imaging data can be considered 3-way data in which the intensity (absorbance, transmittance, reflectance, etc.) depends on two spatial [x,y] variables and one spectral variable, usually represented by the wavelength, wavenumber, or Raman shift. <br> &nbsp; <br>


In order to use own data by means of the MS Excel import function, it is recommended to analyze the structure of the example file and to replace the spectral data contained therein with own data. <br>
[[File:imaging-file-format-I.jpg|400px|thumb| Matlab structure arrays ''C'' (imaging data) and ''Minfo'' (metadata) present in imaging data files]]


To load MS Excel trace files select Load Data &rarr; Excel data format &rarr; x-data, or y-data from the Load Data menu bar. <br> &nbsp; <br>
To load imaging data in the Matlab data format select ''Load Data'' &rarr; ''Matlab imaging format'' &rarr; ''x-data'' or ''y-data'' to load the x-, or y-data from the ''Load Data'' menu bar. Matlab imaging data files may contain up to four different types of hyperspectral imaging data cubes: original (unprocessed data), pre-processed, derivative and so-called deconvolution data cubes (the latter 3 types of data must be derived from the original spectral data). For a detailed description of the Matlab imaging data format see [http://www.cytospec.com/file.php#FileSaveMatlab].
 
[[File:imaging-file-format-II.jpg|400px|thumb| Fields of the Matlab structure array ''Minfo'' containing important metadata of hyperspectral imaging data files]]
 
== Related links  ==
 
* [[Matlab_Trace_Format|Import data in the trace format (Matlab)]]
* [[Excel_Trace_Format|Import data in the MS excel data format]]
* [[Format_of_a_2D-COS_Result_File|Format of a 2D-COS result file (Matlab)]]

Revision as of 16:58, 2 April 2023

Imaging data can be considered 3-way data in which the intensity (absorbance, transmittance, reflectance, etc.) depends on two spatial [x,y] variables and one spectral variable, usually represented by the wavelength, wavenumber, or Raman shift.
 

Matlab structure arrays C (imaging data) and Minfo (metadata) present in imaging data files

To load imaging data in the Matlab data format select Load DataMatlab imaging formatx-data or y-data to load the x-, or y-data from the Load Data menu bar. Matlab imaging data files may contain up to four different types of hyperspectral imaging data cubes: original (unprocessed data), pre-processed, derivative and so-called deconvolution data cubes (the latter 3 types of data must be derived from the original spectral data). For a detailed description of the Matlab imaging data format see [1].

Fields of the Matlab structure array Minfo containing important metadata of hyperspectral imaging data files

Related links