casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Static Public Attributes | Private Member Functions
tests.test_sdimaging.sdimaging_unittest_base Class Reference

Base class for sdimaging unit test. More...

Inheritance diagram for tests.test_sdimaging.sdimaging_unittest_base:
tests.test_sdimaging.sdimaging_test0 tests.test_sdimaging.sdimaging_test1 tests.test_sdimaging.sdimaging_test2 tests.test_sdimaging.sdimaging_test3

List of all members.

Static Public Attributes

string taskname
tuple datapath
string rawfile
string postfix
string phasecenter
list imsize
list cell
string gridfunction
dictionary statsinteg
list keys

Private Member Functions

def _checkfile
def _checkshape
def _checkstats

Detailed Description

Base class for sdimaging unit test.

Base class for sdimaging unit test

Test data is originally FLS3_all_newcal_SP and created
by the following script:

asap_init()
sd.rc('scantable',storage='disk')
s=sd.scantable('FLS3_all_newcal_SP',average=False,getpt=False)
s0=s.get_scan('FLS3a')
s0.save('FLS3a_HI.asap')
del s,s0
s=sd.scantable('FLS3a_HI.asap',average=False)
s.set_fluxunit('K')
scannos=s.getscannos()
res=sd.calfs(s,scannos)
del s
res.save('FLS3a_calfs','MS2')
tb.open('FLS3a_calfs')
tbsel=tb.query('SCAN_NUMBER<100')
tbc=tbsel.copy('sdimaging.ms',deep=True,valuecopy=True)
tbsel.close()
tb.close()
tbc.close()

Furthermore, SYSCAL and POINTING tables are downsized.

Definition at line 24 of file test_sdimaging.py.


Member Function Documentation

def tests.test_sdimaging.sdimaging_unittest_base._checkfile (   self,
  name 
) [private]
def tests.test_sdimaging.sdimaging_unittest_base._checkshape (   self,
  name,
  nx,
  ny,
  npol,
  nchan 
) [private]
def tests.test_sdimaging.sdimaging_unittest_base._checkstats (   self,
  name,
  ref 
) [private]

Member Data Documentation

Definition at line 56 of file test_sdimaging.py.

Referenced by tests.test_sdimaging.sdimaging_test0.test002().

Definition at line 55 of file test_sdimaging.py.

