Sharing SLEEPY Simulations#
Part of the goal with writing SLEEPY in Python is to make it easy to share your simulations online. We offer one easy route to doing this here.
Prepare your simulations in a Jupyter Notebook. This can be done locally, but can also be done online, for example, in Google Colab.
Add
!pip install sleepy-nmr
to the first line of the notebook so that SLEEPY is downloaded to Google Colab when run online.Upload your Jupyter Notebook to a public GitHub repository.
Navigate to the notebook on the Github repository. Copy the web address. Change “github” in the address to “githubtocolab” in the address. For example:
https://githubtocolab.com/alsinmr/SLEEPY_tutorial/blob/main/ColabNotebooks/Chapter1/Ch1_basics.ipynb
More generally:
https://githubtocolab.com/<username>/<repository>/blob/<branch>/<path_to_notebook>/<notebook.ipynb>
We are also more than happy to host simulations here. See Users Contributions