Description Usage Arguments Value
Robust Alignment to a Target Spectrum (RATS).
| 1 2 3 4 5 6 7 8 9 10 11 | 
| mrs_data | MRS data to be corrected. | 
| ref | optional MRS data to use as a reference, the mean of all dynamics is used if this argument is not supplied. | 
| xlim | optional frequency range to perform optimisation, set to NULL to use the full range. | 
| max_shift | maximum allowable frequency shift in Hz. | 
| p_deg | polynomial degree used for baseline modelling. Negative values disable baseline modelling. | 
| sp_N | number of spline functions, note the true number will be sp_N + sp_deg. | 
| sp_deg | degree of spline functions. | 
| max_t | truncate the FID when longer than max_t to reduce time taken | 
| basis_type | may be one of "poly" or "spline". | 
a list containing the corrected data; phase and shift values in units of degrees and Hz respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.