Menu

File

Contains all functions for importing files and saving the outputs.

Mode

Allows user to select between homo and hetero-spectral correlation. Implicit selection is a homospectral correlation. Filter is restricted to *.txt and *.prn files but it is possible to import any text-based spectra which is supported by MATLAB. Important thing for these files is conserved structure. Imported data set must contain scale in the first column and other spectra following. Spectra must be equidistantly spaced!

Load

Be aware that invoking a Load dialog and then cancelling it will act as a clear command!

First spectra

This menu item is always active and brings up a dialog for choosing first spectra for correlation. Calculation of correlation is also triggered if mode is set to homospectral.

Second spectra

This menu item becomes active only if mode is set to heterospectral and only after successful loading of the first spectra. Triggers calculation of the correlation.

Save

Save matrices

Brings up a dialog box to save output matrices. Becomes active after calculation of correlation spectra. Saves output into two separate files in a form of filename_synch.txt for synchronous spectra and filename_asynch.txt for asynchronous spectra. First two columns in these matrices are scales of input data and can be used for proper plotting.

Save plot

Becomes active only after plotting something and brings a dialog with a wide variety of image types.

Clear

Clears all data in the workspace. This function is not resetting mode or other options to default! Has a confirmation dialog box.

Close

Close current workspace without saving any data.

Show

Content of this menu becomes active after triggering the correlation.

Synchronous

Plots the synchronous spectra in contour plot

Asynchronous

Plots the asynchronous spectra in contour plot

Side plots

Controls which spectra is showed in the sideplots.

First spectra

This is a default setting. Plots a first spectra of the evaluated set into the sideplots.

Last spectra

Plots the last spectra of the evaluated set into the sideplots.

Average spectra

Computes an average spectra of the set based on arithmetic mean.

Other

User can choose which spectra will be plotted by inputting a column index of wanted spectra into the dialog box.

Tools

Series of tools which allows various manipulation with output plots.

Colormap

This tool allows user to change colors of the main contour plot.

Zoom

Opens a dialog box with four rows for user's input. These inputs represent X-axis minimum and maximum and Y-axis minimum and maximum values. These values are used for plotting the main graph as well as the side plots.
Zoom is currently in the state of development. Therefore is broken after choosing another plotting command and also plots graph outside designed filed!

Colorbar

This tool will display a colorbar for the main plot representing a z-scale. You can delete this color bar by clicking this tool again.