nmrglue.fileio.nmrml.read

nmrglue.fileio.nmrml.read(filename, data_dtype=None)[source]

Read a nmrML file.

Parameters
filenamestr

Name of nmrML file to read.

data_dtypestr, optional

NumPy data type of the data. None, the default, will determine this data type from the infomation in the file. Occasionally this information is incorrect and this argument can be used to explicitly supply this information.

Returns
dicdict

Dictionary of spectra parameters.

datandarray, 1D

Array of spectral data.