[daip] the pccor problem is at the header of your PC table
Leonia Kogan
lkogan at nrao.edu
Thu May 15 12:34:35 EDT 2008
Enno Middelberg wrote:
> Dear Leonia,
>
>
> thanks for looking at this. Although I have changed the NO_TONES
> parameter to 2 (using TBOUT and TBIN), the error remains the same. I
> have attached the first line of the modified PC table.
>
> Is it possible that some of the missing header information is causing
> the trouble? Or that the experiment was using a wide bandwidth (upper
> and lower sidebands were used) and that the layout of the PC table
> does not match the layout of the data?
I have tested PCCOR with my data which have both upper and lower
sidebands and it works.
Your PC table is still bad! The header of your PC table reports:
NO_BAND=8; NO_POL=2.
So the columns 9,10,11 and 14,15,16 have to include 16 rows
(NO_BAND*NTONES(=2))
but they include only 8 rows.
I think it is not the last problem with your PC table, because I see
(with debugger) zeros for the second tones (freq, re,im)
at each row of the table for any IF :( . There is obvious confusion at
the indexing of PCFRQ, PCREL, PCIMG
(POL, ITONE, JIF)
Leonia
>
>
> Best regards,
>
> Enno
>
>
>
>
>
>
> Leonia Kogan wrote:
>> Enno,
>>
>> I have found the problem:
>> Your PC table header has NO_TONES=1 (number of tones), although the
>> table itself include the data for two tones.
>>
>> The number of tones (NO_TONES) must be .GE. 2 !!!
>> Having read NO_TONES=1 from the header, PCCOR detects this error and
>> stop. :), doing the right job.
>>
>> Additionally your PC table header does not include the following
>> parameters which our correlator includes:
>> OBSCODE, NO_STKD, STK_1, NO_CHN, REF_FREQ, CHAN_BW, REF_PIXL
>> Although these parameters are not used by PCCOR they are usefully for
>> users.
>>
>> Leonia
>>
> ------------------------------------------------------------------------
>
>
redgum PRTAB(31DEC07) 2 15-MAY-2008 08:18:49 Page 1
> 3C454.3 .UVCOP . 2 Disk= 1 PC Table version 2
> Title: AIPS PC
>
> Created by TBIN on 15-MAY-2008 08:11:20
> Last written by TBIN on 15-MAY-2008 08:11:20
> Ncol 17 Nrow 20 Sort cols:
> Table has 4 keyword-value pairs:
> TABREV = 1
> NO_POL = 2
> NO_BAND = 8
> NO_TONES = 2
> Table format incompatable with FITS ASCII tables
>
> COL. NO. 1 2 3 4 5 6 7 8 9 10 11
> ROW TIME TIME_INTER SOURCE_ID ANTENNA_ ARRAY FREQID CABLE_CAL STATE 1 PC_FREQ 1 PC_REAL 1 PC_IMAG 1
> NUMBER D/HMS D/HMS SECONDS PERCENT HZ
>
> 1 11:24:19.0 00:02:06.0 1 6 1 1 6.824100E-10 0.000E+00 1.358000E+09 -2.753E-02 -1.045E-02
> 1 0.000E+00 1.359000E+09 1.348E-02 2.537E-02
> 1 0.000E+00 1.374000E+09 -8.883E-03 -2.843E-02
> 1 0.000E+00 1.375000E+09 3.583E-02 1.222E-02
> 1 0.000E+00 1.390000E+09 -2.505E-02 -1.438E-02
> 1 0.000E+00 1.391000E+09 1.713E-02 2.379E-02
> 1 0.000E+00 1.406000E+09 1.709E-02 -2.447E-02
> 1 0.000E+00 1.407000E+09 2.421E-02 -1.957E-02
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
>
redgum PRTAB(31DEC07) 2 15-MAY-2008 08:18:49 Page 2
> COL. NO. 12 13 14 15 16 17
> ROW PC_RATE 1 STATE 2 PC_FREQ 2 PC_REAL 2 PC_IMAG 2 PC_RATE 2
> NUMBER SEC/SEC PERCENT HZ SEC/SEC
>
> 1 0.000E+00 0.000E+00 1.358000E+09 1.236E-02 -2.816E-02 0.000E+00
> 1 0.000E+00 0.000E+00 1.359000E+09 2.596E-02 -1.699E-02 0.000E+00
> 1 0.000E+00 0.000E+00 1.374000E+09 7.150E-03 -2.795E-02 0.000E+00
> 1 0.000E+00 0.000E+00 1.375000E+09 2.468E-02 -2.048E-02 0.000E+00
> 1 0.000E+00 0.000E+00 1.390000E+09 1.875E-02 -2.192E-02 0.000E+00
> 1 0.000E+00 0.000E+00 1.391000E+09 2.011E-02 -2.014E-02 0.000E+00
> 1 0.000E+00 0.000E+00 1.406000E+09 -2.849E-02 8.203E-03 0.000E+00
> 1 0.000E+00 0.000E+00 1.407000E+09 -7.799E-03 2.917E-02 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
> 1 0.000E+00
>
More information about the Daip
mailing list