File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 66import pytest
77
88from aspire .denoising import adaptive_support
9- from aspire .image import Image
109from aspire .source import ArrayImageSource
1110from aspire .utils import gaussian_2d
1211
@@ -37,7 +36,7 @@ def testAdaptiveSupportBadThreshold(self):
3736 """
3837
3938 discs = np .empty ((self .size , self .size )) # Intentional Dummy Data
40- img_src = ArrayImageSource (Image ( discs ) )
39+ img_src = ArrayImageSource (discs )
4140
4241 with pytest .raises (ValueError , match = r"Given energy_threshold.*" ):
4342 _ = adaptive_support (img_src , - 0.5 )
@@ -69,7 +68,7 @@ def test_adaptive_support_F(self):
6968 )
7069
7170 # Setup ImageSource like objects
72- img_src = ArrayImageSource (Image ( imgs ) )
71+ img_src = ArrayImageSource (imgs )
7372
7473 for ref , threshold in self .references .items ():
7574 c , R = adaptive_support (img_src , threshold )
You can’t perform that action at this time.
0 commit comments