From f0f7395fb6677597b4a97ac1a3006fb01b8ff7c5 Mon Sep 17 00:00:00 2001 From: Noe Brucy Date: Thu, 3 Nov 2022 15:27:03 +0100 Subject: [PATCH] [pspec] correct naming bug --- scripts/pspec.py | 2 +- snapshotprocessor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pspec.py b/scripts/pspec.py index ab6b87a..c6ce655 100644 --- a/scripts/pspec.py +++ b/scripts/pspec.py @@ -15,7 +15,7 @@ from i_utils import args from numpy.fft import fftn, ifft from pymses.analysis import Camera, ScalarOperator, cube3d -__generator__ = "pspec_new.py" +__generator__ = "pspec.py" __version__ = "0.2" diff --git a/snapshotprocessor.py b/snapshotprocessor.py index e8e3474..238cfab 100644 --- a/snapshotprocessor.py +++ b/snapshotprocessor.py @@ -188,7 +188,7 @@ def find_center(distance, skeleton, i_center, j_center, i, j): # Power spectrum helpers -def pspec(map2D): +def pspec2d(map2D): """ Computes the 2D powerspectrum of a 2D map