[daip] [!9732]: AIPS - R-L delay calibration: rldly & crsfring

Yuri Kovalev nraohelp at nrao.edu
Sun Jan 29 10:17:45 EST 2017


Yuri Kovalev updated #9732
--------------------------

R-L delay calibration: rldly & crsfring
---------------------------------------

           Ticket ID: 9732
                 URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/9732
           Full Name: Yuri Kovalev
               Email: yyk at asc.rssi.ru
             Creator: User
          Department: AIPS Data Reduction
       Staff (Owner): -- Unassigned --
                Type: Issue
              Status: Open
            Priority: Default
                 SLA: NRAO E2E
      Template Group: Default
             Created: 29 January 2017 03:17 PM
             Updated: 29 January 2017 03:17 PM
                 Due: 01 February 2017 12:00 AM (2d 8h 43m)
      Resolution Due: 07 February 2017 12:00 AM (8d 8h 43m)



Dear colleagues,

There are two ways to calibrate the R-L delay in AIPS: rldly & crsfring.
It seems that both of them stopped working, at least for Matt Lister and myself reducing MOJAVE 2 cm VLBA data.

The story is as follows:
rldly does not result in proper outcome already for a very long time. This means, at least within 31DEC15 and 31DEC16 version.
See the most recent example (BL229AD, 31DEC16 AIPS) here but we stopped using it more than a year ago, I think, even under 31DEC15:
ftp://jet.asc.rssi.ru/outgoing/yyk/2cm/BL229AD_RLDLY/POSSM_CROSS_RLDLY.PS

The calibration was done for BL229AD with the following parameters:
AIPS 1: RLDLY:  Task to fringe fit data for R-L delay difference                                                                                              
AIPS 1: Adverbs     Values                 Comments                                                                                                           
AIPS 1: ----------------------------------------------------------------                                                                                                 
AIPS 1:                                    Input uv data.                                                                                                                
AIPS 1: INNAME     'BL229AD'                  UV file name (name)                                                                                                        
AIPS 1: INCLASS    'UVDATA'                   UV file name (class)                                                                                                                   
AIPS 1: INSEQ         1                       UV file name (seq. #)                                                                                                                  
AIPS 1: INDISK        1                       UV file disk drive #                                                                                                                   
AIPS 1:                                    Data selection (multisource):                                                                                                             
AIPS 1: CALSOUR    *all ' '                Calibrator sources                                                                                                                        
AIPS 1: QUAL         -1                    Calibrator qualifier -1=>all                                                                                                                            
AIPS 1: CALCODE    ' '                     Calibrator code '    '=>all                                                                                                                             
AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)                                                                                                                                               
AIPS 1: SELFREQ      -1                    Frequency to select (MHz)                                                                                                                                               
AIPS 1: FREQID       -1                    Freq. ID to select.                                                                                                                                                                        
AIPS 1: TIMERANG      0          16        Time range to use.                                                                                                                                                                         
AIPS 1:              50          47           IMPORTANT, NO DEFAULT                                                                                                                                                                   
AIPS 1:               0          16          57          40                                                                                                                                                                           
AIPS 1: BCHAN         1                    Lowest channel number 0=>all                                                                                                                                                               
AIPS 1: ECHAN         0                    Highest channel number                                                                                                                                                                                            
AIPS 1: CHINC         1                    Spectral channel increment                                                                                                                                                                                        
AIPS 1:                                    (data are averaged)                                                                                                                                                                                               
AIPS 1: ANTENNAS   *all 0                  Antennas to select. 0=all                                                                                                                                                                                         
AIPS 1: SUBARRAY      0                    Subarray, 0=>all                                                                                                                                                                                                  
AIPS 1: UVRANGE       0           0        Range of uv distance for full                                                                                                                                                                                     
AIPS 1:                                    weight                                                                                                                                                                                                            
AIPS 1: WTUV          0                    Weight outside UVRANGE 0=0.                                                                                                                                                                                       
AIPS 1: WEIGHTIT      0                    Modify data weights function                                                                                                                                                                                      
AIPS 1:
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
AIPS 1:                                    Cal. info for input:
AIPS 1: DOCALIB       2                    > 0 calibrate data & weights
AIPS 1:                                    > 99 do NOT calibrate weights
AIPS 1: GAINUSE       6                    CL table to apply.
AIPS 1: DOPOL        -1                    If >0 correct polarization.
AIPS 1: PDVER         0                    PD table to apply (DOPOL>0)
AIPS 1: BLVER        -1                    BL table to apply.
AIPS 1: FLAGVER       0                    Flag table version
AIPS 1: DOBAND       -1                    If >0 apply bandpass cal.
AIPS 1:                                    Method used depends on value
AIPS 1:                                    of DOBAND (see HELP file).
AIPS 1: BPVER        -1                    Bandpass table version
AIPS 1: SMOOTH     *all 0                  Smoothing function. See
AIPS 1:                                    HELP SMOOTH for details.
AIPS 1:
AIPS 1:                                    Solution control adverbs:
AIPS 1: REFANT        2                    Reference antenna 0 -> all
AIPS 1: SOLINT        0                    Data integration time (sec)
AIPS 1:                                       0 => found in data
AIPS 1: DOIFS         0                    0 => solve all IFs separately
AIPS 1:                                    1 => 1 solution for all IFs
AIPS 1:                                    2 => 2 solutions, 1 each for
AIPS 1:                                         IFs by halves
AIPS 1:                                    3 => 3 solutions, 1 each for
AIPS 1:                                         IFs by thirds
AIPS 1:                                    4 => 4 solutions, 1 each for
AIPS 1:                                         IFs by quarters
AIPS 1:                                    etc. SEE HELP WARNING
AIPS 1: BIF           1                    First IF included when
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
AIPS 1:                                    DOIFS > 0
AIPS 1: EIF           0                    Last IF included when DOIFS>0
AIPS 1: APARM         2        *rest 0     (1) Minimum SNR to include in
AIPS 1:                                        solution average  0 -> 5
AIPS 1:                                    (2) > 0 -> do NOT write CL
AIPS 1:                                        table even when 1 scan
AIPS 1:                                        SN table always written
AIPS 1:                                    (3) max allowed error in
AIPS 1:                                        delay in ns.  0 -> 1.E6
AIPS 1: PRTLEV        0                    > 0 => diagnostic outputs
AIPS 1: BADDISK    *all 0                  Disk no. not to use for
AIPS 1:                                       scratch files.

