casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions | Variables
alma_asdm+reimported-asdm_sf Namespace Reference

Functions

def checktable
def verify_asdm
def analyseASDM

Variables

string myname
 $Id:$ Test Name: # Regression Test Script for ASDM version 1 import to MS # and the "inverse filler" task exportasdm, and subsequent # data analysis.
string myasdm_dataset_name
string myms_dataset_name
string myasdm_dataset2_name
string mywvr_correction_file
tuple mydict
string msname
string asdmname
string reimp_msname
 part1
 beginning of actual test
tuple mscomponents
string name
list expected
 part2
 myvis
tuple rval
 Now import an ASDM and do a serious analysis.
tuple nrowsorig
tuple nrowsreimp
 part3
 dopart4
 part4
string outputvis
string datacolumn
string spw

Function Documentation

def alma_asdm+reimported-asdm_sf.analyseASDM (   basename,
  caltablename0,
  genwvr = True 
)

Definition at line 160 of file alma_asdm+reimported-asdm_sf.py.

References casa_in_py.default().

def alma_asdm+reimported-asdm_sf.checktable (   thename,
  theexpectation 
)

Definition at line 59 of file alma_asdm+reimported-asdm_sf.py.

References make_mmsdata.all.

def alma_asdm+reimported-asdm_sf.verify_asdm (   asdmname,
  withPointing 
)

Definition at line 96 of file alma_asdm+reimported-asdm_sf.py.


Variable Documentation

string alma_asdm+reimported-asdm_sf.asdmname

Definition at line 54 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.datacolumn

Definition at line 783 of file alma_asdm+reimported-asdm_sf.py.

alma_asdm+reimported-asdm_sf.dopart4

Definition at line 766 of file alma_asdm+reimported-asdm_sf.py.

list alma_asdm+reimported-asdm_sf.expected

Definition at line 527 of file alma_asdm+reimported-asdm_sf.py.

tuple alma_asdm+reimported-asdm_sf.mscomponents

Definition at line 469 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.msname

Definition at line 51 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.myasdm_dataset2_name

Definition at line 36 of file alma_asdm+reimported-asdm_sf.py.

list alma_asdm+reimported-asdm_sf.myasdm_dataset_name

Definition at line 34 of file alma_asdm+reimported-asdm_sf.py.

tuple alma_asdm+reimported-asdm_sf.mydict

Definition at line 40 of file alma_asdm+reimported-asdm_sf.py.

list alma_asdm+reimported-asdm_sf.myms_dataset_name

Definition at line 35 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.myname

$Id:$ Test Name: # Regression Test Script for ASDM version 1 import to MS # and the "inverse filler" task exportasdm, and subsequent # data analysis.

                                                    #
                                                                      # 

Rationale for Inclusion: # The conversion of ASDM to MS and back needs to be verified. #

Features tested: # 1) Is the import performed without raising exceptions? # 2) Do all expected tables exist? # 3) Can the MS be opened? # 4) Do the tables contain expected values? # 5) Is exportasdm performed without raising exceptions? # 6) Is the created ASDM well-formed (XML) and complete? # 7) Can the resulting ASDM be reimported without raising exceptions? # 8) Does it have the same number of integrations as the original? # 9) Does an imported ASDM pass a serious analysis? # 10) After exporting the MS generated in (9) to an ASDM, does the # re-imported MS pass the same analysis with the same results? #

Input data: # two datasets for the filler of ASDM 1 # one WVR correction cal table # one simulated MS dataset #

Definition at line 31 of file alma_asdm+reimported-asdm_sf.py.

alma_asdm+reimported-asdm_sf.myvis

Definition at line 698 of file alma_asdm+reimported-asdm_sf.py.

list alma_asdm+reimported-asdm_sf.mywvr_correction_file

Definition at line 37 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.name

Definition at line 525 of file alma_asdm+reimported-asdm_sf.py.

tuple alma_asdm+reimported-asdm_sf.nrowsorig

Definition at line 730 of file alma_asdm+reimported-asdm_sf.py.

tuple alma_asdm+reimported-asdm_sf.nrowsreimp

Definition at line 734 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.outputvis

Definition at line 782 of file alma_asdm+reimported-asdm_sf.py.

alma_asdm+reimported-asdm_sf.part1

beginning of actual test

Definition at line 457 of file alma_asdm+reimported-asdm_sf.py.

alma_asdm+reimported-asdm_sf.part2

Definition at line 696 of file alma_asdm+reimported-asdm_sf.py.

alma_asdm+reimported-asdm_sf.part3

Definition at line 751 of file alma_asdm+reimported-asdm_sf.py.

alma_asdm+reimported-asdm_sf.part4

Definition at line 768 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.reimp_msname

Definition at line 57 of file alma_asdm+reimported-asdm_sf.py.

tuple alma_asdm+reimported-asdm_sf.rval

Now import an ASDM and do a serious analysis.

repeat analysis on re-exported ASDM

Definition at line 705 of file alma_asdm+reimported-asdm_sf.py.

string alma_asdm+reimported-asdm_sf.spw

Definition at line 784 of file alma_asdm+reimported-asdm_sf.py.