CSM GUI Alignment


Performs Recursive Segment-wise Peak Alignment (RSPA) or constrained correlation optimised warping (CCOW) alignment on user-defined segments.

Utilises the uiAlignment function written by Kiril Veselkov.

Uses rspa_model if provided - otherwise uses spectra.

Usage

figure = csm_gui_alignment( spectra, 'rspa_model', rspa_model )

Arguments (* = required)

VariableTypeDefault ValueDescription
*spectracsm_spectraNonecsm_spectra object containing spectral matrix.
rspa_modelcsm_rspaNoneRSPA model as generated by csm_rspa.

Returns

VariableTypeDescription
figureobjcsm_figure_handle with some stored inputs, the handle and auditInfo.

Copyright Imperial College London 2019