Subject: Re: SMA antenna files in miriad format?
From: Peter Teuben <teuben@astro.umd.edu>
Date: 04/24/2013 02:44 PM
To: Jun-Hui Zhao <jzhao@cfa.harvard.edu>
CC: Tyler Bourke <tbourke@cfa.harvard.edu>, Qizhou Zhang <qzhang@cfa.harvard.edu>, "cqi@cfa.harvard.edu Qi" <cqi@cfa.harvard.edu>, smamiriad@cfa.harvard.edu

Although LISTOBS is formally carma specific, I must guess it's either
working for SMA data, or with a trivial change can be made to work
for it.

At the top of listobs you would see the following type of information.
The output of uvlist of the 'antpos' variable is fairly useless, as it's
in nsec and in the XYZ (equatorial) coordinate system, and we're
not used to think of it that way. Hence my conversion in listobs to
the ENU format.
You can also look at the python script in $MIRCAT/baselines/carma/xyz2enu.py
which hopefully does the same.

--------------------------------------------------------------------------------
         Antenna and Baseline Information
         --------------------------------
            Antenna Locations (in nsec)            Antenna Locations (in m)
                 X           Y           Z              E          
N           U
Antenna  1:    17.6993    142.0127      6.4643        42.574     
-1.672       5.396
Antenna  2:   -31.2067    115.8721     71.6032        34.738     
22.747       5.558
Antenna  4:   -73.5649   -150.8217    132.3831       -45.215     
44.937       6.491
Antenna  5:   184.5637   -113.5735   -217.0265       -34.048    
-85.284       4.616
Antenna  7:    36.8304   -140.0886    -18.7523       -41.998    
-11.161       5.380
Antenna  8:    13.9358     -0.1147     10.4475        -0.034     
-0.038       5.221
Antenna  9:    49.7516    -65.8389    -37.3738       -19.738    
-17.949       5.081
Antenna 10:   107.0618    -35.5327   -114.5522       -10.652    
-46.766       4.737
Antenna 11:    15.0533    -68.3174      9.4523       -20.481     
-0.479       5.307
Antenna 12:   103.2400   -146.6406   -108.1413       -43.962    
-44.543       4.990
Antenna 13:    28.5646    -39.5781     -9.0247       -11.865     
-7.340       5.175
Antenna 14:    47.3875     -8.2270    -34.3819        -2.466    
-16.806       5.060
Antenna 15:    78.6271     76.7574    -76.7263        23.011    
-32.580       4.823
--------------------------------------------------------------------------------


On 04/24/2013 02:37 PM, Jun-Hui Zhao wrote:
The SMA antenna file (ASCII) under a raw data set is converted to Miriad
format under the variable entry for each of the data sets. Using Miriad
task uvlist, one could look at it ,


Task:   uvlist
  vis      = n7538S.d1lsb.uv
  options  = var
  select   =
  line     =
  scale    =
  recnum   =
  log      =

Header variables at 05OCT02:06:12:26
antpos  :   14.809      -19.021      -1.6942       17.437      -59.768
antpos  :   0.0000      -55.256       191.13      -213.06      -63.324
antpos  :  -83.903      -66.969      -198.66       0.0000      -90.146
antpos  :   181.13      -72.839       52.072       4.2726      -49.513
antpos  :   100.30       0.0000       102.64      -479.43
dec     : 61:26:49.799   nants   :       8        nchan   :       1
ra      : 23:13:44.462
source  :N7538S
vsource :  0.00000

     SMA -Miriad distribution does not provide antenna files under
$MIR/cat,

     Jun-Hui



On Wed, 24 Apr 2013, Tyler L. Bourke wrote:

Hi,

Do we have antenna files for the SMA in miriad format, like those in the MIRIAD/cat directory for other arrays?

If so, where can I find them?

thanks
Tyler