CSM Export Spectra HDF


Export a spectra object into a HDF file

Export a csm_spectra object to a HDF file.

Format:

/spectra/X

/spectra/is_continuous

/spectra/name

/spectra/sample_ids

/spectra/sample_metadata

/spectra/sample_type

/spectra/x_scale

/spectra/x_scale_name

/hdf_metadata/matlab/spectra_class

/hdf_metadata/matlab/audit_info

/hdf_metadata/hdf_version

Usage

csm_export_spectra_hdf( spectra, 'filename', filename, 'overwrite', overwrite )

Arguments (* = required)

VariableTypeDefault ValueDescription
*spectracsm_spectraNonecsm_spectra object containing spectral matrix.
filenamestrwill promptFull Path to filename
overwriteboolis falseSet to true to overwrite files

Returns

VariableTypeDescription
file_id1x1File identifier to the file.
file_overwiteboolOverwrite an existing file.
spectrastrFull path to NMR experiment file.
imported_datastrFull path to NMR calibration file.
spectracsm_spectraExported spectra file.
spectra_classstrClass of the spectra.

Copyright Imperial College London 2019