<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>RE: APCAL </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Here also are the inputs:<BR>
AIPS 1: APCAL     Task to generate an amplitude calibration SN table<BR>
AIPS 1: Adverbs     Values                 Comments<BR>
AIPS 1: ----------------------------------------------------------------<BR>
AIPS 1: INNAME     'BP089B      '          Input UV file name (name)<BR>
AIPS 1: INCLASS    '22GHZ '                Input UV file name (class)<BR>
AIPS 1: INSEQ         1                    Input UV file name (seq. #)<BR>
AIPS 1: INDISK        3                    Input UV file disk unit #<BR>
AIPS 1:<BR>
AIPS 1: ANTENNAS   *all 0                  Antennas to calibrate<BR>
AIPS 1: SUBARRAY      0                    Subarray 0 -> 1<BR>
AIPS 1: STOKES     '    '                  Stokes type ('R','L',' ')<BR>
AIPS 1: BIF           0                    Start IF number<BR>
AIPS 1: EIF           0                    End IF number<BR>
AIPS 1: FREQID       -1                    Freq. ID to calibrate<BR>
AIPS 1: SOURCES    *all ' '                Sources to calibrate<BR>
AIPS 1: TIMERANG   *all 0                  Time range to calibrate<BR>
AIPS 1:<BR>
AIPS 1: TYVER         0                    TY table version number.<BR>
AIPS 1: GCVER         0                    GC table version number.<BR>
AIPS 1: SNVER         2                    Output SN table version.<BR>
AIPS 1:                                      0 -> highest unique<BR>
AIPS 1: OPCODE     'OPAC'                  Opacity correction opcode:<BR>
AIPS 1:                                    '    ' -> no opacity corr.<BR>
AIPS 1:                                    'LESQ','GRID','OPAC' -><BR>
AIPS 1:                                       opacity corr.<BR>
AIPS 1: APARM         0          80        Calibration parameters:<BR>
AIPS 1:            *rest 0                 (1) -> B factor (def. 1.0)<BR>
AIPS 1:                                    Opacity parameters:<BR>
AIPS 1:                                    (2) -> ZA limit (deg)<BR>
AIPS 1:                                    (3) >=0  use spillover<BR>
AIPS 1:                                             correction<BR>
AIPS 1:                                    (4) > 0  use all FQ in<BR>
AIPS 1:                                             opac. soln.<BR>
AIPS 1:                                    (5) Limit to sec(z) plotted<BR>
AIPS 1: SOLINT        0                    Solution interval (min)<BR>
AIPS 1:                                       0 -> use all data<BR>
AIPS 1: INVERS        0                    WX table version number.<BR>
AIPS 1:                                       0 -> use text file<BR>
AIPS 1: INFILE     'AIPSDIR:WEATHER.TXT    Text file with weather info.<BR>
AIPS 1:<BR>
AIPS 1:               '<BR>
AIPS 1:                                       Must be ' ' if using WX<BR>
AIPS 1:                                       table (INVERS).<BR>
AIPS 1: TRECVR     *all 0                    Receiver temperatures (K);<BR>
AIPS 1:                                       in (R,L) pairs.<BR>
AIPS 1: TAU0       *all 0                  Zenith opacities (per ant.)<BR>
AIPS 1: DOFIT         1           1        Fit type (per ant.)<BR>
AIPS 1:               1           1           0 -> apply TRECVR only<BR>
AIPS 1:               1           1           1 -> solve for Trec using<BR>
AIPS 1:               1           1                fitting method spec.<BR>
AIPS 1:               1           1                in OPCODE; then apply<BR>
AIPS 1:            *rest 0<BR>
AIPS 1: PRTLEV        0                    Print level<BR>
AIPS 1: DOTV          1                    TV selection (<0 -> PL file)<BR>
AIPS 1: LTYPE         3                    Plot labeling<BR>
AIPS 1: GRCHAN        0                    TV Graphics channel to use<BR>
<BR>
Glenn<BR>
<BR>
-----Original Message-----<BR>
From:   Amy Mioduszewski [<A HREF="mailto:amiodusz@aoc.nrao.edu">mailto:amiodusz@aoc.nrao.edu</A>]<BR>
Sent:   Sun 11/23/2003 3:36 PM<BR>
To:     Piner Glenn; daip@beset.aoc.nrao.edu<BR>
Cc:    <BR>
Subject:        Re: APCAL<BR>
Hi Glen,<BR>
<BR>
You should send bug reports to daip@nrao.edu, in case I am not<BR>
around.<BR>
<BR>
I cannot reproduce your first problem on the data I have.<BR>
Could you send me your inputs.  Eric fooled with the plotting<BR>
part of APCAL and your first problem looks like a bug with that.<BR>
<BR>
As for your second problem, I've tested it and it looks like<BR>
APCAL doesn't pay attention to individual DOFIT.  I will fix.<BR>
For an immediate work around, try running APCAL with opacity<BR>
correction, setting ANTENNAS to all antennas except Y1, then<BR>
run it again turning the opacity correction off and setting the<BR>
SNVER to the same one as was created in your first run and<BR>
setting ANTENNAS to Y1.  I'm not sure the writing into the<BR>
same SN table will work, but if it does not, you can write to<BR>
a separate SN table and then run  CLCAL twice using the same<BR>
GAINUSE with different SN tables.<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>