Referenced by tests.test_sdgrid.sdgrid_unittest_base.addrow(), tests.test_sdimaging.sdimaging_test0.setUp(), tests.test_sdimaging.sdimaging_test1.setUp(), tests.test_sdimaging.sdimaging_test2.setUp(), tests.test_sdimaging.sdimaging_test3.setUp(), tests.test_sdmath.sdmath_storageTest.setUp(), tests.test_sdimaging.sdimaging_test0.tearDown(), tests.test_sdscale.sdscale_test0.tearDown(), tests.test_sdmath.sdmath_test0.tearDown(), tests.test_sdimprocess.sdimprocess_test1.tearDown(), tests.test_sdscale.sdscale_test1.tearDown(), tests.test_sdimaging.sdimaging_test1.tearDown(), tests.test_sdscale.sdscale_test2.tearDown(), tests.test_sdmath.sdmath_test1.tearDown(), tests.test_sdscale.sdscale_test3.tearDown(), tests.test_sdimaging.sdimaging_test2.tearDown(), tests.test_sdscale.sdscale_test4.tearDown(), tests.test_sdmath.sdmath_test2.tearDown(), tests.test_sdimaging.sdimaging_test3.tearDown(), tests.test_sdmath.sdmath_storageTest.tearDown(), tests.test_sdimaging.sdimaging_test0.test001(), tests.test_sdscale.sdscale_test0.test001(), tests.test_sdimaging.sdimaging_test0.test002(), tests.test_sdscale.sdscale_test0.test002(), tests.test_sdmath.sdmath_test0.test002(), tests.test_sdimaging.sdimaging_test0.test003(), tests.test_sdscale.sdscale_test0.test003(), tests.test_sdmath.sdmath_test0.test003(), tests.test_sdimaging.sdimaging_test0.test004(), tests.test_sdmath.sdmath_test0.test004(), tests.test_sdimaging.sdimaging_test0.test005(), tests.test_sdimaging.sdimaging_test0.test006(), tests.test_sdmath.sdmath_test0.test006(), tests.test_sdimaging.sdimaging_test0.test007(), tests.test_sdmath.sdmath_test0.test007(), tests.test_sdimaging.sdimaging_test0.test008(), tests.test_sdmath.sdmath_test0.test008(), tests.test_sdimaging.sdimaging_test0.test009(), tests.test_sdimaging.sdimaging_test0.test010(), tests.test_sdimaging.sdimaging_test0.test011(), tests.test_sdimaging.sdimaging_test0.test012(), tests.test_sdimaging.sdimaging_test0.test013(), tests.test_sdimaging.sdimaging_test0.test014(), tests.test_sdimprocess.sdimprocess_test1.test100(), tests.test_sdscale.sdscale_test1.test100(), tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdmath.sdmath_test1.test100(), tests.test_sdimprocess.sdimprocess_test1.test101(), tests.test_sdscale.sdscale_test1.test101(), tests.test_sdimaging.sdimaging_test1.test101(), tests.test_sdmath.sdmath_test1.test101(), tests.test_sdscale.sdscale_test1.test102(), tests.test_sdmath.sdmath_test1.test102(), tests.test_sdscale.sdscale_test1.test103(), tests.test_sdmath.sdmath_test1.test103(), tests.test_sdscale.sdscale_test1.test104(), tests.test_sdmath.sdmath_test1.test104(), tests.test_sdscale.sdscale_test1.test105(), tests.test_sdmath.sdmath_test1.test105(), tests.test_sdscale.sdscale_test1.test106(), tests.test_sdmath.sdmath_test1.test106(), tests.test_sdscale.sdscale_test1.test107(), tests.test_sdmath.sdmath_test1.test107(), tests.test_sdmath.sdmath_test1.test108(), tests.test_sdmath.sdmath_test1.test109(), tests.test_sdmath.sdmath_test1.test110(), tests.test_sdmath.sdmath_test1.test111(), tests.test_sdmath.sdmath_test1.test112(), tests.test_sdmath.sdmath_test1.test113(), tests.test_sdmath.sdmath_test1.test114(), tests.test_sdmath.sdmath_test1.test115(), tests.test_sdscale.sdscale_test2.test200(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdmath.sdmath_test2.test200(), tests.test_sdscale.sdscale_test2.test201(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdmath.sdmath_test2.test201(), tests.test_sdscale.sdscale_test2.test202(), tests.test_sdmath.sdmath_test2.test202(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdscale.sdscale_test2.test203(), tests.test_sdmath.sdmath_test2.test203(), tests.test_sdscale.sdscale_test2.test204(), tests.test_sdscale.sdscale_test2.test205(), tests.test_sdscale.sdscale_test2.test206(), tests.test_sdscale.sdscale_test2.test207(), tests.test_sdscale.sdscale_test3.test300(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdscale.sdscale_test3.test301(), tests.test_sdimaging.sdimaging_test3.test301(), tests.test_sdscale.sdscale_test3.test302(), tests.test_sdimaging.sdimaging_test3.test302(), tests.test_sdscale.sdscale_test3.test303(), tests.test_sdscale.sdscale_test3.test304(), tests.test_sdscale.sdscale_test3.test305(), tests.test_sdscale.sdscale_test3.test306(), tests.test_sdscale.sdscale_test3.test307(), tests.test_sdscale.sdscale_test4.test400(), tests.test_sdscale.sdscale_test4.test401(), tests.test_sdscale.sdscale_test4.test402(), tests.test_sdscale.sdscale_test4.test403(), tests.test_sdscale.sdscale_test4.test404(), tests.test_sdscale.sdscale_test4.test405(), tests.test_sdscale.sdscale_test4.test406(), tests.test_sdscale.sdscale_test4.test407(), tests.test_sdmath.sdmath_storageTest.testDF(), tests.test_sdmath.sdmath_storageTest.testDF2(), tests.test_sdmath.sdmath_storageTest.testDT(), tests.test_sdmath.sdmath_storageTest.testDT2(), tests.test_sdmath.sdmath_storageTest.testMF(), tests.test_sdmath.sdmath_storageTest.testMF2(), tests.test_sdmath.sdmath_storageTest.testMT(), and tests.test_sdmath.sdmath_storageTest.testMT2().

Definition at line 53 of file test_sdimaging.py.


The documentation for this class was generated from the following file: