CSM Calibrate NMR


Calibrate raw NMR spectra

Utilises the JTPcalibrateNMR function written by Jake Pearce.

Calibration ensures the spectra align along a common scale.

By defualt aligns by shifting points of the left end of the spectra onto the right, or vice-versa.

Usage

model = csm_calibrate_nmr( spectra, type );

model = csm_calibrate_nmr( spectra, type, 'circular_shift', circular_shift, 'reference_peak', reference_peak, 'search_range', search_range, 'kind', kind );

Arguments (* = required)

VariableTypeDefault ValueDescription
*spectracsm_nmr_spectraNonecsm_nmr_spectra object containing spectral matrix.
*typestrNone'glucose' (doublet at 5.233), 'TSP' (singlet at 0), 'single' (must specify search_range and reference_peak).
circular_shiftboolTrueWhether to perform circular shift
reference_peak1*1NoneOverride the default reference point to this value. Required for 'single' type.
search_range1*2NoneOverride the default search range. Required for 'single' type.
kindstrNoneSet to 'jres' to work on 2D spectra.

Returns

VariableTypeDescription
csm_calibrate_nmrcsm_wrapperstored inputs, model and auditInfo.
csm_calibrate_nmr.output.calibrated_spectracsm_nmr_spectraCalibrated spectra.

Copyright Imperial College London 2019