diff --git a/AviaNZ_manual.py b/AviaNZ_manual.py index bb9bb290..e7e87ae2 100644 --- a/AviaNZ_manual.py +++ b/AviaNZ_manual.py @@ -4029,7 +4029,7 @@ def detectShapes(self): # instantaneous frequency spstart = math.floor(self.convertAmpltoSpec(segm[0])) spend = math.ceil(self.convertAmpltoSpec(segm[1])) - sg = self.sp.sg[spstart:spend] + sg = np.copy(self.sp.sg[spstart:spend,:]) # mask freqs outside the currently marked segment if segm[3]>0: markedylow = math.floor(self.convertFreqtoY(segm[2]))