Interpolate NMR spectra
Utilises the JTPinterpolateNMR function written by Jake Pearce.
Uses cubic-spline interpolation to increase / decrease the number of
points in an NMR spectrum. If you wish to re-size the a spectrum with
both imaginary and real parts, simple run the function seperatly for each
part.
model = csm_interpolate_nmr( spectra, ppm_common, 'ppm_common2D', ppm_common2D )
| Variable | Type | Default Value | Description |
|---|---|---|---|
| *spectra | csm_nmr_spectra | None | csm_nmr_spectra object containing spectral matrix. |
| *spectra | csm_jres_spectra | None | csm_jres_spectra object containing 2D spectral matrix. |
| *ppm_common | 1*n | None | Common ppm scale. |
| ppm_common2D | 1*n | None | ppm scale for 2nd dimension of Common ppm scale. |
| useHash | bool | None | Set to false if no hash is wanted (because it's slow). |
| Variable | Type | Description |
|---|---|---|
| csm_interpolate_nmr | csm_wrapper | stored inputs, model and auditInfo. |
| csm_interpolate_nmr.output.interpolated_spectra | csm_nmr_spectra | Interpolated spectra. |
Copyright Imperial College London 2019