Skip to content

Commit

Permalink
FIX: update ds9 region format
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Sep 25, 2023
1 parent d4cb64a commit 0490c46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/source/cookbook/fits_xray_images.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@
"\n",
"reg_file = [\n",
" \"# Region file format: DS9 version 4.1\\n\",\n",
" \"global color=green dashlist=8 3 width=3 include=1 source=1 fk5\\n\",\n",
" \"global color=green dashlist=8 3 width=3 include=1 source=1\\n\",\n",
" \"FK5\\n\",\n",
" 'circle(15:16:44.817,+7:01:19.62,34.6256\")',\n",
"]\n",
"f = open(\"circle.reg\", \"w\")\n",
Expand Down Expand Up @@ -335,6 +336,7 @@
" method=\"sum\",\n",
")\n",
"prj.set_log((\"fits\", \"flux\"), True)\n",
"prj.set_zlim((\"fits\", \"flux\"), 1e-5)\n",
"prj.set_log((\"gas\", \"pseudo_pressure\"), False)\n",
"prj.set_log((\"gas\", \"pseudo_entropy\"), False)\n",
"prj.set_width(250.0)\n",
Expand Down

0 comments on commit 0490c46

Please sign in to comment.