Date: Wed, 13 Oct 2010 15:49:22 -0400 (EDT)
From: Jun-Hui Zhao 
To: Dan Marrone ,
     melvyn wright 
Cc: smamiriad@cfa.harvard.edu, Peter Teuben 
Subject: Re: miriad beta trouble


Hi Dan & Mel,
    I have made a new beta version (beta version 1.1.2.)
(http://www.cfa.harvard.edu/sma/miriad/download/). The smalod
now includes the five variables:

> antaz  :d:  23
> antel  :d:  23
> chi    :r:  23
> lst    :d:  1
> freq    :d:  1
Chi2 is not included and we can do it in a later time when someone wants
to test Bob's programs. Please help us to test them.

Also, in this beta version, a new program SmaSplt has been added,
which splits SMA DB data into a subset for different purposes to match
users' requirement. This program includes the function of select=window(...) as
that in other miriad programs (uvaver, uvcal ...) but with simple usage.
Please also test this program and let me know if you want any other
options to be included.

        Jun-Hui
>>>>>>>>>>>>> inline doc for smasplt <<<<<<<<<<<<<<<
Task:    smasplt

Responsible: Jun-Hui Zhao

         SMASPLT special for SMA 4GHz mode data, splitting the uv dataset into
         either ch0 or 48 spectral chunks

Keyword: vis
         The name of the input uv data sets. The input data must be SMA 4GHz
         data with 49 spectral windows (ch0 + 48 spectral chunks). No default.

Keyword: out
         The name of the output uv data set. No default.

Keyword: options
         This gives extra processing options. Four options can be given:
            ch0         Means taking the first channel (ch0) data for
continuum,
                        equivalent to select=window(1).
                        Default is the 48 spectral chunk data.
            all         Means all the 48 spectral chunk data, equivalent
                        to select=window(2,3,...,49) or select=-window(1).
            if1         Means the first IF in the sideband--the first 24
spectral
                        chunk data, equivalent to select=window(2,3,...,25).
            if2         Means the second IF in the sideband--the rest 24
spectral
                        chunk data, equivalent to select=window(26,27,...,49).


On Wed, 13 Oct 2010, melvyn wright wrote:

> Hi Bob,
>
> Thanks for explanation. Handling  polarization switching on the SMA is
> a compelling
> argument for an additional uvvariable for the SMA.
>
> cheers,
>
> Mel.
>
> On 10/12/10, Dan Marrone  wrote:
> > Hi Bob, JH,
> >
> > It's true that I didn't have much success with the particular code that was
> > put together to handle the special SMA polarization situation. I didn't
> > recall that the code handled the pol-switching case better though, I'll
have
> > to re-look at that.
> >
> > The OVRO antennas do have only one rotation, by this convention. The
> > receivers tilt with the elevation, as you recalled.
> >
> > Dan
> >
> >
> > On Oct 12, 2010, at 6:24 PM, Bob Sault wrote:
> >
> >> Jun-Hui, Mel,
> >>
> >> For the SMA's nasmyth mount, the rotation of the feeds with respect to the
> >> sky
> >> happens in two stages. At both stages, polarimetric leakage can be
> >> introduced.
> >> Because these two rotation points change independently, in principle you
> >> need to
> >> account for them separately in the polarimetric calibration. There are two
> >>
> >> rotation angles.
> >>
> >>