listobs2

Return to directory of Todd's CASA extensions

This is an ALMA qa2 function that produces a more readable listobs and plotants plot than the casapy versions. See also plotAntennas.

Usage:

es.listobs2(self, ms2='', makeplot=True, qa2_output_dir='', 
                        plotAntennasActualSize=False, xlim=None, ylim=None)
Inputs:
  • ms2 = visibility data set.
  • qa2_output_dir: the directory to write the text file and plot
  • makeplot: T = make antenna array plot, F = do not ...
  • plotAntennaActualSize: if True, the symbols will scale with antenna diameter. It will behave similar to plotants, but without the problems that plotants has:
    1. plotants fails on measurement sets that are read-only.
    2. The plotants title cannot be read if the path is very long
  • xlim, ylim: plotrange (in meters), used only if plotAntennasActualSize is True

Outputs:
  • text file: NewListObs.txt
  • plot file: antenna_config.png (and antenna_config_zoom.png if plotAntennasActualSize==True)

Examples:

CASA <7>: es.listobs2('/lustre/naasc/cbrogan/CSV/Mars_B6/uid___A002_X7e1b26_X198e.ms', plotAntennasActualSize=True)

output textfile:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

          SUMMARY INFORMATION FOR  uid___A002_X7e1b26_X198e.ms

   Experiment Duration:  2014/04/01/06:10:27 to
                         2014/04/01/06:45:23

   Processed from ms: /lustre/naasc/cbrogan/CSV/Mars_B6/uid___A002_X7e1b26_X198e.ms
   Written to file:   NewListobs.txt

                                   SCAN LISTING

  Scan FdId srcId FieldName         StartTime    StopTime     Int(s) Elev  ScanIntent
    1    0    0   J1256-0547        06:10:27.3 - 06:12:30.8   0.02   63.9  Cal Pointing
    2    0    0   J1256-0547        06:13:33.7 - 06:14:34.3   0.02   63.4  Cal Sideband
    3    0    0   J1256-0547        06:15:18.4 - 06:15:43.4   0.02   63.2  Cal atmos=Tsys
    4    0    0   J1256-0547        06:16:41.7 - 06:17:18.0   1.15   62.9  Cal atmos=Tsys
    5    0    0   J1256-0547        06:18:01.1 - 06:18:21.3   0.02   62.7
    6    1    1   Mars              06:19:27.3 - 06:19:52.2   0.02   67.3  Cal atmos=Tsys
    7    1    1   Mars              06:20:36.1 - 06:21:13.0   1.15   67.1  Cal atmos=Tsys
    8    1    1   Mars              06:22:13.5 - 06:40:51.5   1.15   65.3  Obs Target
    9    1    1   Mars              06:41:08.2 - 06:41:33.6   0.02   63.6  Cal atmos=Tsys
   10    1    1   Mars              06:41:51.6 - 06:42:26.6   0.02   63.4  Cal atmos=Tsys
   11    1    1   Mars              06:42:46.8 - 06:45:23.3   0.02   63.0  Obs Target


                               FIELD INFORMATION

 Fid  Srd  Field                       RA  (J2000)    DEC       Fld Time  #Scans
                                                                  (min)
   0    0  J1256-0547             12:56:11.16700 -05.47.21.5250   4.42      5
   1    1  Mars                   13:23:53.38516 -05.55.56.3456  23.28      6


                        FREQUENCY INFORMATION

spw  nchan      -----Frequencies (GHz)-------     --Channel Width--
               First         Last     Bandwidth     MHz     km/s     POLN

  0     4   184.550       189.550     7.500                       ['I']


                      ANTENNA INFORMATION

 ID  Name    Pad   Size     Longitude   Latitude      E-off   N-off  Elev
                    (m)                                 (m)     (m)   (m)
  0  DA64   A001   12.0  -67.45.16.90 -22.53.27.67     23.6     0.2   7.8
  1  PM01   T704   12.0  -67.45.16.24 -22.53.22.07     42.3   173.4   8.2
  2  PM03   T701   12.0  -67.45.18.77 -22.53.22.16    -29.7   170.8   8.2
  3  PM04   T703   12.0  -67.45.16.24 -22.53.23.87     42.3   117.9   7.8
-- ToddHunter - 2014-04-24
Topic revision: r1 - 2014-04-24, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback