Skip to content

Commit cc3fbbe

Browse files
committed
refactor: import config surface from autogalaxy instead of autoconf
Rewrite `from autoconf[.sub] import X` to `from autogalaxy import X` across scripts, notebooks and markdown, so workspace code imports the config/serialization surface (conf, jax_wrapper, with_test_mode_segment, dictable/fitsable helpers, etc.) through the science library rather than depending on `autoconf` directly. The Colab bootstrap `from autoconf import setup_colab` is intentionally left on autoconf: it runs before the library is pip-installed on Colab. Notebooks were updated by the same deterministic line-level transform as the scripts (the catalogue files embed no import lines and are unaffected). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ciVftxvYpefh59wSkR7jN
1 parent 46e553b commit cc3fbbe

55 files changed

Lines changed: 584 additions & 584 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

markdown/chapter_1_introduction/tutorial_0_visualization.md

Lines changed: 1 addition & 1 deletion

markdown/chapter_1_introduction/tutorial_1_grids_and_galaxies.md

Lines changed: 1 addition & 1 deletion

markdown/chapter_1_introduction/tutorial_2_data.md

Lines changed: 1 addition & 1 deletion

markdown/chapter_1_introduction/tutorial_3_fitting.md

Lines changed: 1 addition & 1 deletion

markdown/chapter_1_introduction/tutorial_5_summary.md

Lines changed: 1 addition & 1 deletion

notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"metadata": {},
6363
"source": [
6464
"\n",
65-
"from autoconf import setup_notebook; setup_notebook()"
65+
"from autogalaxy import setup_notebook; setup_notebook()"
6666
],
6767
"outputs": [],
6868
"execution_count": null

notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"metadata": {},
9191
"source": [
9292
"\n",
93-
"from autoconf import setup_notebook; setup_notebook()\n",
93+
"from autogalaxy import setup_notebook; setup_notebook()\n",
9494
"\n",
9595
"import matplotlib.pyplot as plt\n",
9696
"import numpy as np\n",

notebooks/chapter_1_introduction/tutorial_2_data.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"metadata": {},
7777
"source": [
7878
"\n",
79-
"from autoconf import setup_notebook; setup_notebook()\n",
79+
"from autogalaxy import setup_notebook; setup_notebook()\n",
8080
"\n",
8181
"import numpy as np\n",
8282
"from pathlib import Path\n",

notebooks/chapter_1_introduction/tutorial_3_fitting.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"metadata": {},
7878
"source": [
7979
"\n",
80-
"from autoconf import setup_notebook; setup_notebook()\n",
80+
"from autogalaxy import setup_notebook; setup_notebook()\n",
8181
"\n",
8282
"import numpy as np\n",
8383
"from pathlib import Path\n",

notebooks/chapter_1_introduction/tutorial_4_methods.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
"metadata": {},
6363
"source": [
6464
"\n",
65-
"from autoconf import jax_wrapper # Sets JAX environment before other imports\n",
65+
"from autogalaxy import jax_wrapper # Sets JAX environment before other imports\n",
6666
"\n",
67-
"from autoconf import setup_notebook; setup_notebook()\n",
67+
"from autogalaxy import setup_notebook; setup_notebook()\n",
6868
"\n",
6969
"import autogalaxy as ag\n",
7070
"import autogalaxy.plot as aplt"

0 commit comments

Comments
 (0)