[daip] GPHAS

Michael Bietenholz michael at polaris.phys.yorku.ca
Tue Aug 5 15:14:47 EDT 2003


Does anyone use GPHAS?  Does it work?

I tried the version of 31DEC03; (2003.02.17:05:00:09).  WHen I ran it, it
failed with the following messages:

GPHAS1 18:05:43 Task GPHAS  (release of 31DEC03) begins
GPHAS1 18:05:43 GUVIN: Selecting Subarray 1
GPHAS1 18:05:43 OBJECT NAMED Input IS NOT DEFINED
GPHAS1 18:05:43 GUVIN: error     1
GPHAS1 18:05:43 GPHAS: error     1

I looked around a bit, and semi-randomly changed line 445 of the code

 line # --------GPHAS.FOR-----------------------------------------------
   442        CALL IN2OBJ (POPS, NKEY4, IKEY4, OKEY4, UVIN, IRET)
   443        IF (IRET.NE.0) GO TO 990
   444  C                                       DOCALIB
   445        CALL OGET ('Input', 'DOCALIB', TYPE, DIM, XDOCAL, CDUM, IRET)
   446        IF (IRET.NE.0) GO TO 990
   447        LTEMP = XDOCAL.GT.0.0

To read "CALL OGET (POPS, 'DOCALIB',...", just based on the other OGET
lines nearby.  It actually ran after this modification.

However I have two questions:


a) Is this a sensible change to the code?

b) Not sure how to interpret the output file - all visibilities have
baseline REFANT-REFANT, identically 0 phases and weights, and
amplitudes ranging from aobut -300 to about +360.  Which doesn't make
a lot of sense but maybe that's just me.  I would have expected
baseline [special antenna]-REFANT, with +ive amplitudes and non-zero
phases.

            michael bietenholz, always causing trouble :-)


----- Inputs and header of input uv-file FWIW-----------------

AIPS 1: GPHAS:  Baseline dependent time averaging of "BT" order uv data
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: INNAME     'W056A1      '          Input UV name
AIPS 1: INCLASS    'MSORT '                Input UV class
AIPS 1: INSEQ         2                    Input UV seq #
AIPS 1: INDISK        1                    Input UV disk #
AIPS 1: IN2NAME    '            '          input Image name
AIPS 1: IN2CLASS   '      '                input image class
AIPS 1: IN2SEQ        0                    input image seq #
AIPS 1: IN2DISK       0                    input image disk #
AIPS 1: CMODEL     '    '                  'PT', 'CC'      ('CC')
AIPS 1: CMETHOD    '    '                  FT method, 'DFT','GRID',
AIPS 1:                                    '  '=> choose fastest
AIPS 1: SMODEL        0.1      *rest 0     Pt source flux model
AIPS 1:                                    (1) I-flux             (0)
AIPS 1:                                    (2) RA offset (asec)   (0)
AIPS 1:                                    (3) DEC offset (asec)  (0)
AIPS 1: INVERS        0                    CC table version to use (1)
AIPS 1: BCOMP      *all 0                  First CC comp  (0=>1)
AIPS 1: NCOMP      *all 0                  Last CC comp   (0=>highest)
AIPS 1:                                    <0 => stop at first neg comp
AIPS 1: FLUX          0                    Lowest CC comp to use
AIPS 1: NMAPS         1                    Number of fields
AIPS 1: OUTNAME    '            '          Output UV data name
AIPS 1: OUTCLASS   '      '                Output UV data class
AIPS 1: OUTSEQ        0                    Output UV seq. #
AIPS 1: OUTDISK       0                    Output UV disk #
AIPS 1: CALSOUR    'J0955+69        '      Sources to process  (' '=all)
AIPS 1:            *rest ' '
AIPS 1: QUAL         -1                    Source ID numbers
AIPS 1: CALCODE    '    '                  Calcodes to process
AIPS 1: STOKES     'LL  '                  Pols to process
AIPS 1: BCHAN         0                    First channel to
AIPS 1: ECHAN         0                    Last channel to
AIPS 1: BIF           0                    First IF to process
AIPS 1: EIF           0                    Last IF to process
AIPS 1: DOCALIB       2                    Apply calibration?
AIPS 1:                                    = 2 calibrate weights
AIPS 1: FREQID       -1                    Which FQ # to use?
AIPS 1: SELBAND      -1                    Bandwidth(kHz)
AIPS 1: SELFREQ      -1                    Frequency(MHz)
AIPS 1: DOBAND       -1                    Do bandpass correction
AIPS 1: SMOOTH     *all 0                  Spectral smoothing
AIPS 1: ANTENNAS   *all 0                  Antennas to process
AIPS 1: SUBARRAY      0                    Subarr to process
AIPS 1: FLAGVER       3                    FG table  (0=highest,<0=none)
AIPS 1: GAINUSE       8                    CL(SN) table (0=high,<0=none)
AIPS 1: BPVER        -1                    BP table            (<0=none)
AIPS 1: REFANT        4                    Reference antenna
AIPS 1:                                    =0 => set APARM(2)=2
AIPS 1: SOLINT        0                    Avging time(sec)
AIPS 1:                                    = 0.0 =>do not time average
AIPS 1: APARM        13        *rest 0     Task Enrichment Parameters
AIPS 1:                                    (1) specify special antenna
AIPS 1:                                    (2) choose ref antenna number
AIPS 1:                                       for equivalent baseline
AIPS 1:                                      = 0 => use specified REFANT
AIPS 1:                                      = 1 => create new fictitous
AIPS 1:                                            REFANT
AIPS 1:                                      = 2 => use most frequently
AIPS 1:                                            occuring REFANT in
AIPS 1:                                            CL table
AIPS 1:                                    (3) >0 means visibilities to
AIPS 1:                                    normalized BEFORE being added
AIPS 1: BADDISK    *all 0                  avoid disk #'s (default none)

