<font face="Verdana, Arial, Helvetica" size="2">Eric Greisen updated #12546<br />
---------------------------<br />
<br />
Don't understand CLCAL interpolation<br />
------------------------------------<br />
<br />
<div style="margin-left: 40px;">Ticket ID: 12546</div>
<div style="margin-left: 40px;">URL: <a href="https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/12546">https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/12546</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): Eric Greisen</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: 08 August 2018 07:45 PM</div>
<div style="margin-left: 40px;">Updated: 09 August 2018 11:21 PM</div>
<div style="margin-left: 40px;">Reply due: 13 August 2018 03:45 PM (3d 16h 23m)</div>
<div style="margin-left: 40px;">Resolution due: 05 May 2021 12:00 AM (999d 0h 38m)</div>
<br />
<br />
<br />
I can't say that I do either - it ignores rate when interpolating delay<br />and simply does linear interpolation of rates and delays.  But for<br />phase the code is:<br /><br /> IF  (GOOD1)  PH1 = ATAN2 (SNRECR(IPNTS1),<br />*                SNRECR(IPNTC1)) +<br /> *   SNRECR(IPNTR1) *(TIME - TIME1) * FRQFAC(LOOPIF)<br /><br /> IF  (GOOD2)  PH2 = ATAN2 (SNRECR(IPNTS2),<br /> *             SNRECR(IPNTC2)) +<br /> *   SNRECR(IPNTR2) * (TIME - TIME2) * FRQFAC(LOOPIF)<br /><br /><br />where the 3rd line of each is the rate times the time difference times<br />a frequency.<br /><br />So it uses rate only to predict phase.  I don't quite understand that<br />but Bill Cotton wrote it (I assume) so I have not done anything to it.<br /><br />Eric<br />
<br />
<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>