Skip to content

Commit

Permalink
Fix more styles
Browse files Browse the repository at this point in the history
  • Loading branch information
haticekaratay committed Dec 20, 2023
1 parent a06f9cb commit 03ffc72
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
"\n",
"from specutils import Spectrum1D, SpectralRegion\n",
"from specutils.analysis import snr\n",
"from specutils.fitting import fit_generic_continuum, find_lines_derivative\n",
"from specutils.manipulation import box_smooth, extract_region"
"from specutils.fitting import fit_generic_continuum, find_lines_derivative"
]
},
{
Expand Down Expand Up @@ -461,8 +460,7 @@
" plt.imshow(cont_img.value, origin='lower')\n",
" plt.tight_layout()\n",
" plt.show()\n",
" plt.close()\n",
" "
" plt.close()"
]
},
{
Expand Down Expand Up @@ -1084,10 +1082,10 @@
" 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",
" print(\"This is a Class 2 YSO.\")\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",
" if (count_pah > 0 and not drop_dups_ice) or (count_pah > 0 and drop_dups_sil):\n",
Expand Down

0 comments on commit 03ffc72

Please sign in to comment.