From fe7ad20888f569ea5f8be0ff8d790d33c711f1ae Mon Sep 17 00:00:00 2001 From: Jacob Wilkins <46597752+oerc0122@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:32:02 +0100 Subject: [PATCH] Update janus_core/helpers/post_process.py Co-authored-by: ElliottKasoar <45317199+ElliottKasoar@users.noreply.github.com> --- janus_core/processing/post_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/janus_core/processing/post_process.py b/janus_core/processing/post_process.py index ac5c0971..7eba7f23 100644 --- a/janus_core/processing/post_process.py +++ b/janus_core/processing/post_process.py @@ -1,5 +1,5 @@ """Module for post-processing trajectories.""" -1;4000;35c + from collections.abc import Sequence from itertools import combinations_with_replacement from typing import Optional, Union @@ -278,7 +278,7 @@ def compute_vaf( if fft: vafs = np.fft.fft(vafs, axis=0) - lags = np.fft.fftfreq(nsteps, time_step) + lags = np.fft.fftfreq(n_steps, time_step) vafs = ( lags,