After interpolate a Spectrum to a new axis.
a = spec[1,:] = scipy.interpolate.interp1d(x, spec[1,:], \'linear\')
Error occurs: