Skip to content

Commit 7ce9569

Browse files
authored
Merge pull request #327 from kakirastern/updating-fits-cubes-ipynb
Updating FITS-cubes tutorial in quarantine
2 parents 799c432 + 11d7317 commit 7ce9569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quarantine/FITS-cubes/FITS-cubes.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"* Read and plot slices across different dimensions of a data cube\n",
1515
"* Compare different data sets (2D and 3D) by overploting contours\n",
1616
"* Transform coordinate projections and match data resolutions with `reproject`\n",
17-
"* Create intensity moment maps with `spectral_cube`\n",
17+
"* Create intensity moment maps / velocity maps with `spectral_cube`\n",
1818
"\n",
1919
"## Keywords\n",
2020
"FITS, radio astronomy, data cubes, contour plots\n",
@@ -489,7 +489,7 @@
489489
"# and plot the velocity along the x axis\n",
490490
"\n",
491491
"# Display the slice\n",
492-
"im = ax.imshow(sub_cube_slab[:, lat_slice, :].transpose()) # Display the image slice\n",
492+
"im = ax.imshow(sub_cube_slab[:, lat_slice, :].transpose().data) # Display the image slice\n",
493493
"ax.invert_yaxis() # Flips the Y axis \n",
494494
"\n",
495495
"# Add axes labels\n",

0 commit comments

Comments
 (0)