https://sprg.ssl.berkeley.edu/~tohban/wiki/index.php?title=Image_difference.pro&feed=atom&action=history
Image difference.pro - Revision history
2024-03-29T05:06:50Z
Revision history for this page on the wiki
MediaWiki 1.16.0
https://sprg.ssl.berkeley.edu/~tohban/wiki/index.php?title=Image_difference.pro&diff=3242&oldid=prev
Agopie at 17:41, 18 August 2010
2010-08-18T17:41:09Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:41, 18 August 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>filename = 'hsi_evlist_025_050keV.fits'</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>filename = 'hsi_evlist_025_050keV.fits'</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj = hsi_image(ev_filename = filename)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj = hsi_image(ev_filename = filename)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj->set,im_time_interval='2-Sept-2002 '+[' 00:07:36', '00:07:56']</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj->set,im_time_interval='2-Sept-2002 '+[' 00:07:36', '00:07:56']</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, det_index_mask=[1,1,1,1,1,1,1,1,1]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, det_index_mask=[1,1,1,1,1,1,1,1,1]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, image_dim= [64, 64]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, image_dim= [64, 64]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, pixel_size= [.5, .5]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, pixel_size= [.5, .5]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, xyoffset = [0.0, 0.0]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, xyoffset = [0.0, 0.0]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, image_algorithm= 'Clean'</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, image_algorithm= 'Clean'</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, clean_niter = 500</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, clean_niter = 500</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, clean_beam_width_factor = 2.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>img_obj-> set, clean_beam_width_factor = 2.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>image = img_obj -> getdata()</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>image = img_obj -> getdata()</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 28:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_map = make_map(p.maps)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_map = make_map(p.maps)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_map.dx = .25 </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_map.dx = .25 </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_map.dy = .25</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_map.dy = .25</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_src = point_map.data </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_src = point_map.data </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_src = congrid(point_src,64,64)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>point_src = congrid(point_src,64,64)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>dif_map = image - point_src</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>dif_map = image - point_src</div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end</div></td></tr>
</table>
Agopie
https://sprg.ssl.berkeley.edu/~tohban/wiki/index.php?title=Image_difference.pro&diff=3241&oldid=prev
Agopie: New page: pro image_difference filename = 'hsi_evlist_025_050keV.fits' img_obj = hsi_image(ev_filename = filename) img_obj->set,im_time_interval='2-Sept-2002 '+[' 00:07:36', '00:07:56'] img_obj-> ...
2010-08-18T17:39:23Z
<p>New page: pro image_difference filename = 'hsi_evlist_025_050keV.fits' img_obj = hsi_image(ev_filename = filename) img_obj->set,im_time_interval='2-Sept-2002 '+[' 00:07:36', '00:07:56'] img_obj-> ...</p>
<p><b>New page</b></p><div>pro image_difference<br />
<br />
filename = 'hsi_evlist_025_050keV.fits'<br />
img_obj = hsi_image(ev_filename = filename)<br />
img_obj->set,im_time_interval='2-Sept-2002 '+[' 00:07:36', '00:07:56']<br />
<br />
img_obj-> set, det_index_mask=[1,1,1,1,1,1,1,1,1]<br />
img_obj-> set, image_dim= [64, 64]<br />
img_obj-> set, pixel_size= [.5, .5]<br />
img_obj-> set, xyoffset = [0.0, 0.0]<br />
<br />
img_obj-> set, image_algorithm= 'Clean'<br />
img_obj-> set, clean_niter = 500<br />
img_obj-> set, clean_beam_width_factor = 2.<br />
image = img_obj -> getdata()<br />
<br />
img_obj -> plotman, plotman = plotman<br />
<br />
restore, 'mc_maps_point.sav ', /verbose <br />
<br />
point_map = make_map(p.maps)<br />
point_map.dx = .25 <br />
point_map.dy = .25<br />
point_src = point_map.data <br />
point_src = congrid(point_src,64,64)<br />
<br />
dif_map = image - point_src<br />
<br />
<br />
<br />
end</div>
Agopie