Commit 75473df2 authored by Josef Brandt's avatar Josef Brandt

Bugfix in importing Renishaw Spectra

parent 95c56e40
......@@ -48,10 +48,11 @@ def importRenishawSpectra(fname):
spectra[:, i+1] = rawSpectra[spectraIndices[i]:, 1]
spectra = np.flipud(spectra)
wavenumbers = spectra[:, 0]
spectra = spectra[:, 1:]
# wavenumbers = spectra[:, 0]
# spectra = spectra[:, 1:]
return np.transpose(np.vstack((wavenumbers, spectra))), names
return spectra, names
# return np.transpose(np.hstack((wavenumbers, spectra))), names
def importPerkinElmerSpectra(fname):
names = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment