Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 12 additions & 22 deletions index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,37 +58,27 @@
"### Import some packages"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Some packages may be missing on some platforms so we try to install them (you may see error messages when running on Google Colab but installation usually works).\n",
"If you experience problems, please [fill in an issue](https://github.com/gwosc-tutorial/quickview/issues)."
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<contextlib.ExitStack at 0x13b3bfe80>"
]
},
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"import requests, os\n",
"import matplotlib.pyplot as plt\n",
"%config InlineBackend.figure_format = 'retina'\n",
"\n",
"try:\n",
" from gwpy.timeseries import TimeSeries\n",
"except:\n",
" ! pip install -q \"gwpy==3.0.9\"\n",
" ! pip install -q \"matplotlib==3.7.3\"\n",
" ! pip install -q \"astropy==6.1.4\"\n",
" from gwpy.timeseries import TimeSeries \n",
" ! pip install -q \"gwpy==3.0.13\"\n",
" from gwpy.timeseries import TimeSeries\n",
"\n",
"# -- Turn on interactive plotting\n",
"plt.ion()"
"import matplotlib.pyplot as plt"
]
},
{
Expand Down