Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ___________________________________ ERROR at setup of test__fit_interferometer_all_above_weight_gen ___________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ______________________________________ ERROR at setup of test__fit_interferometer__adapt_images _______________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ________________________________________ ERROR at setup of test__inversion_interferometer_from ________________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _____________________________________________ ERROR at setup of test__model_visibilities ______________________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _____________________________________________ ERROR at setup of test__fit_figure_of_merit _____________________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- __________________________________ ERROR at setup of test___fit_figure_of_merit__different_settings ___________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- __________________________________________ ERROR at setup of test___galaxy_model_image_dict ___________________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _______________________________________ ERROR at setup of test___galaxy_model_visibilities_dict _______________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _____________________________________ ERROR at setup of test__model_visibilities_of_galaxies_list _____________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _______________________________ ERROR at setup of test__make_result__result_interferometer_is_returned ________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _______________________ ERROR at setup of test__fit_figure_of_merit__matches_correct_fit_given_galaxy_profiles ________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _______________________________________ ERROR at setup of test__profile_log_likelihood_function _______________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _______________________________________________ ERROR at setup of test__interferometer ________________________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _____________________________________________ ERROR at setup of test__fit_interferometer ______________________________________________
- @pytest.fixture(name="interferometer_7")
- def make_interferometer_7():
- > return fixtures.make_interferometer_7()
- test_autogalaxy/conftest.py:130:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ___________________________________________ ERROR at setup of test__fit_sub_plot_real_space ___________________________________________
- @pytest.fixture(name="fit_interferometer_7x7")
- def make_fit_interferometer_7x7():
- > return fixtures.make_fit_interferometer_7x7()
- test_autogalaxy/conftest.py:369:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- autogalaxy/fixtures.py:239: in make_fit_interferometer_7x7
- dataset=make_interferometer_7(),
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:234: in make_interferometer_7
- return aa.Interferometer(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ___________________________________ ERROR at setup of test__visibilities_from_grid_and_transformer ____________________________________
- @pytest.fixture(name="transformer_7x7_7")
- def make_transformer_7x7_7():
- > return fixtures.make_transformer_7x7_7()
- test_autogalaxy/conftest.py:170:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:274: in make_transformer_7x7_7
- return aa.TransformerDFT(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ___________________________________________ ERROR at setup of test__visibilities_list_from ____________________________________________
- @pytest.fixture(name="transformer_7x7_7")
- def make_transformer_7x7_7():
- > return fixtures.make_transformer_7x7_7()
- test_autogalaxy/conftest.py:170:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:274: in make_transformer_7x7_7
- return aa.TransformerDFT(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ________________________________________ ERROR at setup of test__galaxy_visibilities_dict_from ________________________________________
- @pytest.fixture(name="transformer_7x7_7")
- def make_transformer_7x7_7():
- > return fixtures.make_transformer_7x7_7()
- test_autogalaxy/conftest.py:170:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/fixtures.py:274: in make_transformer_7x7_7
- return aa.TransformerDFT(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ============================================================== FAILURES ===============================================================
- _____________________________ test__interferometer_generator_from_aggregator__analysis_has_single_dataset _____________________________
- visibilities_7 = Visibilities([1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j, 1.+1.j])
- 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])
- uv_wavelengths_7x2 = array([[-55636.4609375 , 171376.90625 ],
- [ -6903.21923828, 51155.578125 ],
- [-63488.4140625 , 4141....4160.75390625, -99354.1796875 ],
- [ -9327.66308594, -95212.90625 ],
- [ 0. , 0. ]])
- mask_2d_7x7 = Mask2D([[ True, True, True, True, True, True, True],
- [ True, True, True, True, True, True, True],
- ...],
- [ True, True, True, True, True, True, True],
- [ True, True, True, True, True, True, True]])
- samples = MockSamples(2)
- 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)>
- def test__interferometer_generator_from_aggregator__analysis_has_single_dataset(
- visibilities_7,
- visibilities_noise_map_7,
- uv_wavelengths_7x2,
- mask_2d_7x7,
- samples,
- model,
- ):
- > interferometer_7 = ag.Interferometer(
- data=visibilities_7,
- noise_map=visibilities_noise_map_7,
- uv_wavelengths=uv_wavelengths_7x2,
- real_space_mask=mask_2d_7x7,
- transformer_class=ag.TransformerDFT,
- )
- test_autogalaxy/aggregator/interferometer/test_aggregator_interferometer.py:16:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/dataset.py:88: in __init__
- self.transformer = transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- __________________________________________________ test__perfect_fit__chi_squared_0 ___________________________________________________
- def test__perfect_fit__chi_squared_0():
- grid = ag.Grid2D.uniform(
- shape_native=(51, 51),
- pixel_scales=0.1,
- over_sample_size=1,
- )
- galaxy_0 = ag.Galaxy(
- redshift=0.5, light=ag.lp.Sersic(centre=(0.1, 0.1), intensity=0.1)
- )
- galaxy_1 = ag.Galaxy(
- redshift=0.5, light=ag.lp.Exponential(centre=(0.1, 0.1), intensity=0.5)
- )
- simulator = ag.SimulatorInterferometer(
- uv_wavelengths=np.ones(shape=(7, 2)),
- transformer_class=ag.TransformerDFT,
- exposure_time=300.0,
- noise_if_add_noise_false=1.0,
- noise_sigma=None,
- )
- > dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
- test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py:34:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
- return self.via_image_from(image=image)
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
- transformer = self.transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ____________________________________ test__simulate_interferometer_data_and_fit__known_likelihood _____________________________________
- def test__simulate_interferometer_data_and_fit__known_likelihood():
- mask = ag.Mask2D.circular(
- radius=3.0,
- shape_native=(31, 31),
- pixel_scales=0.2,
- )
- grid = ag.Grid2D.from_mask(mask=mask)
- galaxy_0 = ag.Galaxy(
- redshift=0.5,
- light=ag.lp.Sersic(centre=(0.1, 0.1), intensity=0.1),
- mass=ag.mp.Isothermal(centre=(0.1, 0.1), einstein_radius=1.8),
- )
- pixelization = ag.Pixelization(
- mesh=ag.mesh.Rectangular(shape=(16, 16)),
- regularization=ag.reg.Constant(coefficient=(1.0)),
- )
- galaxy_1 = ag.Galaxy(redshift=1.0, pixelization=pixelization)
- simulator = ag.SimulatorInterferometer(
- uv_wavelengths=np.ones(shape=(7, 2)),
- transformer_class=ag.TransformerDFT,
- exposure_time=300.0,
- noise_seed=1,
- )
- > dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
- test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py:131:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
- return self.via_image_from(image=image)
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
- transformer = self.transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ___________________________________ test__linear_light_profiles_agree_with_standard_light_profiles ____________________________________
- def test__linear_light_profiles_agree_with_standard_light_profiles():
- grid = ag.Grid2D.uniform(
- shape_native=(51, 51),
- pixel_scales=0.1,
- over_sample_size=1,
- )
- galaxy = ag.Galaxy(
- redshift=0.5,
- bulge=ag.lp.Sersic(intensity=0.1, sersic_index=1.0),
- disk=ag.lp.Sersic(intensity=0.2, sersic_index=4.0),
- )
- simulator = ag.SimulatorInterferometer(
- uv_wavelengths=np.array(
- [
- [0.04, 200.0, 0.3, 400000.0, 60000000.0],
- [0.00003, 500.0, 600000.0, 0.1, 75555555],
- ]
- ),
- transformer_class=ag.TransformerDFT,
- exposure_time=300.0,
- noise_if_add_noise_false=1.0,
- noise_sigma=None,
- )
- > dataset = simulator.via_galaxies_from(galaxies=[galaxy], grid=grid)
- test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py:168:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
- return self.via_image_from(image=image)
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
- transformer = self.transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ________________________________________________ test__from_plane__same_as_plane_input ________________________________________________
- def test__from_plane__same_as_plane_input():
- grid = ag.Grid2D.uniform(shape_native=(20, 20), pixel_scales=0.05)
- galaxy_0 = ag.Galaxy(
- redshift=0.5,
- light=ag.lp.Sersic(intensity=1.0),
- mass=ag.mp.Isothermal(einstein_radius=1.6),
- )
- galaxy_1 = ag.Galaxy(redshift=1.0, light=ag.lp.Sersic(intensity=0.3))
- galaxies = ag.Galaxies(galaxies=[galaxy_0, galaxy_1])
- simulator = ag.SimulatorInterferometer(
- uv_wavelengths=np.ones(shape=(7, 2)),
- exposure_time=10000.0,
- noise_sigma=0.1,
- noise_seed=1,
- )
- > dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
- test_autogalaxy/interferometer/test_simulator.py:26:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
- return self.via_image_from(image=image)
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
- transformer = self.transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- _________________________ test__simulate_interferometer_from_galaxy__source_galaxy__compare_to_interferometer _________________________
- def test__simulate_interferometer_from_galaxy__source_galaxy__compare_to_interferometer():
- galaxy_0 = ag.Galaxy(
- redshift=0.5,
- mass=ag.mp.Isothermal(
- centre=(0.0, 0.0), einstein_radius=1.6, ell_comps=(0.17647, 0.0)
- ),
- )
- galaxy_1 = ag.Galaxy(
- redshift=0.5,
- light=ag.lp.Sersic(
- centre=(0.1, 0.1),
- ell_comps=(0.096225, -0.055555),
- intensity=0.3,
- effective_radius=1.0,
- sersic_index=2.5,
- ),
- )
- grid = ag.Grid2D.uniform(shape_native=(11, 11), pixel_scales=0.05)
- simulator = ag.SimulatorInterferometer(
- uv_wavelengths=np.ones(shape=(7, 2)),
- exposure_time=10000.0,
- noise_sigma=0.1,
- noise_seed=1,
- )
- > dataset = simulator.via_galaxies_from(galaxies=[galaxy_0, galaxy_1], grid=grid)
- test_autogalaxy/interferometer/test_simulator.py:65:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- autogalaxy/interferometer/simulator.py:36: in via_galaxies_from
- return self.via_image_from(image=image)
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/dataset/interferometer/simulator.py:66: in via_image_from
- transformer = self.transformer_class(
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:58: in __init__
- pylops_exception()
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylops_exception():
- > raise ModuleNotFoundError(
- "\n--------------------\n"
- "You are attempting to perform interferometer analysis.\n\n"
- "However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.\n\n"
- "Install it via the command `pip install pylops==2.3.1`.\n\n"
- "----------------------"
- )
- E ModuleNotFoundError:
- E --------------------
- E You are attempting to perform interferometer analysis.
- E
- E However, the optional library PyLops (https://github.com/PyLops/pylops) is not installed.
- E
- E Install it via the command `pip install pylops==2.3.1`.
- E
- E ----------------------
- ../../../../anaconda3/lib/python3.12/site-packages/autoarray/operators/transformer.py:46: ModuleNotFoundError
- ========================================================== warnings summary ===========================================================
- test_autogalaxy/galaxy/plot/test_galaxy_plotters.py: 36 warnings
- test_autogalaxy/profiles/plot/test_light_profile_plotters.py: 3 warnings
- test_autogalaxy/profiles/plot/test_mass_profile_plotters.py: 6 warnings
- /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.)
- return math.isfinite(val)
- -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- ======================================================= short test summary info =======================================================
- FAILED test_autogalaxy/aggregator/interferometer/test_aggregator_interferometer.py::test__interferometer_generator_from_aggregator__analysis_has_single_dataset - ModuleNotFoundError:
- FAILED test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py::test__perfect_fit__chi_squared_0 - ModuleNotFoundError:
- FAILED test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py::test__simulate_interferometer_data_and_fit__known_likelihood - ModuleNotFoundError:
- FAILED test_autogalaxy/interferometer/test_simulate_and_fit_interferometer.py::test__linear_light_profiles_agree_with_standard_light_profiles - ModuleNotFoundError:
- FAILED test_autogalaxy/interferometer/test_simulator.py::test__from_plane__same_as_plane_input - ModuleNotFoundError:
- FAILED test_autogalaxy/interferometer/test_simulator.py::test__simulate_interferometer_from_galaxy__source_galaxy__compare_to_interferometer - ModuleNotFoundError:
- ERROR test_autogalaxy/aggregator/interferometer/test_aggregator_fit_interferometer.py::test__fit_interferometer_randomly_drawn_via_pdf_gen_from - ModuleNotFoundError:
- ERROR test_autogalaxy/aggregator/interferometer/test_aggregator_fit_interferometer.py::test__fit_interferometer_all_above_weight_gen - ModuleNotFoundError:
- ERROR test_autogalaxy/aggregator/interferometer/test_aggregator_fit_interferometer.py::test__fit_interferometer__adapt_images - ModuleNotFoundError:
- ERROR test_autogalaxy/galaxy/test_to_inversion.py::test__inversion_interferometer_from - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test__model_visibilities - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test__fit_figure_of_merit - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test___fit_figure_of_merit__different_settings - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test___galaxy_model_image_dict - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test___galaxy_model_visibilities_dict - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/test_fit_interferometer.py::test__model_visibilities_of_galaxies_list - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/model/test_analysis_interferometer.py::test__make_result__result_interferometer_is_returned - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/model/test_analysis_interferometer.py::test__fit_figure_of_merit__matches_correct_fit_given_galaxy_profiles - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/model/test_analysis_interferometer.py::test__profile_log_likelihood_function - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/model/test_plotter_interface_interferometer.py::test__interferometer - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/model/test_plotter_interface_interferometer.py::test__fit_interferometer - ModuleNotFoundError:
- ERROR test_autogalaxy/interferometer/plot/test_fit_interferometer_plotters.py::test__fit_sub_plot_real_space - ModuleNotFoundError:
- ERROR test_autogalaxy/operate/test_image.py::test__visibilities_from_grid_and_transformer - ModuleNotFoundError:
- ERROR test_autogalaxy/operate/test_image.py::test__visibilities_list_from - ModuleNotFoundError:
- ERROR test_autogalaxy/operate/test_image.py::test__galaxy_visibilities_dict_from - ModuleNotFoundError:
- ================================== 6 failed, 392 passed, 45 warnings, 19 errors in 134.74s (0:02:14) ==================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement