-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New tutorial on importance sampling with X-PSI #473
Conversation
I think we should probably move this tutorial preferably to the docs (so no not to keep it in the examples folder as now), so that it will be visible also from the web pages. I can move this to there. I am also now checking if everything works and looks fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing just the tutorial notebook:
- The line "For the new model, we changed the spin frequency from 314.0 Hz (which was used to generate the data) to 310.0 Hz (this is technically not the correct model, it's just an example)" - the final bit reads a bit strangely to me since if we changed frequency we'd also change the pulse profile. Could we perhaps say instead something like:
"[Note: if we actually picked a different frequency in the model (perhaps because the true spin is uncertain), we would technically have to re-generate the pulse profile using that frequency as well. Here we do not do that, which is equivalent to assuming that the data set is short enough that the change in frequency has not affected the pulse profile. We've done this just because it makes a nice and fast example to show! "
Feel free to rephrase as you like!
-
"new posteriors looks like" -> "new posteriors look like"
-
Not sure what you mean by "(look density method)"? Also there needs to be a full stop at the end of that paragraph.
Otherwise looks good to me!
I merged the main main branch to this branch, and the importance sampling notebook seems to be not working anymore. Need to fix some prefixes at least, since Lucien renamed them from "hot" to "p". |
…portance sampling notebook too.
@drannawatts "One reason to adjust only the frequency in the model while keeping the data unchanged could arise from inadvertently using a frequency different from the one used to fold the data, only to realize this discrepancy after performing the run (with the wrong frequency)" Comment 2: Fixed. |
I think that suggestion for Comment 1 is fine! |
I made a few sentence changes (e.g. clarifying what importance sampling means ... hopefully it is correct?). Before moving this to the Documentation pages, I think it is still good to increase the font sizes in the Corner plots and clarify what is inside I can later try to fix these if you want. |
I am working on this now. |
…e new examples so that the likelihood checks pass.
…ning the example. The difference to the previous though extremely small.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is looking good! Is it ready for approval or are people still making last changes?
Not ready! I just checked how it would look like in the docs, and it is a mess! |
Need to make changes to the notebook titles, subtitles etc. so that they don't show up randomly in the docs and in the index. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be now more or less fine. The final change was to use * symbols instead of # to boldface normal text in the notebook. Otherwise, sphinx will treat those as titles and documentation becomes messy.
No description provided.