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