NRAO Home > CASA > CASA Cookbook and User Reference Manual

8.3.2 Import

Data can be loaded into ASAP by using the scantable function which will read a variety of recognized formats (RPFITS, varieties of SDFITS, the CASA Measurement Set, and NRO data format). For example:

  CASA <1>: scans = sd.scantable(’OrionS_rawACSmod’, average=False)  
  Importing OrionS_rawACSmod...

Use the summary function to examine the data and get basic information:

CASA <8>: print scans.summary()  
--------------------------------------------------------------------------------  
 Scan Table Summary  
--------------------------------------------------------------------------------  
Project:       AGBT06A_018_01  
Obs Date:      2006/01/19/01:45:58  
Observer:      Joseph McMullin  
Antenna Name:  GBT@GREENBANK  
Data Records:  512 rows  
Obs. Type:     OffOn:PSWITCHOFF:TPWCAL  
Beams:         1  
IFs:           8  
Polarisations: 2   (circular)  
Channels:      8192  
Flux Unit:     K  
Abscissa:      Channel  
Selection:     none  
 
Scan Source         Time range                           Int[s] Record SrcType FreqIDs MolIDs  
       Beam  Position (J2000)  
--------------------------------------------------------------------------------  
  20 OrionS         2006/01/19/01:45:58.0 - 01:47:58.2   30.03     64  [PSOFF, PSOFF:CALON] [0, 1, 2, 3] [0]  
       0      05:15:13.5 -05.24.08.6  
  21 OrionS         2006/01/19/01:48:38.0 - 01:50:38.2   30.03     64  [PSON, PSON:CALON] [0, 1, 2, 3] [0]  
       0      05:35:13.4 -05.24.07.8  
  22 OrionS         2006/01/19/01:51:21.0 - 01:53:21.2   30.03     64  [PSOFF, PSOFF:CALON] [0, 1, 2, 3] [0]  
       0      05:15:13.6 -05.24.08.5  
  23 OrionS         2006/01/19/01:54:01.0 - 01:56:01.2   30.03     64  [PSON, PSON:CALON] [0, 1, 2, 3] [0]  
       0      05:35:13.4 -05.24.08.1  
  24 OrionS         2006/01/19/02:01:47.0 - 02:03:47.2   30.03     64  [PSOFF, PSOFF:CALON] [4, 5, 6, 7] [1]  
       0      05:15:13.5 -05.24.08.5  
  25 OrionS         2006/01/19/02:04:27.0 - 02:06:27.2   30.03     64  [PSON, PSON:CALON] [4, 5, 6, 7] [1]  
       0      05:35:13.4 -05.24.08.1  
  26 OrionS         2006/01/19/02:07:10.0 - 02:09:10.2   30.03     64  [PSOFF, PSOFF:CALON] [4, 5, 6, 7] [1]  
       0      05:15:13.5 -05.24.08.4  
  27 OrionS         2006/01/19/02:09:51.0 - 02:11:51.2   30.03     64  [PSON, PSON:CALON] [4, 5, 6, 7] [1]  
       0      05:35:13.3 -05.24.08.1  
--------------------------------------------------------------------------------  
FREQUENCIES: 4  
   ID  IFNO   Frame   RefVal          RefPix Increment      Channels POLNOs  
    0    0     LSRK   4.5489351e+10 4095.5       6104.233      8192  [0, 1]  
    1    1     LSRK   4.5300782e+10 4095.5       6104.233      8192  [0, 1]  
    2    2     LSRK   4.4074926e+10 4095.5       6104.233      8192  [0, 1]  
    3    3     LSRK   4.4166212e+10 4095.5       6104.233      8192  [0, 1]  
    4   12     LSRK   4.3962123e+10 4095.5      6104.2336      8192  [0, 1]  
    5   13     LSRK   4.2645417e+10 4095.5      6104.2336      8192  [0, 1]  
    6   14     LSRK   4.1594977e+10 4095.5      6104.2336      8192  [0, 1]  
    7   15     LSRK    4.342282e+10 4095.5      6104.2336      8192  [0, 1]  
--------------------------------------------------------------------------------  
MOLECULES:  
   ID   RestFreq          Name  
    0   [4.54903e+10] []  
    1   [4.3963e+10] []  
--------------------------------------------------------------------------------

   8.3.2.1 General descriptions
   8.3.2.2 Handling ALMA data


More information about CASA may be found at the CASA web page

Copyright © 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search