Skip to content

Commit fd7215a

Browse files
committed
fixed None ftP attributes
1 parent 4654b39 commit fd7215a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: obstools/atacr/classes.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ def QC_daily_spectra(self, pd=[0.004, 0.2], tol=1.5, alpha=0.05,
340340
wind[-ss:ws] = hanning[ss:ws]
341341

342342
# Get windowed Fourier transforms
343-
ft1 = None
344-
ft2 = None
345-
ftZ = None
346-
ftP = None
343+
ft1 = self.ft1 = None
344+
ft2 = self.ft2 = None
345+
ftZ = self.ftZ = None
346+
ftP = self.ftP = None
347347

348348
# Calculate windowed FFTs and store as transpose
349349
f, t, ftZ = stft(

0 commit comments

Comments
 (0)