Skip to content

Commit

Permalink
fixed None ftP attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
paudetseis committed Apr 25, 2022
1 parent 4654b39 commit fd7215a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions obstools/atacr/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ def QC_daily_spectra(self, pd=[0.004, 0.2], tol=1.5, alpha=0.05,
wind[-ss:ws] = hanning[ss:ws]

# Get windowed Fourier transforms
ft1 = None
ft2 = None
ftZ = None
ftP = None
ft1 = self.ft1 = None
ft2 = self.ft2 = None
ftZ = self.ftZ = None
ftP = self.ftP = None

# Calculate windowed FFTs and store as transpose
f, t, ftZ = stft(
Expand Down

0 comments on commit fd7215a

Please sign in to comment.