diff --git a/src/lasp/lasp_measurement.py b/src/lasp/lasp_measurement.py index 64f1109..1b1607c 100644 --- a/src/lasp/lasp_measurement.py +++ b/src/lasp/lasp_measurement.py @@ -654,7 +654,7 @@ class Measurement: if normalize: # Scale back to maximum of absolute value maxabs = np.max(np.abs(data)) - data /= maxabs + data = data / maxabs # "data /= maxabs" fails if dtpyes differ if newsampwidth is not None: # Convert to floats, then to new sample width