Skip to content

Commit 9a0ab5c

Browse files
committed
acf patch
1 parent 7715de4 commit 9a0ab5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

everest/gp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def GetGP(EPIC, time, fpix, ferr, mask = [], niter = 2):
201201
# Get the autocorrelation function of the de-trended data up to ``maxt`` days
202202
tfull = np.arange(time_nogaps[0], time_nogaps[-1], dt)
203203
pfull = interp1d(time_nogaps, fpld_nogaps)(tfull)
204-
acor = acf(pfull, nlags = maxt / dt)
204+
acor = acf(pfull, nlags = int(maxt / dt))
205205
lags = np.arange(len(acor)) * dt
206206
sigma = fsigma(len(lags))
207207

0 commit comments

Comments
 (0)