crsfring was working fine for me under 31DEC15 but Matt Lister reported issues recently and I also did not manage to get it working as soon as I upgraded to 31DEC16:

LOCALH> BLAVG1: Task BLAVG  (release of 31DEC16) begins
LOCALH> BLAVG1: OUTPUT BASELINE   1 -  2
LOCALH> BLAVG1: Create CROSSPOL TMP.BLAVG . 666 (UV)  on disk  1  cno    2
LOCALH> BLAVG1: UVGET: Using flag table version   1 to edit data
LOCALH> BLAVG1: BLAVDO: NO. OF PARAMETERS  12 NOT NORMAL - AVG MAY BE BAD
LOCALH> BLAVG1: BLAVDO:          4 Visibility records written
LOCALH> BLAVG1: Copied WX file from vol/cno/vers  1    1   1 to  1    2   1
LOCALH> BLAVG1: Copied FQ file from vol/cno/vers  1    1   1 to  1    2   1
LOCALH> BLAVG1: Copied AN file from vol/cno/vers  1    1   1 to  1    2   1
LOCALH> BLAVG1: Copied SU file from vol/cno/vers  1    1   1 to  1    2   1
LOCALH> BLAVG1: Appears to have ended successfully
LOCALH> BLAVG1: localhos 31DEC16 TST: Cpu=      9.3  Real=    104  IO=       290
LOCALH> INDXR1: Task INDXR  (release of 31DEC16) begins
LOCALH> INDXR1: Appears to have ended successfully
LOCALH> INDXR1: localhost    31DEC16 TST: Cpu=       0.0  Real=       0
LOCALH> FRING1: Task FRING  (release of 31DEC16) begins
LOCALH> FRING1: UVGET: doing no flagging this time
LOCALH> FRING1: Selecting the data
LOCALH> FRING1: No need to divide by flux densities in this task
LOCALH> FRING1: Determining solutions
LOCALH> FRING1: Writing SN table    1
LOCALH> FRING1: BAD BASELINE CODE=   1-   0 NO. ANT.=  10
LOCALH> FRING1: BAD BASELINE CODE=   1-   0 NO. ANT.=  10
LOCALH> FRING1: BAD BASELINE CODE=   1-   0 NO. ANT.=  10
LOCALH> FRING1: BAD BASELINE CODE=   1-   0 NO. ANT.=  10
LOCALH> FRING1: Time=   0/ 08 25 44, Polarization = 1
LOCALH> FRING1: QINIT: did a GET  of      5120 Kwords, OFF   17455403342597
LOCALH> FRING1: Time=   0/ 08 25 44, Polarization = 2
LOCALH> FRING1: ERROR: NO VALID SOLUTIONS FOUND

Here are crsfring parameters (I tried for two different calibrator scans):

AIPS 1: CRSFRING: Procedure to calibrate cross pol. delays
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1:                                    Use RUN CRSFRING first
AIPS 1: INNAME     'BL229AD'               UV file name (name)
AIPS 1: INCLASS    'UVDATA'                UV file name (class)
AIPS 1: INSEQ         1                    UV file name (seq. #)
AIPS 1: INDISK        1                    UV file disk drive #
AIPS 1: OUTDISK       1                    Disk for temporary files
AIPS 1: FLAGVER       1                    Flag table to use
AIPS 1: GAINUSE       6                    Calibration table to use
AIPS 1:                                    NO DEFAULT
AIPS 1: SUBARRAY      0                    Selected subarray
AIPS 1: ANTENNAS   *all 0                  List of antennas, 0->use all
AIPS 1: REFANT        2                    Reference antenna
AIPS 1: CALSOUR    *all ' '                Calibrator sources to use.
AIPS 1:                                    See note in HELP file!
AIPS 1: TIMERANG      0          18        Time range
AIPS 1:              23          27           0          18
AIPS 1:              30          21
AIPS 1: SOLINT        2                    Pre-averaging interval (min)
AIPS 1: BADDISK    *all 0                  Disk drive #'s to avoid

In the same time, if I load 31DEC15 AIPS version, the same crsfring parameters result in (i) working crsfring, (ii) an acceptable R-L delay calibration output:
ftp://jet.asc.rssi.ru/outgoing/yyk/2cm/BL229AD_31DEC15_CRSFRING/POSSM_CROSS_CRSFRING_31DEC15.PS


Any comments?

Cheers,
Yuri

------------------------------------------------------
Staff CP:  https://help.nrao.edu/staff



More information about the Daip mailing list