[daip] AIPS CLCOR problem

Chris Williams williams at sne.nrl.navy.mil
Fri Dec 17 17:19:30 EST 2004


Hi,

I am trying to use CLCOR with opcode 'ANTP' to adjust the positions of some of 
my sources, and I am getting some very peculiar behavior.

The first time I run CLCOR, it offsets the source by a strange amount 
differently than what I had specified.  However, if I run it again on the same 
file, it works properly (offsetting from the now new, strange position).  I have 
attached a text file with an example of what I am doing, and what it is 
producing (hopefully so it won't end up with crazy formatting).

I am trying to adjust the declination of source 1159-218 from -21:48:53.707 to  
-21:48:52.707 by using CLCORPRM(6)=1.  When I run this the first time, however, 
it gives me back -21:48:52.690!  If I use tget and run clcor with the same 
parameters again on the file, it works correctly, changing the source position 
to -21:48:50.690.  However, it never works correctly the first time. Only 
subsequent times.

I was wondering if you perhaps had any suggestions, or see that I am doing 
something wrong, or know of a better way to modify a source position.

Thanks,

Chris

-----------
Chris Williams
Naval Resarch Lab
-------------- next part --------------
>task 'listr'
>opty 'scan'
>go
 sne       LISTR(31DEC03)   1941     17-DEC-2004  17:01:17    Page    1
File = AR555       .UVCOP .   1 Vol =18  Userid = 1941
Freq =  8.435100000 GHz   Ncor =  4   No. vis =   3397883
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
   4 1159-218        : 0000  L        1  0/19:34:27 -   0/19:35:20     1   39307      44125
 961 1159-218        : 0000  L        1  7/17:10:10 -   7/17:11:10     1 3139085    3143437
 
Source summary
Velocity type = 'TOPOCENT'    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)   IFlux   QFlux   UFlux   VFlux  No. vis
   4 1159-218        : 0000   L     11:59:51.9061 -21:48:53.707   0.000   0.000   0.000   0.000    9172
             IF( 2)                                               0.000   0.000   0.000   0.000
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          8.4351         0.0000          0.0000
     IF(  2)              8.4351         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband
   1   1       8.43510000   50000.0039  50000.0039      1
       2       8.48510000   50000.0039  50000.0039      1

>task 'clcor'
>clcorprm 0 0 0 1 0 1 1 0
>gainver 1
>gainuse 2
>inp
AIPS 1: CLCOR     Task which applies various corrections to CL tables.
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: INNAME     'AR555       '          Input UV file name (name)
AIPS 1: INCLASS    'UVCOP '                Input UV file name (class)
AIPS 1: INSEQ         1                    Input UV file name (seq. #)
AIPS 1: INDISK       18                    Input UV file disk unit #
AIPS 1: SOURCES    '1159-218        '      Source list ' '=>all.
AIPS 1:            *rest ' '
AIPS 1: STOKES     '    '                  Stokes type to process
AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 1: SELFREQ      -1                    Frequency to select (MHz)
AIPS 1: FREQID       -1                    Freq. ID to select, 0=>all
AIPS 1: BIF           0                    Lowest IF number 0=>all
AIPS 1: EIF           0                    Highest IF number 0=>all
AIPS 1: TIMERANG   *all 0                  Time range to use.
AIPS 1: ANTENNAS   *all 0                  Antennas to correct.
AIPS 1: SUBARRAY      0                    Subarray;  0 => 1.
AIPS 1: GAINVER       1                    Input CL table 0=>high
AIPS 1: GAINUSE       2                    Output CL table: not =
AIPS 1:                                    GAINVER -> high+1
AIPS 1: OPCODE     'ANTP'                  Operation code.
AIPS 1: CLCORPRM      0           0        Parameters (see HELP CLCOR).
AIPS 1:               0           1           0           1
AIPS 1:               1        *rest 0
AIPS 1: BADDISK    *all 0                  Disks to aviod for scratch
AIPS 1: INFILE     *all ' '                Input file with the list of
AIPS 1:                                    antennas, times and relevant
AIPS 1:                                    atmosphere vertical delay.
AIPS 1:                                    Used only with OPCODE='ATMO'
>
>go clcor
AIPS 1: Resumes
>tget listr
>go
 sne       LISTR(31DEC03)   1941     17-DEC-2004  17:04:02    Page    1
File = AR555       .UVCOP .   1 Vol =18  Userid = 1941
Freq =  8.435100000 GHz   Ncor =  4   No. vis =   3397883
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
   4 1159-218        : 0000  L        1  0/19:34:27 -   0/19:35:20     1   39307      44125
 961 1159-218        : 0000  L        1  7/17:10:10 -   7/17:11:10     1 3139085    3143437
 
Source summary
Velocity type = 'TOPOCENT'    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)   IFlux   QFlux   UFlux   VFlux  No. vis
   4 1159-218        : 0000   L     11:59:51.9347 -21:48:52.690   0.000   0.000   0.000   0.000    9172
             IF( 2)                                               0.000   0.000   0.000   0.000
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          8.4351         0.0000          0.0000
     IF(  2)              8.4351         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband
   1   1       8.43510000   50000.0039  50000.0039      1
       2       8.48510000   50000.0039  50000.0039      1
AIPS 1: Resumes
>tget clcor
>gainver 2
>gainuse 3
>go
AIPS 1: Resumes
>tget listr
>go
 sne       LISTR(31DEC03)   1941     17-DEC-2004  17:05:13    Page    1
File = AR555       .UVCOP .   1 Vol =18  Userid = 1941
Freq =  8.435100000 GHz   Ncor =  4   No. vis =   3397883
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
   4 1159-218        : 0000  L        1  0/19:34:27 -   0/19:35:20     1   39307      44125
 961 1159-218        : 0000  L        1  7/17:10:10 -   7/17:11:10     1 3139085    3143437
 
Source summary
Velocity type = 'TOPOCENT'    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)   IFlux   QFlux   UFlux   VFlux  No. vis
   4 1159-218        : 0000   L     11:59:51.9347 -21:48:51.690   0.000   0.000   0.000   0.000    9172
             IF( 2)                                               0.000   0.000   0.000   0.000
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          8.4351         0.0000          0.0000
     IF(  2)              8.4351         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband
   1   1       8.43510000   50000.0039  50000.0039      1
       2       8.48510000   50000.0039  50000.0039      1
AIPS 1: Resumes
>tget clcor
>gainver 3
>gainuse 4
>go
tAIPS 1: Resumes
>tget listr
>go
 sne       LISTR(31DEC03)   1941     17-DEC-2004  17:06:07    Page    1
File = AR555       .UVCOP .   1 Vol =18  Userid = 1941
Freq =  8.435100000 GHz   Ncor =  4   No. vis =   3397883
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
   4 1159-218        : 0000  L        1  0/19:34:27 -   0/19:35:20     1   39307      44125
 961 1159-218        : 0000  L        1  7/17:10:10 -   7/17:11:10     1 3139085    3143437
 
Source summary
Velocity type = 'TOPOCENT'    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)   IFlux   QFlux   UFlux   VFlux  No. vis
   4 1159-218        : 0000   L     11:59:51.9347 -21:48:50.690   0.000   0.000   0.000   0.000    9172
             IF( 2)                                               0.000   0.000   0.000   0.000
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          8.4351         0.0000          0.0000
     IF(  2)              8.4351         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband
   1   1       8.43510000   50000.0039  50000.0039      1
       2       8.48510000   50000.0039  50000.0039      1
AIPS 1: Resumes
>


More information about the Daip mailing list