[daip] Re: minor CALIB feature/bug

Eric Greisen egreisen at nrao.edu
Wed Sep 22 12:25:01 EDT 2004


Chris Phillips writes:

 > I have been trying to 'selfcal' some single baseline data (this is some
 > single baseline phase referenced data, so what I am trying to do does make
 > some sense - trust me).
 > 
 > This has previously worked but I have been having problems (" ERROR: NO
 > VALID SOLUTIONS FOUND") getting it to work with 31DEC03. It turns out this
 > is because of some changes (made at my request...) to how the
 > minimum number of baselines is handled.
 > 
 > Around line 680 of CALIB.FOR is the code
 > 
 >       MINNO = IROUND (APARM(1))
 >       IF (MINNO.LE.2) THEN
 >          MINNO = MIN (6, NUMANT/2)
 >          MINNO = MAX (3, MINNO)
 >          END IF
 > 
 > I have set aparm(1) equal to 2 for the single baseline data, but this code
 > sets MINNO to 3 for me, which is not what I want. I have fixed the problem
 > locally by changing the LE to LT, ie:
 > 
 >       IF (MINNO.LT.2) THEN
 > 
 > I think this should be a generally available fix. Maybe it already is in
 > 31DEC04.

Yes, this was something you requested and yes I have fixed it back
already in 31DEC04.

Eric Greisen




More information about the Daip mailing list