[daip] offset calibrator

Geoffrey Bower gbower at astron.berkeley.edu
Fri Apr 2 19:01:09 EST 2004


Eric,

I am not having success with the method you suggested.  I will summarize
the inputs for each of the four steps --- possibly I am missing
somthing simple.  Any red flags?

Geoff


AIPS 2: CLCOR     Task which applies various corrections to CL tables.
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: INNAME     '20030803    '          Input UV file name (name)
AIPS 2: INCLASS    'CH 0  '                Input UV file name (class)
AIPS 2: INSEQ         1                    Input UV file name (seq. #)
AIPS 2: INDISK        5                    Input UV file disk unit #
AIPS 2: SOURCES    'SGRA            '      Source list ' '=>all.
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '
AIPS 2: STOKES     '    '                  Stokes type to process
AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 2: SELFREQ      -1                    Frequency to select (MHz)
AIPS 2: FREQID        1                    Freq. ID to select, 0=>all
AIPS 2: BIF           0                    Lowest IF number 0=>all
AIPS 2: EIF           0                    Highest IF number 0=>all
AIPS 2: TIMERANG   *all 0                  Time range to use.
AIPS 2: ANTENNAS   *all 0                  Antennas to correct.
AIPS 2: SUBARRAY      0                    Subarray;  0 => 1.
AIPS 2: GAINVER       1                    Input CL table 0=>high
AIPS 2: GAINUSE       2                    Output CL table: not =
AIPS 2:                                    GAINVER -> high+1
AIPS 2: OPCODE     'ANTP'                  Operation code.
AIPS 2: CLCORPRM      0           0        Parameters (see HELP CLCOR).
AIPS 2:               0           0         -26.557     -18.07
AIPS 2:            *rest 0
AIPS 2: BADDISK    *all 0                  Disks to aviod for scratch
AIPS 2: INFILE     *all ' '                Input file with the list of
AIPS 2:                                    antennas, times and relevant
AIPS 2:                                    atmosphere vertical delay.
AIPS 2:                                    Used only with OPCODE='ATMO'



AIPS 2: CALIB:  Task to determine calibration for data.
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2:                                    Input uv data.
AIPS 2: INNAME     '20030803    '             UV file name (name)
AIPS 2: INCLASS    'CH 0  '                   UV file name (class)
AIPS 2: INSEQ         1                       UV file name (seq. #)
AIPS 2: INDISK        5                       UV file disk drive #
AIPS 2:                                    Data selection (multisource):
AIPS 2: CALSOUR    'SGRA            '      Calibrator sources
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '
AIPS 2: QUAL         -1                    Calibrator qualifier -1=>all
AIPS 2: CALCODE    '    '                  Calibrator code '    '=>all
AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 2: SELFREQ      -1                    Frequency to select (MHz)
AIPS 2: FREQID        1                    Freq. ID to select.
AIPS 2: TIMERANG   *all 0                  Time range to use.
AIPS 2: BCHAN         0                    Lowest channel number 0=>all
AIPS 2: ECHAN         0                    Highest channel number
AIPS 2: ANTENNAS   *all 0                  Antennas to select. 0=all
AIPS 2: DOFIT      *all 0                  Subset of ANTENNAS list for
AIPS 2:                                    which solns are desired.  0
AIPS 2:                                    => all in ANTENNAS, < 0 all
AIPS 2:                                    but those in DOFIT
AIPS 2: ANTUSE     *all 0                  Mean gain is calculated
AIPS 2:                                    (CPARM(2)>0) using only the
AIPS 2:                                    listed antennas. See explain.
AIPS 2: SUBARRAY      0                    Subarray, 0=>all
AIPS 2: UVRANGE     100        100000      Range of uv distance for full
AIPS 2:                                    weight
AIPS 2: WTUV          0                    Weight outside UVRANGE 0=0.
AIPS 2:
AIPS 2:                                    Cal. info for input:
AIPS 2: DOCALIB       2                    If >0 calibrate data
AIPS 2:                                    = 2 calibrate weights
AIPS 2: GAINUSE       2                    CL table to apply.
AIPS 2: DOPOL        -1                    If >0 correct polarization.
AIPS 2: BLVER        -1                    BL table to apply.
AIPS 2: FLAGVER       0                    Flag table version
AIPS 2: DOBAND       -1                    If >0 apply bandpass cal.
AIPS 2:                                    Method used depends on value
AIPS 2:                                    of DOBAND (see HELP file).
AIPS 2: BPVER        -1                    Bandpass table version
AIPS 2: SMOOTH     *all 0                  Smoothing function. See
AIPS 2:                                    HELP SMOOTH for details.
AIPS 2:
AIPS 2:                                    CLEAN map. See HELP.
AIPS 2: IN2NAME    '            '             Cleaned map name (name)
AIPS 2: IN2CLASS   '      '                   Cleaned map name (class)
AIPS 2: IN2SEQ        0                       Cleaned map name (seq. #)
AIPS 2: IN2DISK       0                       Cleaned map disk unit #
AIPS 2: INVERS        0                    CC file version #.
AIPS 2: NCOMP      *all 0                  # comps to use for model.
AIPS 2:                                    1 value per field
AIPS 2: FLUX          0                    Lowest CC component used.
AIPS 2: NMAPS         0                    No. Clean map files
AIPS 2: CMETHOD    '    '                  Modeling method:
AIPS 2:                                    'DFT','GRID','    '
AIPS 2: CMODEL     '    '                  Model type: 'COMP','IMAG'
AIPS 2: SMODEL     *all 0                  Source model, 1=flux,2=x,3=y
AIPS 2:                                    See HELP SMODEL for models.
AIPS 2:
AIPS 2:                                    Output uv data file.
AIPS 2: OUTNAME    '            '             UV file name (name)
AIPS 2: OUTCLASS   '      '                   UV file name (class)
AIPS 2: OUTSEQ        0                       UV file name (seq. #)
AIPS 2: OUTDISK       5                       UV file disk drive #
AIPS 2:
AIPS 2:                                    Solution control adverbs:
AIPS 2: REFANT        0                    Reference antenna
AIPS 2: SOLINT        5                    Solution interval (min)
AIPS 2: APARM      *all 0                  General parameters
AIPS 2:                                       1=min. no. antennas
AIPS 2:                                       2 > 0 => data divided
AIPS 2:                                       3 > 0 => avg. RR,LL
AIPS 2:                                       5 > 0 => avg. IFs.
AIPS 2:                                       6=print level, 1=good,
AIPS 2:                                         2 closure, 3 SNR
AIPS 2:                                       7=SNR cutoff (0=>5)
AIPS 2:                                       8=max. ant. # (no AN)
AIPS 2:                                       9 > 0 => pass failed soln
AIPS 2:                                    Phase-amplitude Parameters:
AIPS 2: SOLTYPE    '    '                  Soln type,'  ','L1','GCON'
AIPS 2: SOLMODE    'A&P '                  Soln. mode: 'A&P','P','P!A',
AIPS 2:                                    'GCON'
AIPS 2: SOLCON        0                    Gain constraint factor.
AIPS 2: MINAMPER      0                    Amplitude closure error
AIPS 2:                                    regarded as excessive in %
AIPS 2: MINPHSER      0                    Phase closure error regarded
AIPS 2:                                    as excessive in degrees
AIPS 2: CPARM      *all 0                  Phase-amp. parameters
AIPS 2:                                       1 = Min el for gain
AIPS 2:                                            normalization (deg)
AIPS 2:                                       2 >0 => normalize gain
AIPS 2:                                       3 avg. amp. closure err
AIPS 2:                                       4 avg. ph. closure err
AIPS 2:                                       5 >0 => scalar average
AIPS 2:
AIPS 2: SNVER         0                    Output SN table, 0=>new table
AIPS 2: ANTWT      *all 0                  Ant. weights (0=>1.0)
AIPS 2: GAINERR    *all 0                  Std. Dev. of antenna gains.
AIPS 2: BADDISK    *all 0                  Disk no. not to use for
AIPS 2:                                       scratch files.


AIPS 2: CLCAL     Task to manage SN and CL calibration tables
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: INNAME     '20030803    '          Input UV file name (name)
AIPS 2: INCLASS    'CH 0  '                Input UV file name (class)
AIPS 2: INSEQ         1                    Input UV file name (seq. #)
AIPS 2: INDISK        5                    Input UV file disk unit #
AIPS 2: SOURCES    *all ' '                Source list to calibrate
AIPS 2: SOUCODE    '    '                  Source "Cal codes"
AIPS 2: CALSOUR    'SGRA            '      Cal sources for calibration
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '  'SGRA            '
AIPS 2:            'SGRA            '
AIPS 2: QUAL         -1                    Source qualifier -1=>all
AIPS 2: CALCODE    '    '                  Calibrator code '    '=>all
AIPS 2: TIMERANG   *all 0                  Time range to calibrate
AIPS 2: SUBARRAY      0                    Subarray, 0=>all,
AIPS 2: ANTENNAS   *all 0                  Antennas selected, 0=> all
AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 2: SELFREQ      -1                    Frequency to select (MHz)
AIPS 2: FREQID        0                    Freq. ID to select.
AIPS 2: OPCODE     'CALI'                  Operation 'MERG','CALI',
AIPS 2:                                    'CALP'; ' ' => 'CALI'
AIPS 2: INTERPOL   '2PT '                  Interpolation function,
AIPS 2:                                    choices are: '2PT','SIMP',
AIPS 2:                                    'AMBG','CUBE','SELF','POLY'
AIPS 2:                                    see HELP for more details.
AIPS 2: CUTOFF        0                    Interpolation limit in
AIPS 2:                                    time (min); 0=> no limit.
AIPS 2: SAMPTYPE   '    '                  Smoothing function
AIPS 2: BPARM      *all 0                  Smoothing parameters
AIPS 2: ICUT          0.1                  Cutoff for functional forms
AIPS 2: DOBLANK      -1                    Blanked value interpolation
AIPS 2: DOBTWEEN      0                    > 0 -> smooth all sources
AIPS 2:                                    together; else separate them
AIPS 2: SMOTYPE    '    '                  Data to smooth
AIPS 2: SNVER         2                    Input SN table, 0=>all.
AIPS 2: INVERS        0                    Upper SN table vers in a
AIPS 2:                                    range.  0=>SNVER
AIPS 2: GAINVER       2                    Input Cal table 0=>high
AIPS 2: GAINUSE       4                    Output CAL table 0=>high+1
AIPS 2: REFANT        0                    Reference antenna 0=>pick.
AIPS 2: BADDISK    *all 0                  Disks to avoid for scratch



AIPS 2: IMAGR: Wide field imaging/Clean task
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: INNAME     '20030803    '          Input UV data (name)
AIPS 2: INCLASS    'CH 0  '                Input UV data (class)
AIPS 2: INSEQ         1                    Input UV data (seq. #)
AIPS 2: INDISK        5                    Input UV data disk drive #
AIPS 2: SOURCES    '17456-29002     '      Source name
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '  '17456-29002     '
AIPS 2:            '17456-29002     '
AIPS 2: QUAL         -1                    Calibrator qualifier -1=>all
AIPS 2: CALCODE    '    '                  Calibrator code '    '=>all
AIPS 2: TIMERANG   *all 0                  Time range to use
AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 2: SELFREQ      -1                    Frequency to select (MHz)
AIPS 2: FREQID        1                    Freq. ID to select.
AIPS 2: SUBARRAY      0                    Sub-array, 0=>all
AIPS 2: DOCALIB       2                    If >0 calibrate data
AIPS 2:                                    = 2 calibrate weights
AIPS 2: GAINUSE       4                    CL (or SN) table to apply
AIPS 2: DOPOL        -1                    If >0.5 correct polarization.
AIPS 2: BLVER        -1                    BL table to apply.
AIPS 2: FLAGVER       0                    Flag table version
AIPS 2: DOBAND       -1                    If >0.5 apply bandpass cal.
AIPS 2:                                    Method used depends on value
AIPS 2:                                    of DOBAND (see HELP file).
AIPS 2: BPVER        -1                    Bandpass table version
AIPS 2: SMOOTH     *all 0                  Smoothing function. See
AIPS 2:                                    HELP SMOOTH for details.
AIPS 2: STOKES     '    '                  Stokes parameters (see HELP)
AIPS 2: BCHAN         0                    Low freq. channel 0 for cont.
AIPS 2: ECHAN         0                    Highest freq channel
AIPS 2: CHANNEL       0                    Restart channel number
AIPS 2: NCHAV        32                    Number of chan. to average.
AIPS 2: CHINC         1                    Channel incr. between maps.
AIPS 2: BIF           0                    First IF in average.
AIPS 2: EIF           0                    Last IF in average.
AIPS 2: OUTNAME    '            '          Output image name (name)
AIPS 2: OUTDISK       5                    Output image disk drive #
AIPS 2: OUTSEQ        0                    Output seq. no.
AIPS 2: OUTVER        0                    CC ver. no (Continuum only)
AIPS 2:                                    *** SET OUTVER ON RESTARTS
AIPS 2: IN2NAME    '            '          UV work file name
AIPS 2: IN2CLASS   '      '                UV work file class
AIPS 2: IN2SEQ        0                    UV work file seq
AIPS 2:                                    *** SET TO KEEP WORK FILE
AIPS 2: IN2DISK       0                    UV work file disk
AIPS 2: CELLSIZE     0.02        0.02      (X,Y) size of grid in asec
AIPS 2: IMSIZE     4096        4096        Minimum image size
AIPS 2: NFIELD        1                    Number of fields (max 4096)
AIPS 2: DO3DIMAG     -1                    > 0 => use different tangent
AIPS 2:                                    points for each field
AIPS 2: FLDSIZE    *all 0                  Clean size of each field.
AIPS 2: RASHIFT    *all 0                  RA shift per field (asec)
AIPS 2: DECSHIFT   *all 0                  DEC shift per field (asec)
AIPS 2: UVTAPER       0           0        (U,V) Gaussian taper
AIPS 2:                                      units are kilo-lambda
AIPS 2: UVRANGE       0           0        Min & max baseline (klambda)
AIPS 2: GUARD         0           0        x,y guard band fractional
AIPS 2:                                    radius
AIPS 2: ROTATE        0                    Rotate image CCW from N by
AIPS 2:                                    ROTATE degrees
AIPS 2: ZEROSP     *all 0                  0-spacing fluxes and weights
AIPS 2:                                    SEE HELP!!
AIPS 2: UVWTFN     '  '                    UV dist. weight function
AIPS 2:                                      blank => uniform
AIPS 2: UVSIZE        0           0        Array size for doing uniform
AIPS 2:                                    weights.  0 -> actual field
AIPS 2:                                    size.
AIPS 2: ROBUST        0                    Robustness power: -5 -> pure
AIPS 2:                                    uniform weights, 5 => natural
AIPS 2: UVBOX         0                    Additional rows and columns
AIPS 2:                                    used in weighting.
AIPS 2: UVBXFN        1                    Box function type when UVBOX
AIPS 2:                                    > 0.  0 -> 1 round pill box.
AIPS 2: XTYPE         5                    Conv. function type in x
AIPS 2:                                      default spheroidal
AIPS 2: YTYPE         5                    Conv. function type in y
AIPS 2:                                      default spheroidal
AIPS 2: XPARM      *all 0                  Conv. function parms for x
AIPS 2: YPARM      *all 0                  Conv. function parms for y
AIPS 2: NITER         0                    Maximum # of Clean components
AIPS 2: BCOMP      *all 0                  Begin at BCOMP component
AIPS 2:                                    Specify for each field.
AIPS 2: ALLOKAY       0                    For restart: > 0 => beams
AIPS 2:                                    okay, > 1 => work file too
AIPS 2: NBOXES        0                    Number of boxes for Clean
AIPS 2:                                    NB: field 1 only.
AIPS 2: CLBOX      *all 0                  Four coordinates for each box
AIPS 2: BOXFILE    *all ' '                Input file of field params
AIPS 2:                                    and Clean boxes; ' ' => use
AIPS 2:                                    FLDSIZE, RASHIFT, DECSHIFT,
AIPS 2:                                    NBOXES, CLBOX only.
AIPS 2: OBOXFILE   *all ' '                Output file for final Clean
AIPS 2:                                    boxes
AIPS 2: GAIN          0.1                  Clean loop gain
AIPS 2: FLUX          0                    Minimum Clean component (Jy)
AIPS 2: MINPATCH     51                    Min. BEAM half-width in AP.
AIPS 2: BMAJ          0                    FWHM(asec) major axis Clean
AIPS 2:                                    restoring beam.
AIPS 2: BMIN          0                    FWHM(asec) minor axis Clean
AIPS 2:                                    restoring beam.
AIPS 2: BPA           0                    Clean beam position angle
AIPS 2: OVERLAP       0                    1 => restore components to
AIPS 2:                                    overlapped fields, >=2=>
AIPS 2:                                    expect overlaps in Cleaning
AIPS 2: PHAT          0                    Prussian hat height.
AIPS 2: FACTOR        0                    Speedup factor see HELP
AIPS 2: CMETHOD    '    '                  Modeling method:
AIPS 2:                                    'DFT','GRID','    '
AIPS 2: IMAGRPRM   *all 0                  Task enrichment parameters
AIPS 2:                                    (1) Antenna diameter (m)
AIPS 2:                                    (2) Source Spectral index
AIPS 2:                                    (3) Frequency scaling factor
AIPS 2:                                    (4) > 0 -> SDI Clean factor
AIPS 2:                                    (5) >0 => scale residuals
AIPS 2:                                    (6) Half-width in x of box
AIPS 2:                                    (7) Half-width in y of box
AIPS 2:                                    (8) Filter components whose
AIPS 2:                                    neighborhood is weaker than
AIPS 2:                                    IMAGRPRM(8) Jy.  0 -> don't
AIPS 2:                                    (9) Radius in pixels for the
AIPS 2:                                    IMAGRPRM(8) test.
AIPS 2:                                    (10) multiplier of image size
AIPS 2:                                    to get beam size: 0 => 2;
AIPS 2:                                    2, 1, 0.5 0.25 supported
AIPS 2:                                    (11-16) Multi-resolution
AIPS 2:                                    added controls
AIPS 2:                                    (19) Dynamic range limit
AIPS 2:                                    (20) Retry factor (see help)
AIPS 2: NGAUSS        0                    Number of resolutions to use
AIPS 2: WGAUSS     *all 0                  Resolutions in arc sec >= 0
AIPS 2: FGAUSS     *all 0                  Minimum flux for each resol.
AIPS 2: MAXPIXEL      0                    Maximum pixels searched in
AIPS 2:                                    each major cycle.
AIPS 2: DOTV          0                    Display residuals on TV ?
AIPS 2:                                    Start with field = DOTV
AIPS 2: BADDISK    *all 0                  Disks to avoid for scratch.


-------------------------------------------------------------------------------
Geoffrey C. Bower 		gbower at astro.berkeley.edu 
601 Campbell Hall		Tel: +1 510 642 4075
Radio Astronomy Lab     	Fax: +1 510 642 3411
UC Berkeley             	Web: http://astro.berkeley.edu/~gbower
Berkeley CA 94720 USA
-------------------------------------------------------------------------------





More information about the Daip mailing list