Skip to content

Commit

Permalink
Importance sampling tutorial rerun
Browse files Browse the repository at this point in the history
  • Loading branch information
lmauviard committed Dec 18, 2024
1 parent 965f389 commit 2b9ea26
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/source/Importance_sampling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"/=============================================\\\n",
"| X-PSI: X-ray Pulse Simulation and Inference |\n",
"|---------------------------------------------|\n",
"| Version: 2.3.0-b |\n",
"| Version: 3.0.0 |\n",
"|---------------------------------------------|\n",
"| https://xpsi-group.github.io/xpsi |\n",
"\\=============================================/\n",
Expand Down Expand Up @@ -164,7 +164,7 @@
"\n",
"# Commenting this as it takes a bit of time to run\n",
"######################\n",
"#importance(new_model.likelihood,\n",
"# importance(new_model.likelihood,\n",
"# old_model.likelihood,\n",
"# '../../examples/examples_fast/Outputs/ST_live_1000_eff_0.3_seed42',\n",
"# names = names,\n",
Expand Down Expand Up @@ -747,7 +747,7 @@
"/=============================================\\\n",
"| X-PSI: X-ray Pulse Simulation and Inference |\n",
"|---------------------------------------------|\n",
"| Version: 2.3.0-b |\n",
"| Version: 3.0.0 |\n",
"|---------------------------------------------|\n",
"| https://xpsi-group.github.io/xpsi |\n",
"\\=============================================/\n",
Expand Down Expand Up @@ -876,11 +876,16 @@
"source": [
"This will create exactly the same importance sampled output file as the prior-change example above."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "xpsi",
"language": "python",
"name": "python3"
},
Expand All @@ -894,7 +899,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.12.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2b9ea26

Please sign in to comment.