<font face="Verdana, Arial, Helvetica" size="2">Michael Bietenholz updated #11333<br />
---------------------------------<br />
<br />
AIPS UVSUB doesn't work with multiscale CLEAN images and CMETH='GRID'<br />
---------------------------------------------------------------------<br />
<br />
<div style="margin-left: 40px;">Ticket ID: 11333</div>
<div style="margin-left: 40px;">URL: <a href="https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/11333">https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/11333</a></div>
<div style="margin-left: 40px;">Name: Michael Bietenholz</div>
<div style="margin-left: 40px;">Email address: <a href="mailto:mbieten@yorku.ca">mbieten@yorku.ca</a></div>
<div style="margin-left: 40px;">Creator: User</div>
<div style="margin-left: 40px;">Department: AIPS Data Reduction</div>
<div style="margin-left: 40px;">Staff (Owner): -- Unassigned --</div>
<div style="margin-left: 40px;">Type: Issue</div>
<div style="margin-left: 40px;">Status: Open</div>
<div style="margin-left: 40px;">Priority: Default</div>
<div style="margin-left: 40px;">SLA: NRAO E2E</div>
<div style="margin-left: 40px;">Template group: Default</div>
<div style="margin-left: 40px;">Created: 05 December 2017 01:02 PM</div>
<div style="margin-left: 40px;">Updated: 05 December 2017 01:02 PM</div>
<div style="margin-left: 40px;">Reply due: 07 December 2017 01:02 PM (2d 0h 0m)</div>
<div style="margin-left: 40px;">Resolution due: 31 August 2020 12:00 AM (999d 10h 58m)</div>
<br />
<br />
<br />
AIPS UVSUB (31DEC17) seems to get the wrong answer when asked to subtract multiscale clean images in 'GRID' mode, but produces a reasonable answer in 'DFT' mode.  I attach a png showing UV plots which were made from UVSUB OPCO='MODL' output, with the only difference being yellow was CMETH='DFT' and green was 'GRID'.  Details below.  Now you wouldn't expect the two to be *exactly* the same, but they should be pretty similar, and as you can see they are completely different.  I think in the 'GRID' case UVSUB only uses the last of the input images<br /><br />I ran an IMAGR with NGAUS=3 and WGAUS=0,30,90 (normal beam is around 15" for this particular data).  IMAGR produces three images (.ICL001, .ICL002, ICL003) of same patch of sky but at three different resolutions (with first one having clean comps from<br /> all three restored).  There are >30 clean comps in each resolution.<br /><br />I tried running UVSUB with OPCO='MODL' to replace my vis. with the model values from all three images, and got strange results (model had much lower total flux density than was in the clean comps)<br /><br />As a test I ran UVSUB w/ NMAP=3; NCOMP = 30,30,1.<br /><br />With CMETH 'DFT' results are reasonable (yellow points in attached plot).  With 'GRID' (green) I think its ignoring the first two images, and only taking the single requested component from the last image, which is a single Gaussian.<br /><br />I note that UVSUB claims to need 'XY' sorted data for 'GRID'.  I did sort my data to XY, but 'GRID' still gets it wrong.
<br />
<HR style="margin-bottom: 6px; height: 1px; BORDER: none; color: #cfcfcf; background-color: #cfcfcf;" />
Staff CP:  <a href="https://help.nrao.edu/staff" target="_blank">https://help.nrao.edu/staff</a><br />
</font>