diff --git a/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/isha_nayak_ysos_in_the_lmc.ipynb b/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/isha_nayak_ysos_in_the_lmc.ipynb index 8b7e91515..07c9ab4be 100644 --- a/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/isha_nayak_ysos_in_the_lmc.ipynb +++ b/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/isha_nayak_ysos_in_the_lmc.ipynb @@ -300,9 +300,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Plot the summed image with WCS coordinates and save the figure\n", - "\n", - "**Developer note**: there is a bug in aplpy currently and `show_colorscale` does not work. We skip this cell and come back to this when the bug is fixed." + "### Plot the summed image with WCS coordinates and save the figure" ] }, { @@ -315,8 +313,10 @@ ] }, { - "cell_type": "raw", + "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "F = aplpy.FITSFigure(cont_img.hdu, north=True)\n", "F.show_colorscale()\n", @@ -1089,9 +1089,9 @@ " elif count_pah == 0 and drop_dups_ice:\n", " for i in range(0, count_ice):\n", " if ((ice_absorption_detected[i].value < 4.87 and ice_absorption_detected[i].value > 4.47)\n", - " or (ice_absorption_detected[i].value < 5.8 and ice_absorption_detected[i].value > 6.2)\n", - " or (ice_absorption_detected[i].value < 6.69 and ice_absorption_detected[i].value > 7.09)\n", - " or (ice_absorption_detected[i].value < 7.5 and ice_absorption_detected[i].value > 7.7)):\n", + " or (ice_absorption_detected[i].value < 5.8 and ice_absorption_detected[i].value > 6.2)\n", + " or (ice_absorption_detected[i].value < 6.69 and ice_absorption_detected[i].value > 7.09)\n", + " or (ice_absorption_detected[i].value < 7.5 and ice_absorption_detected[i].value > 7.7)):\n", " print(\"This is a Class 2 YSO.\")\n", " \n", " # Else if PAH emission features then YSO 3\n", @@ -1146,6 +1146,13 @@ "plt.show()\n", "plt.close()" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { @@ -1164,7 +1171,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.9" + "version": "3.11.11" } }, "nbformat": 4, diff --git a/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/requirements.txt b/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/requirements.txt index 8e88496ac..f4249f10d 100644 --- a/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/requirements.txt +++ b/notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/requirements.txt @@ -6,4 +6,4 @@ specutils aplpy git+https://github.com/dendrograms/astrodendro.git jupyter -astropy==5.3.4 +astropy