Skip to content

Commit

Permalink
Switch to fftfreq
Browse files Browse the repository at this point in the history
  • Loading branch information
oerc0122 committed Nov 4, 2024
1 parent 590a494 commit 45d7e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions janus_core/processing/post_process.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -278,7 +278,7 @@ def compute_vaf(

if fft:
vafs = np.fft.fft(vafs, axis=0)
lags = 1. / lags
lags = np.fft.fftfreq(nsteps, time_step)

vafs = (
lags,
Expand Down

0 comments on commit 45d7e21

Please sign in to comment.