Date: Mon, 23 Jan 2012 16:22:50 -0500 (EST)
From: Jun-Hui Zhao 
To: Glen Petitpas 
Subject: Re: SMA Miriad beta 1.4.1 for SMA data with ad hoc correlator modes



> I really like the new options=if1 thing for 'smauvplt'. It is very
> helpful.
> I may
> eventually ask for a similar option for smauvspec so we can check the
> bandpass
> for each IF separately also :P.
    Is  plotting  48 spectral windows too cloud?
    We could add IFs separation feature to smauvspec.
>
> So far I've encountered a couple of issues though:
>
> 1) looking at data file 120121_02:45:45, when using:
> smauvplt vis=120121_02:45:45_rxl.lsb.tsys axis=time,phase options='if1'
> device=1/xs
>
> I get the error "too many windows" for the IF1 on the LSB data. The USB
> data seems
> to work, and the IF2 seems to behave as expected for both sidebands.

       I will look into the data and then  figure out the problem.

>
> Except....
>
> 2) If when using "smauvplt" I combine 'options=if2' with
> 'select=source"(3c84)" '
> it does not recognize the 3c84 select, and still plots all sources.
   That could be a bug in the IF selection. We will fix it.

   Jun-Hui

>
> Here is the full process...
> smalod in=/sma/rtdata/science/mir_data/ 120121_02:45:45 \
>    out=120121_02:45:45_rxl.lsb rxif=-1 sideband=0 nscans=20 options=flagch0
> smalod in=/sma/rtdata/science/mir_data/ 120121_02:45:45 \
>    out=120121_02:45:45_rxl.usb rxif=-1 sideband=1 nscans=20 options=flagch0
>
> smacheck vis=120121_02:45:45_rxl.usb flagval=flag var=systemp \
>    range=0,1000 options=visflag log=junk.log
> (as suggested by you for flagging corrupt 0 channel chunk correlations)
> (repeat for USB)
>
> smafix vis=120121_02:45:45_rxl.usb out=120121_02:45:45_rxl.usb.tsys \
>     options=tsyscorr
> (repeat for USB)
>
> and then
>
> smauvplt vis=120121_02:45:45_rxl.lsb.tsys axis=time,phase options='if1'
> device=1/xs
> Gives error "###Fatal Error: Too many windows."
>
> but strangely, the USB file 120121_02:45:45_rxl.usb.tsys seems to plot fine.
>
> In no situation can I used the "options=if1" or "options=if2" combined
> with the
> "select=source(3c84)" option. It just ignores it and plots all sources.
> Drop the
> 'options=if1' and it will just plot 3c84 as expected, so I know I have
> the 'select'
> syntax correct.
>
> I have seen this effect in other files to different degrees but this one
> seems to be
> the most difficult. One of Tylers tracks from Dec 111215_03:20:23
> actually only
> gave the "fatal error: Too many windows" on Jupiter, but not the quasars).
>
> Any help or suggestions would be appreciated.
>
> Cheers
> Glen