CSM NMR JRES Spectra


CSM JRES spectra Data object.

NMR JRES spectral Object. Contains X, PPM, PPM 2D scale and various metadata.

Extends csm_nmr_spectra; see csm_nmr_spectra for more information.

Usage

spectra = csm_jres_spectra( X, ppm, ppm_2D );

spectra = csm_jres_spectra( X, ppm, ppm_2D, 'name', name, 'is_continous', is_continuous, 'sample_ids', sample_ids, 'sampleInfo', sampleInfo, 'is_continuous', is_continuous )

Arguments (* = required)

VariableTypeDefault ValueDescription
*Xm*nNonespectral matrix.
*ppm1*nNonePPM Scale.
*ppm_2D1*nNoneJRES 2D PPM scale.
namestrNoneName of the data structure.
is_continuousbooltrueWhether the x scale is continuous
sample_idscell{}Sample IDs, use the numeric index to match to the row
sample_metadatacsm_sample_metadataNoneMetadata from import.

Returns

VariableTypeDescription
csm_nmr_spectracsm_nmr_spectraCsm NMR spectra object.
csm_nmr_spectra.Xm*nspectral Matrix.
csm_nmr_spectra.ppm1*nPPM Scale.
csm_nmr_spectra.ppm_2D1*nPPM JRES Scale.
csm_nmr_spectra.namestrName for the spectra.
csm_nmr_spectra.sample_idscellSample IDs, using a numeric index.
csm_nmr_spectra.sample_metadatacsm_import_sample_metadataMetadata from import.
csm_nmr_spectra.audit_infocsm_audit_infoAudit Info object.

Methods

MethodDescription
csm_nmr_spectra.setPPM2D( ppm_2D )Assign a new JRES PPM to the object.

Copyright Imperial College London 2019