Closed bmorris3 closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
(Also, happy second birthday to this notebook, introduced in https://github.com/astropy/astropy-workshop/pull/163 🎉 🍰)
Hi @nstarman – is it possible astropy/astropy#12136 broke the tests in these notebooks? I'm getting build errors like this.
The following should work.
from astropy.cosmology import parameters
parameters.available
While not deprecated, the parameters
module is mostly legacy. For a one-liner use
astropy.cosmology.realizations.available
Thanks @nstarman, all fixed!
When I teach the OOP tutorial, I always mention that the
LightCurve
object created in the notebook is only meant for pedagogical purposes. I suggest that if you want to do real research with light curves, you would benefit greatly from using thelightkurve
package.In this PR, I put that commentary into text in the notebook.