Files
AstronomicalData/_sources/last_resort.ipynb
2020-11-13 11:46:00 -05:00

73 lines
1.4 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# The Notebook of Last Resort"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"If you are not able to get everything installed that we need for the workshop, you have the option of running this notebook on Colab.\n",
"\n",
"Before you get started, you probably want to press the Save button!"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"tags": [
"hide-cell"
]
},
"outputs": [],
"source": [
"# If we're running on Colab, install libraries\n",
"\n",
"import sys\n",
"IN_COLAB = 'google.colab' in sys.modules\n",
"\n",
"if IN_COLAB:\n",
" !pip install astroquery astro-gala pyia"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"That should be everything you need. Now you can type code and run it in the following cells."
]
},
{
"cell_type": "raw",
"metadata": {},
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}