Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions quarantine/FITS-cubes/FITS-cubes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"* Read and plot slices across different dimensions of a data cube\n",
"* Compare different data sets (2D and 3D) by overploting contours\n",
"* Transform coordinate projections and match data resolutions with `reproject`\n",
"* Create intensity moment maps with `spectral_cube`\n",
"* Create intensity moment maps / velocity maps with `spectral_cube`\n",
"\n",
"## Keywords\n",
"FITS, radio astronomy, data cubes, contour plots\n",
Expand Down Expand Up @@ -90,7 +90,7 @@
"# Downloads the HI data in a fits file format\n",
"hi_datafile = download_file(\n",
" 'http://cdsarc.u-strasbg.fr/vizier/ftp/cats/J/A+A/594/A116/CUBES/GAL/TAN/TAN_C14.fits',\n",
" cache=True, show_progress = True)"
" cache= False, show_progress = True)"
]
},
{
Expand Down Expand Up @@ -489,7 +489,7 @@
"# and plot the velocity along the x axis\n",
"\n",
"# Display the slice\n",
"im = ax.imshow(sub_cube_slab[:, lat_slice, :].transpose()) # Display the image slice\n",
"im = ax.imshow(sub_cube_slab[:, lat_slice, :].transpose().data) # Display the image slice\n",
"ax.invert_yaxis() # Flips the Y axis \n",
"\n",
"# Add axes labels\n",
Expand Down
3 changes: 2 additions & 1 deletion tutorials/notebooks/quantities/quantities.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,8 @@
},
"outputs": [],
"source": [
"nu13 = lambda13.to(u.Hz)"
"nu13 = lambda13.to(u.Hz)\n",
"nu18 = lambda18.to(u.Hz)"
]
},
{
Expand Down