From 48173b25d71c3048a86cee48bf5b34002353b218 Mon Sep 17 00:00:00 2001 From: ml server Date: Fri, 24 Jan 2020 15:56:53 -0700 Subject: [PATCH] input/output with changing waterfall --- notebooks/wut-web-dev.ipynb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/notebooks/wut-web-dev.ipynb b/notebooks/wut-web-dev.ipynb index 2b75453..f765755 100644 --- a/notebooks/wut-web-dev.ipynb +++ b/notebooks/wut-web-dev.ipynb @@ -159,7 +159,9 @@ "metadata": {}, "outputs": [], "source": [ - "from collections import defaultdict" + "from collections import defaultdict\n", + "#import PIL as pil\n", + "from PIL import Image as im" ] }, { @@ -197,7 +199,9 @@ " print('Observation ID: ', obs_id)\n", " obs_waterfall_path = os.path.join('/srv/satnogs/download', str(obs_id), obs_waterfall)\n", " print(obs_waterfall_path)\n", - " display(Image(filename=obs_waterfall_path, width=100))" + " #display(Image(filename=obs_waterfall_path, width=100))\n", + " img = im.open(obs_waterfall_path).resize( (100,200) )\n", + " display(img)" ] }, {