From e187b515815f37f20d9efc5bdaa9de18b3e79e53 Mon Sep 17 00:00:00 2001 From: Christopher Mayes <31023527+ChristopherMayes@users.noreply.github.com> Date: Tue, 11 Jul 2023 14:38:57 -0700 Subject: [PATCH] Move scipy import --- pmd_beamphysics/particles.py | 1 - pmd_beamphysics/statistics.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pmd_beamphysics/particles.py b/pmd_beamphysics/particles.py index 5f62d3c..ed33b25 100644 --- a/pmd_beamphysics/particles.py +++ b/pmd_beamphysics/particles.py @@ -20,7 +20,6 @@ from pmd_beamphysics.writers import write_pmd_bunch, pmd_init from h5py import File -from scipy import stats as scipy_stats import numpy as np from copy import deepcopy import functools diff --git a/pmd_beamphysics/statistics.py b/pmd_beamphysics/statistics.py index 712b336..eeaf5c1 100644 --- a/pmd_beamphysics/statistics.py +++ b/pmd_beamphysics/statistics.py @@ -1,6 +1,5 @@ import numpy as np - - +from scipy import stats as scipy_stats def norm_emit_calc(particle_group, planes=['x']): """