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
8 changes: 0 additions & 8 deletions markdown/overview/overview_1_the_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2773,11 +2773,3 @@ plt.close()

![png](overview_1_the_basics_files/overview_1_the_basics_77_0.png)



Finish.


```python

```
7 changes: 0 additions & 7 deletions notebooks/cookbooks/analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1007,13 +1007,6 @@
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/cookbooks/samples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -939,17 +939,10 @@
"print(\n",
" \"All parameters of the very first sample (containing only the Gaussian normalization and sigma).\"\n",
")\n",
"print(samples.parameter_lists[0])"
"print(samples.parameter_lists[0])\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/features/interpolate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -448,17 +448,10 @@
" f\"Gaussian centre of fit at t = 2: {instance_at_time(ml_instances_list, 2).gaussian.centre}\"\n",
")\n",
"\n",
"print(f\"Gaussian centre interpolated at t = 1.5 {instance.gaussian.centre}\")"
"print(f\"Gaussian centre interpolated at t = 1.5 {instance.gaussian.centre}\")\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/features/search_grid_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -557,17 +557,10 @@
"# model=model,\n",
"# analysis=analysis,\n",
"# grid_priors=[model.gaussian_feature.centre, model.gaussian_main.centre],\n",
"# )"
"# )\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/features/sensitivity_mapping.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -792,17 +792,10 @@
"metadata": {},
"source": [
"print(sensitivity_result.samples)\n",
"print(sensitivity_result.log_evidences_base)"
"print(sensitivity_result.log_evidences_base)\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/overview/overview_1_the_basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1334,17 +1334,10 @@
"plt.xlabel(\"x values of profile\")\n",
"plt.ylabel(\"Profile normalization\")\n",
"plt.show()\n",
"plt.close()"
"plt.close()\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/plot/dynesty_plotter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -510,17 +510,10 @@
" plt.close()\n",
"\n",
"except ValueError:\n",
" pass"
" pass\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/plot/emcee_plotter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -324,17 +324,10 @@
"\n",
"axes[-1].set_xlabel(\"step number\")\n",
"\n",
"plt.show()"
"plt.show()\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/plot/zeus_plotter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -297,17 +297,10 @@
"\n",
"axes[-1].set_xlabel(\"step number\")\n",
"\n",
"plt.show()"
"plt.show()\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/searches/start_point.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -330,17 +330,10 @@
"\n",
"print(samples.parameter_lists[0])\n",
"print(samples.parameter_lists[1])\n",
"print(samples.parameter_lists[2])"
"print(samples.parameter_lists[2])\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions notebooks/simulators/simulators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -448,17 +448,10 @@
"\n",
"dataset_path = path.join(\"dataset\", \"example_1d\", \"gaussian_x1_variable\", \"sigma_2\")\n",
"gaussian = af.ex.Gaussian(centre=50.0, normalization=50.0, sigma=30.0)\n",
"util.simulate_dataset_1d_via_gaussian_from(gaussian=gaussian, dataset_path=dataset_path)"
"util.simulate_dataset_1d_via_gaussian_from(gaussian=gaussian, dataset_path=dataset_path)\n"
],
"outputs": [],
"execution_count": null
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finish."
]
}
],
"metadata": {
Expand Down
5 changes: 0 additions & 5 deletions scripts/cookbooks/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,3 @@ def save_results(self, paths: af.DirectoryPaths, result: af.Result):

with open(file_path, "w+") as f:
json.dump(model_data, f, indent=4)


"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/cookbooks/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,3 @@
"All parameters of the very first sample (containing only the Gaussian normalization and sigma)."
)
print(samples.parameter_lists[0])

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/features/interpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,3 @@ def instance_at_time(instances, time):
)

print(f"Gaussian centre interpolated at t = 1.5 {instance.gaussian.centre}")

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/features/search_grid_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,3 @@
# analysis=analysis,
# grid_priors=[model.gaussian_feature.centre, model.gaussian_main.centre],
# )

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/features/sensitivity_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,3 @@ def __call__(self, dataset, model, paths, instance):
"""
print(sensitivity_result.samples)
print(sensitivity_result.log_evidences_base)

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/overview/overview_1_the_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,3 @@ def log_likelihood_function(self, instance) -> float:
plt.ylabel("Profile normalization")
plt.show()
plt.close()

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/plot/dynesty_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,3 @@

except ValueError:
pass

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/plot/emcee_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,3 @@
axes[-1].set_xlabel("step number")

plt.show()

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/plot/zeus_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,3 @@
axes[-1].set_xlabel("step number")

plt.show()

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/searches/start_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,3 @@
print(samples.parameter_lists[0])
print(samples.parameter_lists[1])
print(samples.parameter_lists[2])

"""
Finish.
"""
4 changes: 0 additions & 4 deletions scripts/simulators/simulators.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,3 @@
dataset_path = path.join("dataset", "example_1d", "gaussian_x1_variable", "sigma_2")
gaussian = af.ex.Gaussian(centre=50.0, normalization=50.0, sigma=30.0)
util.simulate_dataset_1d_via_gaussian_from(gaussian=gaussian, dataset_path=dataset_path)

"""
Finish.
"""
Loading