File Exchange > Data Analysis >    2D Correlation Spectroscopy Analysis

OriginLab Technical Support
Date Added:
Last Update:
Downloads (90 Days):
Total Ratings:
File Size:
1170 KB
Average Rating:
File Name:
File Version:
Minimum Versions:

Calculate synchronous and asynchronous correlation spectra.

Screen Shot and Video:

This app calculates synchronous and asynchronous correlation spectra from one set of dynamic spectra (homo correlation) or two sets of dynamic spectra (hetero correlation) induced by perturbation.


Download the twoDCorrSpec.opx file, then drag-and-drop onto the Origin workspace. An icon will appear in the Apps gallery window.


  1. Activate a worksheet with XYY... columns. The perturbation values should be specified in the column label row (Comments, Parameters or User Defined Parameters) for each spectrum.

    Note: For hetero correlation, you can put two sets of spectra in separate worksheets.

  2. Click the icon in the Apps Gallery window to open the dialog. 
  3. Dialog settings:
    • Correlation Type:
      • Homo Correlation: One set of dynamic spectra (e.g. Raman) is measured under perturbation.
      • Hetero Correlation: Two sets of different dynamic spectra (e.g. Raman and IR) are measured under same perturbation.
    • Input:
      • Spectral Variables: Select an X column (e.g. wavenumber or wavelength). 
      • Dynamic Spectra: Select multiple Y columns.
      Note: For hetero correlation, specify Spectral Variables and Dynamic Spectra for two sets of spectra correspondingly.
    • Options
      • Reference Spectrum:
        • None: Use raw dynamic spectra.
        • Average: Average dynamic spectrum is subtracted from dynamic spectra.
        • Select Reference: Select a reference spectrum that is subtracted from dynamic spectra.
      • Indentify Perturbation by: Select which column label row stores the perturbation variables.
      • Perturbation Variables: Values read from chosen column label row. 
      • Scaling:
        • None: Scaling factor is 0.
        • Pareto scaling: Scaling factor is 0.5.
        • Pearson scaling: Scaling factor is 1.
        • Custom: Scaling factor can be changed between 0 and 1. Closer the value is to 0, the stronger the influence of the dominant signals becomes. 
      • Correlation Spectra: Select Synchronous or Asynchronous to calculate.
  4. Click Preview button to display calculated spectra.
  5. Click OK button to output calculated spectra and create a contour graph.

Sample OPJU File

This app provides a sample OPJU file. Right click on the app icon in the Apps Gallery window, and choose Show Samples Folder from the short-cut menu. A folder will open. Drag-and-drop the project file 2DCorrSpecSample.opju from the folder onto Origin. The Notes window in the project shows detailed steps.
Note: If you wish to save the OPJU after changing, it is recommended that you save to a different folder location (e.g. User Files Folder).


v1.22:Support adding source spectra to graph.
v1.2: Fix preview bugs.
v1.1: Fix data info bugs.

Reviews and Comments:
07/11/2024kordorwu.v2D correlation window freezes when auto preview is selected.


05/16/2024Xiaojun Sungood

05/16/2024Xiaojun Sungood


05/11/2023kdoudrickWorks great

04/18/2023xuzhexianI just use it

03/20/2023zeeshanabbasiAlways show the error of perturbation values.

07/16/2021OriginLabHi bfd5230,
Thanks for reporting this issue. We will update this App to support perturbation variables in any order.

07/12/2021bfd5230There's a bug with hetero correlation, it needs the same perturbation, but when the perturbation is the same, it noticed that the perturbations need in ascending order. really wired.