Bug fixes to mini-halos.ipynb and relative-velocities.ipynb #525
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello! I hope this isn’t presumptuous, but I’ve also done a bit of testing/updating on the other tutorial notebooks!
All ran straight through with no changes apart from mini-halos.ipynb and relative-velocities.ipynb.
It was mostly updating the calling parameters of functions, similarly to lightcones.ipynb, but there were a couple things to note that I’m not sure whether they need to be separately addressed (or not):
This is less of a bug and just an aesthetics/ease-of-reading question, but in relative-velocities.ipynb, the cell below the markdown title ’21-cm power spectra’ just output the same plots four times whilst not varying any input parameters, so I’ve changed it to only plot each chunk once! Let me know if I’ve done this erroneously :)
I’ve also re-run all of the cells in relative-velocities.ipynb, as a pre-existing keyboard interrupt message meant that a lot of the figures weren’t generated already! (However, mini-halos.ipynb had all figures pre-generated, so I just tested the code with smaller runs in a separate notebook, then copy-pasted any changes over, and left the original figures in.)