Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions notebooks/chapter_2_lens_modeling/tutorial_11_slam.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@
"\n",
"_setup_colab.setup(\"howtolens\")"
]
},
{
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"from autolens import setup_notebook; setup_notebook()"
],
"outputs": [],
"execution_count": null
}
],
"metadata": {
Expand Down
10 changes: 10 additions & 0 deletions notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,16 @@
"\n",
"_setup_colab.setup(\"howtolens\")"
]
},
{
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"from autolens import setup_notebook; setup_notebook()"
],
"outputs": [],
"execution_count": null
}
],
"metadata": {
Expand Down
10 changes: 10 additions & 0 deletions notebooks/chapter_3_pixelizations/tutorial_9_model_fit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@
"\n",
"_setup_colab.setup(\"howtolens\")"
]
},
{
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"from autolens import setup_notebook; setup_notebook()"
],
"outputs": [],
"execution_count": null
}
],
"metadata": {
Expand Down
2 changes: 2 additions & 0 deletions notebooks/simulator/lens_x2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"from autolens import setup_notebook; setup_notebook()\n",
"\n",
"from pathlib import Path\n",
"import autolens as al\n",
Expand Down
2 changes: 2 additions & 0 deletions notebooks/simulator/lens_x3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"from autolens import setup_notebook; setup_notebook()\n",
"\n",
"from pathlib import Path\n",
"import autolens as al\n",
Expand Down
2 changes: 2 additions & 0 deletions scripts/chapter_2_lens_modeling/tutorial_11_slam.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@
This tutorial concludes the lens modeling chapter. In the next chapter, we introduce pixelizations, which reconstruct
the source galaxy on a pixel-grid rather than with light profiles.
"""

# from autolens import setup_notebook; setup_notebook()
2 changes: 2 additions & 0 deletions scripts/chapter_2_lens_modeling/tutorial_8_need_for_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,5 @@
passing (tutorial 10) reduce the number of evaluations needed to fit complex models, and the SLaM pipelines
(tutorial 11) package these ideas into automated pipelines for fitting large samples of lenses.
"""

# from autolens import setup_notebook; setup_notebook()
2 changes: 2 additions & 0 deletions scripts/chapter_3_pixelizations/tutorial_9_model_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
Once complete, you can then move on to the next HowToLens tutorial and gain more insight into adaptive
pixelizations.
"""

# from autolens import setup_notebook; setup_notebook()
2 changes: 2 additions & 0 deletions scripts/simulator/lens_x2.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
If any code in this script is unclear, refer to the `autolens_workspace/*/imaging/simulator.ipynb` notebook.
"""

# from autolens import setup_notebook; setup_notebook()

from pathlib import Path
import autolens as al
import autolens.plot as aplt
Expand Down
2 changes: 2 additions & 0 deletions scripts/simulator/lens_x3.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
If any code in this script is unclear, refer to the `autolens_workspace/*/imaging/simulator.ipynb` notebook.
"""

# from autolens import setup_notebook; setup_notebook()

from pathlib import Path
import autolens as al
import autolens.plot as aplt
Expand Down
2 changes: 2 additions & 0 deletions start_here.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"from autolens import setup_notebook; setup_notebook()\n",
"\n",
"print(__doc__)\n"
],
Expand Down
2 changes: 2 additions & 0 deletions start_here.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@
Open `scripts/chapter_1_introduction/tutorial_0_visualization.py` (or the `.ipynb` equivalent) and start there.
"""

# from autolens import setup_notebook; setup_notebook()

print(__doc__)
Loading