Advertisement
canorve

pyautogalaxy pytest

Jun 27th, 2025
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 70.68 KB | Source Code | 0 0
  1. "interferometer_7")
  2.     def make_interferometer_7():
  3. >       return fixtures.make_interferometer_7()
  4.  
  5. test_autogalaxy/conftest.py:130:
  6. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  7. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  8.     return aa.Interferometer(
  9. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  10.     self.transformer = transformer_class(
  11. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  12.     pylops_exception()
  13. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  14.  
  15.     def pylops_exception():
  16. >       raise ModuleNotFoundError(
  17.             "\n--------------------\n"
  18.             "You are attempting to perform interferometer analysis.\n\n"
  19.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  20.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  21.             "----------------------"
  22.         )
  23. E       ModuleNotFoundError:
  24. E       --------------------
  25. E       You are attempting to perform interferometer analysis.
  26. E      
  27. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  28. E      
  29. E       Install it via the command `pip install pylops==2.3.1`.
  30. E      
  31. E       ----------------------
  32.  
  33. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  34. ___________________________________ ERROR at setup of test__fit_interferometer_all_above_weight_gen ___________________________________
  35.  
  36.     @pytest.fixture(name="interferometer_7")
  37.     def make_interferometer_7():
  38. >       return fixtures.make_interferometer_7()
  39.  
  40. test_autogalaxy/conftest.py:130:
  41. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  42. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  43.     return aa.Interferometer(
  44. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  45.     self.transformer = transformer_class(
  46. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  47.     pylops_exception()
  48. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  49.  
  50.     def pylops_exception():
  51. >       raise ModuleNotFoundError(
  52.             "\n--------------------\n"
  53.             "You are attempting to perform interferometer analysis.\n\n"
  54.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  55.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  56.             "----------------------"
  57.         )
  58. E       ModuleNotFoundError:
  59. E       --------------------
  60. E       You are attempting to perform interferometer analysis.
  61. E      
  62. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  63. E      
  64. E       Install it via the command `pip install pylops==2.3.1`.
  65. E      
  66. E       ----------------------
  67.  
  68. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  69. ______________________________________ ERROR at setup of test__fit_interferometer__adapt_images _______________________________________
  70.  
  71.     @pytest.fixture(name="interferometer_7")
  72.     def make_interferometer_7():
  73. >       return fixtures.make_interferometer_7()
  74.  
  75. test_autogalaxy/conftest.py:130:
  76. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  77. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  78.     return aa.Interferometer(
  79. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  80.     self.transformer = transformer_class(
  81. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  82.     pylops_exception()
  83. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  84.  
  85.     def pylops_exception():
  86. >       raise ModuleNotFoundError(
  87.             "\n--------------------\n"
  88.             "You are attempting to perform interferometer analysis.\n\n"
  89.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  90.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  91.             "----------------------"
  92.         )
  93. E       ModuleNotFoundError:
  94. E       --------------------
  95. E       You are attempting to perform interferometer analysis.
  96. E      
  97. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  98. E      
  99. E       Install it via the command `pip install pylops==2.3.1`.
  100. E      
  101. E       ----------------------
  102.  
  103. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  104. ________________________________________ ERROR at setup of test__inversion_interferometer_from ________________________________________
  105.  
  106.     @pytest.fixture(name="interferometer_7")
  107.     def make_interferometer_7():
  108. >       return fixtures.make_interferometer_7()
  109.  
  110. test_autogalaxy/conftest.py:130:
  111. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  112. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  113.     return aa.Interferometer(
  114. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  115.     self.transformer = transformer_class(
  116. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  117.     pylops_exception()
  118. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  119.  
  120.     def pylops_exception():
  121. >       raise ModuleNotFoundError(
  122.             "\n--------------------\n"
  123.             "You are attempting to perform interferometer analysis.\n\n"
  124.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  125.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  126.             "----------------------"
  127.         )
  128. E       ModuleNotFoundError:
  129. E       --------------------
  130. E       You are attempting to perform interferometer analysis.
  131. E      
  132. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  133. E      
  134. E       Install it via the command `pip install pylops==2.3.1`.
  135. E      
  136. E       ----------------------
  137.  
  138. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  139. _____________________________________________ ERROR at setup of test__model_visibilities ______________________________________________
  140.  
  141.     @pytest.fixture(name="interferometer_7")
  142.     def make_interferometer_7():
  143. >       return fixtures.make_interferometer_7()
  144.  
  145. test_autogalaxy/conftest.py:130:
  146. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  147. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  148.     return aa.Interferometer(
  149. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  150.     self.transformer = transformer_class(
  151. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  152.     pylops_exception()
  153. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  154.  
  155.     def pylops_exception():
  156. >       raise ModuleNotFoundError(
  157.             "\n--------------------\n"
  158.             "You are attempting to perform interferometer analysis.\n\n"
  159.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  160.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  161.             "----------------------"
  162.         )
  163. E       ModuleNotFoundError:
  164. E       --------------------
  165. E       You are attempting to perform interferometer analysis.
  166. E      
  167. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  168. E      
  169. E       Install it via the command `pip install pylops==2.3.1`.
  170. E      
  171. E       ----------------------
  172.  
  173. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  174. _____________________________________________ ERROR at setup of test__fit_figure_of_merit _____________________________________________
  175.  
  176.     @pytest.fixture(name="interferometer_7")
  177.     def make_interferometer_7():
  178. >       return fixtures.make_interferometer_7()
  179.  
  180. test_autogalaxy/conftest.py:130:
  181. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  182. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  183.     return aa.Interferometer(
  184. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  185.     self.transformer = transformer_class(
  186. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  187.     pylops_exception()
  188. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  189.  
  190.     def pylops_exception():
  191. >       raise ModuleNotFoundError(
  192.             "\n--------------------\n"
  193.             "You are attempting to perform interferometer analysis.\n\n"
  194.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  195.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  196.             "----------------------"
  197.         )
  198. E       ModuleNotFoundError:
  199. E       --------------------
  200. E       You are attempting to perform interferometer analysis.
  201. E      
  202. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  203. E      
  204. E       Install it via the command `pip install pylops==2.3.1`.
  205. E      
  206. E       ----------------------
  207.  
  208. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  209. __________________________________ ERROR at setup of test___fit_figure_of_merit__different_settings ___________________________________
  210.  
  211.     @pytest.fixture(name="interferometer_7")
  212.     def make_interferometer_7():
  213. >       return fixtures.make_interferometer_7()
  214.  
  215. test_autogalaxy/conftest.py:130:
  216. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  217. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  218.     return aa.Interferometer(
  219. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  220.     self.transformer = transformer_class(
  221. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  222.     pylops_exception()
  223. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  224.  
  225.     def pylops_exception():
  226. >       raise ModuleNotFoundError(
  227.             "\n--------------------\n"
  228.             "You are attempting to perform interferometer analysis.\n\n"
  229.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  230.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  231.             "----------------------"
  232.         )
  233. E       ModuleNotFoundError:
  234. E       --------------------
  235. E       You are attempting to perform interferometer analysis.
  236. E      
  237. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  238. E      
  239. E       Install it via the command `pip install pylops==2.3.1`.
  240. E      
  241. E       ----------------------
  242.  
  243. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  244. __________________________________________ ERROR at setup of test___galaxy_model_image_dict ___________________________________________
  245.  
  246.     @pytest.fixture(name="interferometer_7")
  247.     def make_interferometer_7():
  248. >       return fixtures.make_interferometer_7()
  249.  
  250. test_autogalaxy/conftest.py:130:
  251. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  252. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  253.     return aa.Interferometer(
  254. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  255.     self.transformer = transformer_class(
  256. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  257.     pylops_exception()
  258. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  259.  
  260.     def pylops_exception():
  261. >       raise ModuleNotFoundError(
  262.             "\n--------------------\n"
  263.             "You are attempting to perform interferometer analysis.\n\n"
  264.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  265.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  266.             "----------------------"
  267.         )
  268. E       ModuleNotFoundError:
  269. E       --------------------
  270. E       You are attempting to perform interferometer analysis.
  271. E      
  272. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  273. E      
  274. E       Install it via the command `pip install pylops==2.3.1`.
  275. E      
  276. E       ----------------------
  277.  
  278. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  279. _______________________________________ ERROR at setup of test___galaxy_model_visibilities_dict _______________________________________
  280.  
  281.     @pytest.fixture(name="interferometer_7")
  282.     def make_interferometer_7():
  283. >       return fixtures.make_interferometer_7()
  284.  
  285. test_autogalaxy/conftest.py:130:
  286. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  287. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  288.     return aa.Interferometer(
  289. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  290.     self.transformer = transformer_class(
  291. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  292.     pylops_exception()
  293. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  294.  
  295.     def pylops_exception():
  296. >       raise ModuleNotFoundError(
  297.             "\n--------------------\n"
  298.             "You are attempting to perform interferometer analysis.\n\n"
  299.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  300.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  301.             "----------------------"
  302.         )
  303. E       ModuleNotFoundError:
  304. E       --------------------
  305. E       You are attempting to perform interferometer analysis.
  306. E      
  307. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  308. E      
  309. E       Install it via the command `pip install pylops==2.3.1`.
  310. E      
  311. E       ----------------------
  312.  
  313. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  314. _____________________________________ ERROR at setup of test__model_visibilities_of_galaxies_list _____________________________________
  315.  
  316.     @pytest.fixture(name="interferometer_7")
  317.     def make_interferometer_7():
  318. >       return fixtures.make_interferometer_7()
  319.  
  320. test_autogalaxy/conftest.py:130:
  321. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  322. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  323.     return aa.Interferometer(
  324. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  325.     self.transformer = transformer_class(
  326. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  327.     pylops_exception()
  328. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  329.  
  330.     def pylops_exception():
  331. >       raise ModuleNotFoundError(
  332.             "\n--------------------\n"
  333.             "You are attempting to perform interferometer analysis.\n\n"
  334.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  335.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  336.             "----------------------"
  337.         )
  338. E       ModuleNotFoundError:
  339. E       --------------------
  340. E       You are attempting to perform interferometer analysis.
  341. E      
  342. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  343. E      
  344. E       Install it via the command `pip install pylops==2.3.1`.
  345. E      
  346. E       ----------------------
  347.  
  348. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  349. _______________________________ ERROR at setup of test__make_result__result_interferometer_is_returned ________________________________
  350.  
  351.     @pytest.fixture(name="interferometer_7")
  352.     def make_interferometer_7():
  353. >       return fixtures.make_interferometer_7()
  354.  
  355. test_autogalaxy/conftest.py:130:
  356. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  357. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  358.     return aa.Interferometer(
  359. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  360.     self.transformer = transformer_class(
  361. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  362.     pylops_exception()
  363. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  364.  
  365.     def pylops_exception():
  366. >       raise ModuleNotFoundError(
  367.             "\n--------------------\n"
  368.             "You are attempting to perform interferometer analysis.\n\n"
  369.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  370.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  371.             "----------------------"
  372.         )
  373. E       ModuleNotFoundError:
  374. E       --------------------
  375. E       You are attempting to perform interferometer analysis.
  376. E      
  377. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  378. E      
  379. E       Install it via the command `pip install pylops==2.3.1`.
  380. E      
  381. E       ----------------------
  382.  
  383. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  384. _______________________ ERROR at setup of test__fit_figure_of_merit__matches_correct_fit_given_galaxy_profiles ________________________
  385.  
  386.     @pytest.fixture(name="interferometer_7")
  387.     def make_interferometer_7():
  388. >       return fixtures.make_interferometer_7()
  389.  
  390. test_autogalaxy/conftest.py:130:
  391. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  392. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  393.     return aa.Interferometer(
  394. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  395.     self.transformer = transformer_class(
  396. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  397.     pylops_exception()
  398. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  399.  
  400.     def pylops_exception():
  401. >       raise ModuleNotFoundError(
  402.             "\n--------------------\n"
  403.             "You are attempting to perform interferometer analysis.\n\n"
  404.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  405.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  406.             "----------------------"
  407.         )
  408. E       ModuleNotFoundError:
  409. E       --------------------
  410. E       You are attempting to perform interferometer analysis.
  411. E      
  412. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  413. E      
  414. E       Install it via the command `pip install pylops==2.3.1`.
  415. E      
  416. E       ----------------------
  417.  
  418. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  419. _______________________________________ ERROR at setup of test__profile_log_likelihood_function _______________________________________
  420.  
  421.     @pytest.fixture(name="interferometer_7")
  422.     def make_interferometer_7():
  423. >       return fixtures.make_interferometer_7()
  424.  
  425. test_autogalaxy/conftest.py:130:
  426. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  427. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  428.     return aa.Interferometer(
  429. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  430.     self.transformer = transformer_class(
  431. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  432.     pylops_exception()
  433. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  434.  
  435.     def pylops_exception():
  436. >       raise ModuleNotFoundError(
  437.             "\n--------------------\n"
  438.             "You are attempting to perform interferometer analysis.\n\n"
  439.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  440.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  441.             "----------------------"
  442.         )
  443. E       ModuleNotFoundError:
  444. E       --------------------
  445. E       You are attempting to perform interferometer analysis.
  446. E      
  447. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  448. E      
  449. E       Install it via the command `pip install pylops==2.3.1`.
  450. E      
  451. E       ----------------------
  452.  
  453. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  454. _______________________________________________ ERROR at setup of test__interferometer ________________________________________________
  455.  
  456.     @pytest.fixture(name="interferometer_7")
  457.     def make_interferometer_7():
  458. >       return fixtures.make_interferometer_7()
  459.  
  460. test_autogalaxy/conftest.py:130:
  461. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  462. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  463.     return aa.Interferometer(
  464. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  465.     self.transformer = transformer_class(
  466. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  467.     pylops_exception()
  468. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  469.  
  470.     def pylops_exception():
  471. >       raise ModuleNotFoundError(
  472.             "\n--------------------\n"
  473.             "You are attempting to perform interferometer analysis.\n\n"
  474.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  475.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  476.             "----------------------"
  477.         )
  478. E       ModuleNotFoundError:
  479. E       --------------------
  480. E       You are attempting to perform interferometer analysis.
  481. E      
  482. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  483. E      
  484. E       Install it via the command `pip install pylops==2.3.1`.
  485. E      
  486. E       ----------------------
  487.  
  488. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  489. _____________________________________________ ERROR at setup of test__fit_interferometer ______________________________________________
  490.  
  491.     @pytest.fixture(name="interferometer_7")
  492.     def make_interferometer_7():
  493. >       return fixtures.make_interferometer_7()
  494.  
  495. test_autogalaxy/conftest.py:130:
  496. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  497. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  498.     return aa.Interferometer(
  499. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  500.     self.transformer = transformer_class(
  501. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  502.     pylops_exception()
  503. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  504.  
  505.     def pylops_exception():
  506. >       raise ModuleNotFoundError(
  507.             "\n--------------------\n"
  508.             "You are attempting to perform interferometer analysis.\n\n"
  509.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  510.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  511.             "----------------------"
  512.         )
  513. E       ModuleNotFoundError:
  514. E       --------------------
  515. E       You are attempting to perform interferometer analysis.
  516. E      
  517. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  518. E      
  519. E       Install it via the command `pip install pylops==2.3.1`.
  520. E      
  521. E       ----------------------
  522.  
  523. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  524. ___________________________________________ ERROR at setup of test__fit_sub_plot_real_space ___________________________________________
  525.  
  526.     @pytest.fixture(name="fit_interferometer_7x7")
  527.     def make_fit_interferometer_7x7():
  528. >       return fixtures.make_fit_interferometer_7x7()
  529.  
  530. test_autogalaxy/conftest.py:369:
  531. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  532. autogalaxy/fixtures.py:239: in make_fit_interferometer_7x7
  533.     dataset=make_interferometer_7(),
  534. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
  535.     return aa.Interferometer(
  536. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  537.     self.transformer = transformer_class(
  538. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  539.     pylops_exception()
  540. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  541.  
  542.     def pylops_exception():
  543. >       raise ModuleNotFoundError(
  544.             "\n--------------------\n"
  545.             "You are attempting to perform interferometer analysis.\n\n"
  546.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  547.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  548.             "----------------------"
  549.         )
  550. E       ModuleNotFoundError:
  551. E       --------------------
  552. E       You are attempting to perform interferometer analysis.
  553. E      
  554. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  555. E      
  556. E       Install it via the command `pip install pylops==2.3.1`.
  557. E      
  558. E       ----------------------
  559.  
  560. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  561. ___________________________________ ERROR at setup of test__visibilities_from_grid_and_transformer ____________________________________
  562.  
  563.     @pytest.fixture(name="transformer_7x7_7")
  564.     def make_transformer_7x7_7():
  565. >       return fixtures.make_transformer_7x7_7()
  566.  
  567. test_autogalaxy/conftest.py:170:
  568. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  569. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:274: in make_transformer_7x7_7
  570.     return aa.TransformerDFT(
  571. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  572.     pylops_exception()
  573. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  574.  
  575.     def pylops_exception():
  576. >       raise ModuleNotFoundError(
  577.             "\n--------------------\n"
  578.             "You are attempting to perform interferometer analysis.\n\n"
  579.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  580.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  581.             "----------------------"
  582.         )
  583. E       ModuleNotFoundError:
  584. E       --------------------
  585. E       You are attempting to perform interferometer analysis.
  586. E      
  587. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  588. E      
  589. E       Install it via the command `pip install pylops==2.3.1`.
  590. E      
  591. E       ----------------------
  592.  
  593. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  594. ___________________________________________ ERROR at setup of test__visibilities_list_from ____________________________________________
  595.  
  596.     @pytest.fixture(name="transformer_7x7_7")
  597.     def make_transformer_7x7_7():
  598. >       return fixtures.make_transformer_7x7_7()
  599.  
  600. test_autogalaxy/conftest.py:170:
  601. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  602. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:274: in make_transformer_7x7_7
  603.     return aa.TransformerDFT(
  604. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  605.     pylops_exception()
  606. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  607.  
  608.     def pylops_exception():
  609. >       raise ModuleNotFoundError(
  610.             "\n--------------------\n"
  611.             "You are attempting to perform interferometer analysis.\n\n"
  612.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  613.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  614.             "----------------------"
  615.         )
  616. E       ModuleNotFoundError:
  617. E       --------------------
  618. E       You are attempting to perform interferometer analysis.
  619. E      
  620. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  621. E      
  622. E       Install it via the command `pip install pylops==2.3.1`.
  623. E      
  624. E       ----------------------
  625.  
  626. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  627. ________________________________________ ERROR at setup of test__galaxy_visibilities_dict_from ________________________________________
  628.  
  629.     @pytest.fixture(name="transformer_7x7_7")
  630.     def make_transformer_7x7_7():
  631. >       return fixtures.make_transformer_7x7_7()
  632.  
  633. test_autogalaxy/conftest.py:170:
  634. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  635. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:274: in make_transformer_7x7_7
  636.     return aa.TransformerDFT(
  637. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  638.     pylops_exception()
  639. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  640.  
  641.     def pylops_exception():
  642. >       raise ModuleNotFoundError(
  643.             "\n--------------------\n"
  644.             "You are attempting to perform interferometer analysis.\n\n"
  645.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  646.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  647.             "----------------------"
  648.         )
  649. E       ModuleNotFoundError:
  650. E       --------------------
  651. E       You are attempting to perform interferometer analysis.
  652. E      
  653. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  654. E      
  655. E       Install it via the command `pip install pylops==2.3.1`.
  656. E      
  657. E       ----------------------
  658.  
  659. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  660. ============================================================== FAILURES ===============================================================
  661. _____________________________ test__interferometer_generator_from_aggregator__analysis_has_single_dataset _____________________________
  662.  
  663. visibilities_7 = Visibilities([1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j])
  664. visibilities_noise_map_7 = VisibilitiesNoiseMap([2.+2.j, 2.+2.j, 2.+2.j, 2.+2.j, 2.+2.j, 2.+2.j, 2.+2.j])
  665. uv_wavelengths_7x2 = array([[-55636.4609375 , 171376.90625   ],
  666.        [ -6903.21923828,  51155.578125  ],
  667.        [-63488.4140625 ,   4141....4160.75390625, -99354.1796875 ],
  668.        [ -9327.66308594, -95212.90625   ],
  669.        [     0.        ,      0.        ]])
  670. mask_2d_7x7 = Mask2D([[ True,  True,  True,  True,  True,  True,  True],
  671.        [ True,  True,  True,  True,  True,  True,  True],
  672.  ...],
  673.        [ True,  True,  True,  True,  True,  True,  True],
  674.        [ True,  True,  True,  True,  True,  True,  True]])
  675. samples = MockSamples(2)
  676. model = <Collection dataset_model = DatasetModel (background_sky_level, UniformPrior [991], lower_limit = 0.5, upper_limit = 1...04], lower_limit = 0.0, upper_limit = 30.0), (sersic_index, UniformPrior [1005], lower_limit = 0.8, upper_limit = 5.0)>
  677.  
  678.     def test__interferometer_generator_from_aggregator__analysis_has_single_dataset(
  679.         visibilities_7,
  680.         visibilities_noise_map_7,
  681.         uv_wavelengths_7x2,
  682.         mask_2d_7x7,
  683.         samples,
  684.         model,
  685.     ):
  686. >       interferometer_7 = ag.Interferometer(
  687.             data=visibilities_7,
  688.             noise_map=visibilities_noise_map_7,
  689.             uv_wavelengths=uv_wavelengths_7x2,
  690.             real_space_mask=mask_2d_7x7,
  691.             transformer_class=ag.TransformerDFT,
  692.         )
  693.  
  694. test_autogalaxy/aggregator/interferometer/test_aggregator_interferometer.py:16:
  695. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  696. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
  697.     self.transformer = transformer_class(
  698. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  699.     pylops_exception()
  700. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  701.  
  702.     def pylops_exception():
  703. >       raise ModuleNotFoundError(
  704.             "\n--------------------\n"
  705.             "You are attempting to perform interferometer analysis.\n\n"
  706.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  707.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  708.             "----------------------"
  709.         )
  710. E       ModuleNotFoundError:
  711. E       --------------------
  712. E       You are attempting to perform interferometer analysis.
  713. E      
  714. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  715. E      
  716. E       Install it via the command `pip install pylops==2.3.1`.
  717. E      
  718. E       ----------------------
  719.  
  720. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  721. __________________________________________________ test__perfect_fit__chi_squared_0 ___________________________________________________
  722.  
  723.     def test__perfect_fit__chi_squared_0():
  724.         grid = ag.Grid2D.uniform(
  725.             shape_native=(51, 51),
  726.             pixel_scales=0.1,
  727.             over_sample_size=1,
  728.         )
  729.    
  730.         galaxy_0 = ag.Galaxy(
  731.             redshift=0.5, light=ag.lp.Sersic(centre=(0.1, 0.1), intensity=0.1)
  732.         )
  733.    
  734.         galaxy_1 = ag.Galaxy(
  735.             redshift=0.5, light=ag.lp.Exponential(centre=(0.1, 0.1), intensity=0.5)
  736.         )
  737.    
  738.         simulator = ag.SimulatorInterferometer(
  739.             uv_wavelengths=np.ones(shape=(7, 2)),
  740.             transformer_class=ag.TransformerDFT,
  741.             exposure_time=300.0,
  742.             noise_if_add_noise_false=1.0,
  743.             noise_sigma=None,
  744.         )
  745.    
  746. >       dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
  747.  
  748. test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py:34:
  749. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  750. autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
  751.     return self.via_image_from(image=image)
  752. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
  753.     transformer = self.transformer_class(
  754. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  755.     pylops_exception()
  756. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  757.  
  758.     def pylops_exception():
  759. >       raise ModuleNotFoundError(
  760.             "\n--------------------\n"
  761.             "You are attempting to perform interferometer analysis.\n\n"
  762.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  763.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  764.             "----------------------"
  765.         )
  766. E       ModuleNotFoundError:
  767. E       --------------------
  768. E       You are attempting to perform interferometer analysis.
  769. E      
  770. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  771. E      
  772. E       Install it via the command `pip install pylops==2.3.1`.
  773. E      
  774. E       ----------------------
  775.  
  776. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  777. ____________________________________ test__simulate_interferometer_data_and_fit__known_likelihood _____________________________________
  778.  
  779.     def test__simulate_interferometer_data_and_fit__known_likelihood():
  780.         mask = ag.Mask2D.circular(
  781.             radius=3.0,
  782.             shape_native=(31, 31),
  783.             pixel_scales=0.2,
  784.         )
  785.    
  786.         grid = ag.Grid2D.from_mask(mask=mask)
  787.    
  788.         galaxy_0 = ag.Galaxy(
  789.             redshift=0.5,
  790.             light=ag.lp.Sersic(centre=(0.1, 0.1), intensity=0.1),
  791.             mass=ag.mp.Isothermal(centre=(0.1, 0.1), einstein_radius=1.8),
  792.         )
  793.    
  794.         pixelization = ag.Pixelization(
  795.             mesh=ag.mesh.Rectangular(shape=(16, 16)),
  796.             regularization=ag.reg.Constant(coefficient=(1.0)),
  797.         )
  798.    
  799.         galaxy_1 = ag.Galaxy(redshift=1.0, pixelization=pixelization)
  800.    
  801.         simulator = ag.SimulatorInterferometer(
  802.             uv_wavelengths=np.ones(shape=(7, 2)),
  803.             transformer_class=ag.TransformerDFT,
  804.             exposure_time=300.0,
  805.             noise_seed=1,
  806.         )
  807.    
  808. >       dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
  809.  
  810. test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py:131:
  811. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  812. autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
  813.     return self.via_image_from(image=image)
  814. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
  815.     transformer = self.transformer_class(
  816. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  817.     pylops_exception()
  818. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  819.  
  820.     def pylops_exception():
  821. >       raise ModuleNotFoundError(
  822.             "\n--------------------\n"
  823.             "You are attempting to perform interferometer analysis.\n\n"
  824.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  825.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  826.             "----------------------"
  827.         )
  828. E       ModuleNotFoundError:
  829. E       --------------------
  830. E       You are attempting to perform interferometer analysis.
  831. E      
  832. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  833. E      
  834. E       Install it via the command `pip install pylops==2.3.1`.
  835. E      
  836. E       ----------------------
  837.  
  838. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  839. ___________________________________ test__linear_light_profiles_agree_with_standard_light_profiles ____________________________________
  840.  
  841.     def test__linear_light_profiles_agree_with_standard_light_profiles():
  842.         grid = ag.Grid2D.uniform(
  843.             shape_native=(51, 51),
  844.             pixel_scales=0.1,
  845.             over_sample_size=1,
  846.         )
  847.    
  848.         galaxy = ag.Galaxy(
  849.             redshift=0.5,
  850.             bulge=ag.lp.Sersic(intensity=0.1, sersic_index=1.0),
  851.             disk=ag.lp.Sersic(intensity=0.2, sersic_index=4.0),
  852.         )
  853.    
  854.         simulator = ag.SimulatorInterferometer(
  855.             uv_wavelengths=np.array(
  856.                 [
  857.                     [0.04, 200.0, 0.3, 400000.0, 60000000.0],
  858.                     [0.00003, 500.0, 600000.0, 0.1, 75555555],
  859.                 ]
  860.             ),
  861.             transformer_class=ag.TransformerDFT,
  862.             exposure_time=300.0,
  863.             noise_if_add_noise_false=1.0,
  864.             noise_sigma=None,
  865.         )
  866.    
  867. >       dataset = simulator.via_galaxies_from(galaxies=[galaxy], grid=grid)
  868.  
  869. test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py:168:
  870. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  871. autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
  872.     return self.via_image_from(image=image)
  873. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
  874.     transformer = self.transformer_class(
  875. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  876.     pylops_exception()
  877. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  878.  
  879.     def pylops_exception():
  880. >       raise ModuleNotFoundError(
  881.             "\n--------------------\n"
  882.             "You are attempting to perform interferometer analysis.\n\n"
  883.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  884.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  885.             "----------------------"
  886.         )
  887. E       ModuleNotFoundError:
  888. E       --------------------
  889. E       You are attempting to perform interferometer analysis.
  890. E      
  891. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  892. E      
  893. E       Install it via the command `pip install pylops==2.3.1`.
  894. E      
  895. E       ----------------------
  896.  
  897. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  898. ________________________________________________ test__from_plane__same_as_plane_input ________________________________________________
  899.  
  900.     def test__from_plane__same_as_plane_input():
  901.         grid = ag.Grid2D.uniform(shape_native=(20, 20), pixel_scales=0.05)
  902.    
  903.         galaxy_0 = ag.Galaxy(
  904.             redshift=0.5,
  905.             light=ag.lp.Sersic(intensity=1.0),
  906.             mass=ag.mp.Isothermal(einstein_radius=1.6),
  907.         )
  908.    
  909.         galaxy_1 = ag.Galaxy(redshift=1.0, light=ag.lp.Sersic(intensity=0.3))
  910.    
  911.         galaxies = ag.Galaxies(galaxies=[galaxy_0, galaxy_1])
  912.    
  913.         simulator = ag.SimulatorInterferometer(
  914.             uv_wavelengths=np.ones(shape=(7, 2)),
  915.             exposure_time=10000.0,
  916.             noise_sigma=0.1,
  917.             noise_seed=1,
  918.         )
  919.    
  920. >       dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
  921.  
  922. test_autogalaxy/interferometer/test_simulator.py:26:
  923. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  924. autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
  925.     return self.via_image_from(image=image)
  926. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
  927.     transformer = self.transformer_class(
  928. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  929.     pylops_exception()
  930. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  931.  
  932.     def pylops_exception():
  933. >       raise ModuleNotFoundError(
  934.             "\n--------------------\n"
  935.             "You are attempting to perform interferometer analysis.\n\n"
  936.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  937.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  938.             "----------------------"
  939.         )
  940. E       ModuleNotFoundError:
  941. E       --------------------
  942. E       You are attempting to perform interferometer analysis.
  943. E      
  944. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  945. E      
  946. E       Install it via the command `pip install pylops==2.3.1`.
  947. E      
  948. E       ----------------------
  949.  
  950. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  951. _________________________ test__simulate_interferometer_from_galaxy__source_galaxy__compare_to_interferometer _________________________
  952.  
  953.     def test__simulate_interferometer_from_galaxy__source_galaxy__compare_to_interferometer():
  954.         galaxy_0 = ag.Galaxy(
  955.             redshift=0.5,
  956.             mass=ag.mp.Isothermal(
  957.                 centre=(0.0, 0.0), einstein_radius=1.6, ell_comps=(0.17647, 0.0)
  958.             ),
  959.         )
  960.    
  961.         galaxy_1 = ag.Galaxy(
  962.             redshift=0.5,
  963.             light=ag.lp.Sersic(
  964.                 centre=(0.1, 0.1),
  965.                 ell_comps=(0.096225, -0.055555),
  966.                 intensity=0.3,
  967.                 effective_radius=1.0,
  968.                 sersic_index=2.5,
  969.             ),
  970.         )
  971.    
  972.         grid = ag.Grid2D.uniform(shape_native=(11, 11), pixel_scales=0.05)
  973.    
  974.         simulator = ag.SimulatorInterferometer(
  975.             uv_wavelengths=np.ones(shape=(7, 2)),
  976.             exposure_time=10000.0,
  977.             noise_sigma=0.1,
  978.             noise_seed=1,
  979.         )
  980.    
  981. >       dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
  982.  
  983. test_autogalaxy/interferometer/test_simulator.py:65:
  984. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  985. autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
  986.     return self.via_image_from(image=image)
  987. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
  988.     transformer = self.transformer_class(
  989. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
  990.     pylops_exception()
  991. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  992.  
  993.     def pylops_exception():
  994. >       raise ModuleNotFoundError(
  995.             "\n--------------------\n"
  996.             "You are attempting to perform interferometer analysis.\n\n"
  997.             "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
  998.             "Install it via the command `pip install pylops==2.3.1`.\n\n"
  999.             "----------------------"
  1000.         )
  1001. E       ModuleNotFoundError:
  1002. E       --------------------
  1003. E       You are attempting to perform interferometer analysis.
  1004. E      
  1005. E       However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
  1006. E      
  1007. E       Install it via the command `pip install pylops==2.3.1`.
  1008. E      
  1009. E       ----------------------
  1010.  
  1011. ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
  1012. ========================================================== warnings summary ===========================================================
  1013. test_autogalaxy/galaxy/plot/test_galaxy_plotters.py: 36 warnings
  1014. test_autogalaxy/profiles/plot/test_light_profile_plotters.py: 3 warnings
  1015. test_autogalaxy/profiles/plot/test_mass_profile_plotters.py: 6 warnings
  1016.   /home/canorve/anaconda3/lib/python3.12/site-packages/matplotlib/cbook.py:1699: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
  1017.     return math.isfinite(val)
  1018.  
  1019. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
  1020. ======================================================= short test summary info =======================================================
  1021. FAILED test_autogalaxy/aggregator/interferometer/test_aggregator_interferometer.py::test__interferometer_generator_from_aggregator__analysis_has_single_dataset - ModuleNotFoundError:
  1022. FAILED test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py::test__perfect_fit__chi_squared_0 - ModuleNotFoundError:
  1023. FAILED test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py::test__simulate_interferometer_data_and_fit__known_likelihood - ModuleNotFoundError:
  1024. FAILED test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py::test__linear_light_profiles_agree_with_standard_light_profiles - ModuleNotFoundError:
  1025. FAILED test_autogalaxy/interferometer/test_simulator.py::test__from_plane__same_as_plane_input - ModuleNotFoundError:
  1026. FAILED test_autogalaxy/interferometer/test_simulator.py::test__simulate_interferometer_from_galaxy__source_galaxy__compare_to_interferometer - ModuleNotFoundError:
  1027. ERROR test_autogalaxy/aggregator/interferometer/test_aggregator_fit_interferometer.py::test__fit_interferometer_randomly_drawn_via_pdf_gen_from - ModuleNotFoundError:
  1028. ERROR test_autogalaxy/aggregator/interferometer/test_aggregator_fit_interferometer.py::test__fit_interferometer_all_above_weight_gen - ModuleNotFoundError:
  1029. ERROR test_autogalaxy/aggregator/interferometer/test_aggregator_fit_interferometer.py::test__fit_interferometer__adapt_images - ModuleNotFoundError:
  1030. ERROR test_autogalaxy/galaxy/test_to_inversion.py::test__inversion_interferometer_from - ModuleNotFoundError:
  1031. ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test__model_visibilities - ModuleNotFoundError:
  1032. ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test__fit_figure_of_merit - ModuleNotFoundError:
  1033. ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test___fit_figure_of_merit__different_settings - ModuleNotFoundError:
  1034. ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test___galaxy_model_image_dict - ModuleNotFoundError:
  1035. ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test___galaxy_model_visibilities_dict - ModuleNotFoundError:
  1036. ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test__model_visibilities_of_galaxies_list - ModuleNotFoundError:
  1037. ERROR test_autogalaxy/interferometer/model/test_analysis_interferometer.py::test__make_result__result_interferometer_is_returned - ModuleNotFoundError:
  1038. ERROR test_autogalaxy/interferometer/model/test_analysis_interferometer.py::test__fit_figure_of_merit__matches_correct_fit_given_galaxy_profiles - ModuleNotFoundError:
  1039. ERROR test_autogalaxy/interferometer/model/test_analysis_interferometer.py::test__profile_log_likelihood_function - ModuleNotFoundError:
  1040. ERROR test_autogalaxy/interferometer/model/test_plotter_interface_interferometer.py::test__interferometer - ModuleNotFoundError:
  1041. ERROR test_autogalaxy/interferometer/model/test_plotter_interface_interferometer.py::test__fit_interferometer - ModuleNotFoundError:
  1042. ERROR test_autogalaxy/interferometer/plot/test_fit_interferometer_plotters.py::test__fit_sub_plot_real_space - ModuleNotFoundError:
  1043. ERROR test_autogalaxy/operate/test_image.py::test__visibilities_from_grid_and_transformer - ModuleNotFoundError:
  1044. ERROR test_autogalaxy/operate/test_image.py::test__visibilities_list_from - ModuleNotFoundError:
  1045. ERROR test_autogalaxy/operate/test_image.py::test__galaxy_visibilities_dict_from - ModuleNotFoundError:
  1046. ================================== 6 failed, 392 passed, 45 warnings, 19 errors in 134.74s (0:02:14) ==================================
  1047.  
  1048.  
  1049.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement