Skip to content

Commit 6f23b5f

Browse files
remove use of deprecated scipy.ndimage.filters
fixes #198
1 parent 34ab5ab commit 6f23b5f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- numpy
1414
- cil # make synergistic notebooks work
1515
- astra-toolbox # needed for ct examples
16-
- scipy
16+
- scipy>=1.16
1717
- matplotlib
1818
- numba
1919
- llvmlite # numba dependency

notebooks/Synergistic/BrainWeb-single_slice_motion.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"from sirf.Utilities import examples_data_path\n",
5858
"from sirf_exercises import exercises_data_path\n",
5959
"import shutil\n",
60-
"from scipy.ndimage.filters import gaussian_filter"
60+
"from scipy.ndimage import gaussian_filter"
6161
]
6262
},
6363
{

notebooks/Synergistic/MAPEM_Bowsher.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"import shutil\n",
7373
"from tqdm.auto import tqdm, trange\n",
7474
"import time\n",
75-
"from scipy.ndimage.filters import gaussian_filter\n",
75+
"from scipy.ndimage import gaussian_filter\n",
7676
"import sirf.STIR as pet\n",
7777
"from numba import jit\n",
7878
"from sirf_exercises import exercises_working_path\n",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ widgetsnbextension
99
deprecation
1010
nodejs
1111
numpy
12-
scipy
12+
scipy>=1.16
1313
matplotlib
1414
numba
1515
llvmlite # numba dependency

0 commit comments

Comments
 (0)