AIPS 1: Image=MULTI     (UV)         Filename=W056A1      .MSORT .   2
AIPS 1: Telescope=VLBA               Receiver=VLBA
AIPS 1: Observer=W056                User #= 1477
AIPS 1: Observ. date=28-MAR-1999     Map date=27-JUL-2003
AIPS 1: # visibilities    740782     Sort order  TB
AIPS 1: Rand axes: UU-L-SIN  VV-L-SIN  WW-L-SIN  TIME1  BASELINE
AIPS 1:            SOURCE  FREQSEL  INTTIM  GATEID  CORR-ID
AIPS 1: ----------------------------------------------------------------
AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat
AIPS 1: COMPLEX      3   1.0000000E+00       1.00  1.0000000E+00    0.00
AIPS 1: STOKES       1  -2.0000000E+00       1.00 -1.0000000E+00    0.00
AIPS 1: FREQ       128   1.6340000E+09       1.00  1.2500000E+05    0.00
AIPS 1: IF           2   1.0000000E+00       1.00  1.0000000E+00    0.00
AIPS 1: RA           1    00 00 00.000       1.00       0.000000    0.00
AIPS 1: DEC          1    00 00 00.000       1.00       0.000000    0.00
AIPS 1: ----------------------------------------------------------------
AIPS 1: Coordinate equinox 2000.00
AIPS 1: Maximum version number of extension files of type HI is   1
AIPS 1: Maximum version number of extension files of type AT is   1
AIPS 1: Maximum version number of extension files of type IM is   1
AIPS 1: Maximum version number of extension files of type CT is   1
AIPS 1: Maximum version number of extension files of type MC is   1
AIPS 1: Maximum version number of extension files of type OB is   1
AIPS 1: Maximum version number of extension files of type GC is   3
AIPS 1: Maximum version number of extension files of type TY is   3
AIPS 1: Maximum version number of extension files of type WX is   1
AIPS 1: Maximum version number of extension files of type PC is   2
AIPS 1: Maximum version number of extension files of type FQ is   1
AIPS 1: Maximum version number of extension files of type AN is   1
AIPS 1: Maximum version number of extension files of type SU is   1
AIPS 1: Maximum version number of extension files of type CQ is   1
AIPS 1: Maximum version number of extension files of type FG is   3
AIPS 1: Maximum version number of extension files of type CL is   8
AIPS 1: Maximum version number of extension files of type NX is   1
AIPS 1: Maximum version number of extension files of type SN is  13
AIPS 1: Maximum version number of extension files of type BS is   1



More information about the Daip mailing list