Computer Specification and Installation of the mat2dcorr toolbox: Difference between pages

From 2D-COS Wiki
(Difference between pages)
Jump to navigation Jump to search
mNo edit summary
 
 
Line 1: Line 1:
* Processor: 32-bit or 64-bit CPU from Intel or AMD
__FORCETOC__
* Operating systems: Microsoft Windows 7/8/8.1/10/11 (64-bit version preferred), or LINUX (tested on Debian Bullseye)
To download go to [http://www.peter-lasch.de/2dcorr/ http://www.peter-lasch.de/2dcorr/]
* Matlab R2014a (The Mathworks), or newer
 
* Memory: >4 GB recommended (2048 MB minimum)
== Required files / Software / OS ==
* the mat2dcorr toolbox will be installed as a Matlab toolbox. Matlab m-code (source files) can be downloaded from this website.
 
[[File:index-of-2dcorr.jpg|500px|thumb|Mat2Dcorr: index of http://www.peter-lasch.de/2dcorr]]
 
'''Program Files''' of the mat2Dcorr toolbox:
<ol>
<li> mat2dcorr.m</li>
<li> updcorrplt.m</li>
<li> resiz2dfig.m</li>
<li> readme.txt</li>
</ol>
 
'''Software''':
<ol start="5">
<li> [https://www.mathworks.com Matlab] R2014a or newer</li>
</ol>
 
'''Operating Systems''':
<ul>
<li> Windows 10</li>
<li> LINUX (Debian Stretch/Buster/Bullseye)</li>
</ul>
 
== Extra files (spectral data files) ==
 
<ol start="5">
<li> linescandata.mat - example data file in the trace (2D) data format, see also [[Matlab_Trace_Format| Matlab trace data format]] </li>
<li> linescandata.xlsx - example data file in the trace (2D) data format (MS Excel)
</li>
<li> IR-cerebellum-100x100.mat - example data file in the hyperspectral imaging (HSI) data format (FT-IR spectra from hamster cerebellum), see also [[Matlab_Imaging_Format| Matlab imaging data format ]]</li>
<li> IR-cerebellum-50x50.mat - example data (50 x 50 spectra, interpolated), Matlab imaging data format</li>
<li> MALDI-cerebellum-100x100.mat - example data file (100 x 100 spectra) in the HSI data format (MALDI-TOF mass spectra from hamster cerebellum), Matlab imaging data format</li>
<li> MALDI-cerebellum-50x50.mat - example data file (50 x 50 spectra, interpolated), Matlab imaging data format</li>
<li> Raman-cerebellum-100x100.mat - example data file (100 x 100 spectra) in the HSI data format (MALDI-TOF mass spectra from hamster cerebellum), Matlab imaging data format</li>
<li> Raman-cerebellum-50x50.mat - example data file (50 x 50 spectra, interpolated), Matlab imaging data format</li>
<li> fftsyncro.mat - result file of 2D correlation analysis by the mat2dcorr toolbox using the FFT 2D-COS option, for details of the result file format refer also to the section [[Format_of_a_2D-COS_Result_File|format of a 2D-COS result file (Matlab)]]</li>
<li> statssyncro.mat - result file of 2D correlation analysis by the mat2dcorr toolbox using the statistical 2D-COS option, for details of the result file format refer also to the section [[Format_of_a_2D-COS_Result_File|format of a 2D-COS result file (Matlab)]]</li>
</ol>
 
== Installation ==
 
* Download files 1.-4. + some test data (see above) and and copy them into one single directory, for example into a directory ''mat2dcos''.
* Add then this directory to Matlab's search path. For this start Matlab and type<br>
 
    >> addpath('Mat2DcorrPath')
 
at the Matlab command prompt, where ''Mat2DcorrPath'' denotes the full path where the the toolbox resides (i.e. ''mat2dcos'').<br>
Example of Mat2DcorrPath: ''C:\Users\Tim\Documents\Matlab\mat2dcos''
 
* To start mat2Dcorr type<br>
 
    >> mat2dcorr
 
at the Matlab prompt.<br>
 
This will open two different windows:
# A window entitled '2D correlation analysis ... ' which shows the 2D correlation spectrum and mean spectra obtained from the x- and y-spectral data
# The 2D-COS control window (see screenshot below)
 
[[File:2D-COS.jpg|800px|thumb|Mat2Dcorr: screenshot of the 2D control window (left) and the window '2D correlation
analysis ... ' (right)]]

Revision as of 15:32, 2 April 2023

To download go to http://www.peter-lasch.de/2dcorr/

Required files / Software / OS

Program Files of the mat2Dcorr toolbox:

  1. mat2dcorr.m
  2. updcorrplt.m
  3. resiz2dfig.m
  4. readme.txt

Software:

  1. Matlab R2014a or newer

Operating Systems:

  • Windows 10
  • LINUX (Debian Stretch/Buster/Bullseye)

Extra files (spectral data files)

  1. linescandata.mat - example data file in the trace (2D) data format, see also Matlab trace data format
  2. linescandata.xlsx - example data file in the trace (2D) data format (MS Excel)
  3. IR-cerebellum-100x100.mat - example data file in the hyperspectral imaging (HSI) data format (FT-IR spectra from hamster cerebellum), see also Matlab imaging data format
  4. IR-cerebellum-50x50.mat - example data (50 x 50 spectra, interpolated), Matlab imaging data format
  5. MALDI-cerebellum-100x100.mat - example data file (100 x 100 spectra) in the HSI data format (MALDI-TOF mass spectra from hamster cerebellum), Matlab imaging data format
  6. MALDI-cerebellum-50x50.mat - example data file (50 x 50 spectra, interpolated), Matlab imaging data format
  7. Raman-cerebellum-100x100.mat - example data file (100 x 100 spectra) in the HSI data format (MALDI-TOF mass spectra from hamster cerebellum), Matlab imaging data format
  8. Raman-cerebellum-50x50.mat - example data file (50 x 50 spectra, interpolated), Matlab imaging data format
  9. fftsyncro.mat - result file of 2D correlation analysis by the mat2dcorr toolbox using the FFT 2D-COS option, for details of the result file format refer also to the section format of a 2D-COS result file (Matlab)
  10. statssyncro.mat - result file of 2D correlation analysis by the mat2dcorr toolbox using the statistical 2D-COS option, for details of the result file format refer also to the section format of a 2D-COS result file (Matlab)

Installation

  • Download files 1.-4. + some test data (see above) and and copy them into one single directory, for example into a directory mat2dcos.
  • Add then this directory to Matlab's search path. For this start Matlab and type
   >> addpath('Mat2DcorrPath')

at the Matlab command prompt, where Mat2DcorrPath denotes the full path where the the toolbox resides (i.e. mat2dcos).
Example of Mat2DcorrPath: C:\Users\Tim\Documents\Matlab\mat2dcos

  • To start mat2Dcorr type
   >> mat2dcorr

at the Matlab prompt.

This will open two different windows:

  1. A window entitled '2D correlation analysis ... ' which shows the 2D correlation spectrum and mean spectra obtained from the x- and y-spectral data
  2. The 2D-COS control window (see screenshot below)
Mat2Dcorr: screenshot of the 2D control window (left) and the window '2D correlation analysis ... ' (right)