Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix requirements for astropy #268

Merged
merged 2 commits into from
Jan 8, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -1146,6 +1146,13 @@
"plt.show()\n",
"plt.close()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -1164,7 +1171,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
"version": "3.11.11"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion notebooks/MIRI/MIRI_IFU_YSOs_in_the_LMC/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ specutils
aplpy
git+https://github.com/dendrograms/astrodendro.git
jupyter
astropy==5.3.4
astropy
Loading