Compare commits
2 Commits
20be897a17
...
a73863d044
Author | SHA1 | Date |
---|---|---|
Casper Jansen | a73863d044 | |
Casper Jansen | 4db90e3885 |
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue