Skip to content

Commit c854f2f

Browse files
committed
Fix formatting issues in text cells
1 parent bd0afff commit c854f2f

1 file changed

Lines changed: 7 additions & 15 deletions

File tree

tutorials/UVES/UVES.ipynb

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,7 @@
151151
"filelist = glob('UVES/*.fits')\n",
152152
"# sort alphabetically - given the way the filenames are\n",
153153
"# this also sorts in time\n",
154-
"filelist.sort()\n",
155-
"\n",
156-
"Read the first fits file in the list and check what is in there:\n",
157-
" \n",
158-
"sp = fits.open(filelist[0])\n",
159-
"sp.info()"
154+
"filelist.sort()"
160155
],
161156
"language": "python",
162157
"metadata": {},
@@ -181,7 +176,7 @@
181176
"outputs": []
182177
},
183178
{
184-
"cell_type": "raw",
179+
"cell_type": "markdown",
185180
"metadata": {},
186181
"source": [
187182
"We see that the data is given as the primary image and all other info is\n",
@@ -202,7 +197,7 @@
202197
"wavelength = wcs.wcs_pix2world(index[:,np.newaxis], 0)\n",
203198
"wavelength.shape\n",
204199
"#Ahh, this has the wrong dimension. So we flatten it.\n",
205-
"wavelength = wavelength.flatten("
200+
"wavelength = wavelength.flatten()"
206201
],
207202
"language": "python",
208203
"metadata": {},
@@ -363,15 +358,12 @@
363358
]
364359
},
365360
{
366-
"cell_type": "code",
367-
"collapsed": false,
368-
"input": [
361+
"cell_type": "markdown",
362+
"metadata": {},
363+
"source": [
369364
"Try to find out how you can read the help for this function from the\n",
370365
"command line"
371-
],
372-
"language": "python",
373-
"metadata": {},
374-
"outputs": []
366+
]
375367
},
376368
{
377369
"cell_type": "code",

0 commit comments

Comments
 (0)