Skip to content

Commit

Permalink
new contours also on greyscale HI image
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloserra committed Oct 27, 2020
1 parent bdb239f commit 33bc065
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions finalsources.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_mask(value):
fig = plt.figure(figsize=(8, 8))
ax1 = fig.add_subplot(111, projection=WCS(hdulist_opt[0].header))
ax1.imshow(d2, cmap='viridis', vmin=np.percentile(d2, 10), vmax=np.percentile(d2, 99.8), origin='lower')
ax1.contour(hi_reprojected, cmap='Oranges', linewidth=0.8,
ax1.contour(hi_reprojected, cmap='Oranges', linewidths=0.8,
levels=sensitivity*2**np.range(10))
ax1.scatter(hi_pos.ra.deg, hi_pos.dec.deg, marker='x', c='black', linewidth=0.75,
transform=ax1.get_transform('fk5'))
Expand All @@ -297,8 +297,8 @@ def test_mask(value):
fig = plt.figure(figsize=(8, 8))
ax1 = fig.add_subplot(111, projection=WCS(hdulist_opt[0].header))
im = ax1.imshow(hi_reprojected, cmap='gray_r', origin='lower')
ax1.contour(hi_reprojected, cmap='Oranges_r', linewidth=0.8,
levels=[rms * 3, rms * 5, rms * 10, rms * 20, rms * 40]) # , rms * 80]
ax1.contour(hi_reprojected, cmap='Oranges_r', linewidths=0.8,
levels=sensitivity*2**np.range(10))
ax1.scatter(hi_pos.ra.deg, hi_pos.dec.deg, marker='x', c='white', linewidth=0.75,
transform=ax1.get_transform('fk5'))
ax1.set_title(src_name[-1], fontsize=20)
Expand Down

0 comments on commit 33bc065

Please sign in to comment.