Closed RiceMunk closed 9 years ago
doing spec1.interpolate(spec2,clone=True) throws a warning about no units given, and also breaks the units in the new spectrum.
spec1.interpolate(spec2,clone=True)
Might be related to cloning or something with interpolate.
Looks like numpy.interp break astropy units when it operates on astropy quantity arrays.
numpy.interp
Fixed in develop branch
doing
spec1.interpolate(spec2,clone=True)
throws a warning about no units given, and also breaks the units in the new spectrum.Might be related to cloning or something with interpolate.