input/output with changing waterfall

master
ml server 2020-01-24 15:56:53 -07:00
parent ef2a5fbf06
commit 48173b25d7
1 changed files with 6 additions and 2 deletions

View File

@ -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)"
]
},
{