Base class for sdimaging unit test. More...
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 |
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.
def tests.test_sdimaging.sdimaging_unittest_base._checkfile | ( | self, | |
name | |||
) | [private] |
Definition at line 79 of file test_sdimaging.py.
Referenced by tests.test_sdsave.sdsave_test7._check_restfreq(), tests.test_sdmath.sdmath_unittest_base._checkresult(), tests.test_sdimaging.sdimaging_unittest_base._checkshape(), tests.test_sdimprocess.sdimprocess_unittest_base._checkstats(), tests.test_sdimaging.sdimaging_unittest_base._checkstats(), tests.test_sdtpimaging.sdtpimaging_unittest_base._compare(), tests.test_sdscale.sdscale_unittest_base._compare(), tests.test_sdmath.sdmath_unittest_base._compare(), tests.test_sdstat.sdstat_unittest_base._convert_masklist(), tests.test_sdsave.sdsave_unittest_base._get(), tests.test_sdsave.sdsave_storageTest._get_scantable_params(), and tests.test_sdsmooth.sdsmooth_unittest_base._getStats().
def tests.test_sdimaging.sdimaging_unittest_base._checkshape | ( | self, | |
name, | |||
nx, | |||
ny, | |||
npol, | |||
nchan | |||
) | [private] |
Definition at line 84 of file test_sdimaging.py.
References tests.test_sdbaseline.sdbaseline_unittest_base._checkfile(), tests.test_sdcal.sdcal_unittest_base._checkfile(), and tests.test_sdimaging.sdimaging_unittest_base._checkfile().
Referenced by tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdimaging.sdimaging_test1.test101(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdimaging.sdimaging_test3.test301(), and tests.test_sdimaging.sdimaging_test3.test302().
def tests.test_sdimaging.sdimaging_unittest_base._checkstats | ( | self, | |
name, | |||
ref | |||
) | [private] |
Definition at line 98 of file test_sdimaging.py.
References tests.test_sdbaseline.sdbaseline_unittest_base._checkfile(), tests.test_sdcal.sdcal_unittest_base._checkfile(), tests.test_sdimaging.sdimaging_unittest_base._checkfile(), and tests.test_sdimaging.sdimaging_unittest_base.keys.
Referenced by tests.test_sdimprocess.sdimprocess_test1.test100(), tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdimprocess.sdimprocess_test1.test101(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdimprocess.sdimprocess_test2.test2000(), tests.test_sdimprocess.sdimprocess_test2.test2001(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdimaging.sdimaging_test3.test301(), and tests.test_sdimaging.sdimaging_test3.test302().
list tests.test_sdimaging.sdimaging_unittest_base.cell [static] |
Definition at line 59 of file test_sdimaging.py.
Referenced by task_sdplot.sdplot_worker.__get_grid_parameters(), 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.test014(), tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdimaging.sdimaging_test1.test101(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdimaging.sdimaging_test3.test301(), tests.test_sdimaging.sdimaging_test3.test302(), tests.test_sdplot.sdplot_gridTest.testgrid02(), tests.test_sdplot.sdplot_gridTest.testgrid04(), tests.test_sdplot.sdplot_gridTest.testgrid06(), and tests.test_sdplot.sdplot_gridTest.testgrid08().
tuple tests.test_sdimaging.sdimaging_unittest_base.datapath [static] |
Definition at line 54 of file test_sdimaging.py.
Referenced by tests.test_simobserve.simobserve_unittest_base._copy_input(), tests.test_sdlist.sdlist_test.setUp(), tests.test_sdreduce.sdreduce_test.setUp(), tests.test_sdsmooth.sdsmooth_badinputs.setUp(), tests.test_sdimaging.sdimaging_test0.setUp(), tests.test_sdsmooth.sdsmooth_basicTest.setUp(), tests.test_sdplot.sdplot_errorTest.setUp(), tests.test_sdstat.sdstat_basicTest.setUp(), tests.test_sdimaging.sdimaging_test1.setUp(), tests.test_sdplot.sdplot_basicTest.setUp(), tests.test_sdstat.sdstat_restfreqTest.setUp(), tests.test_sdimaging.sdimaging_test2.setUp(), tests.test_sdsmooth.sdsmooth_storageTest.setUp(), tests.test_sdsave.sdsave_test7.setUp(), tests.test_sdimaging.sdimaging_test3.setUp(), tests.test_sdstat.sdstat_storageTest.setUp(), tests.test_sdmath.sdmath_storageTest.setUp(), tests.test_sdstat.sdstat_exceptions.setUp(), tests.test_simobserve.simobserve_badinputs.setUp(), tests.test_sdplot.sdplot_storageTest.setUp(), tests.test_sdsave.sdsave_storageTest.setUp(), tests.test_sdplot.sdplot_gridTest.setUp(), tests.test_sdplot.sdplot_selectTest.setUp(), tests.test_sdimprocess.sdimprocess_test0.test005(), tests.test_sdmath.sdmath_test0.test007(), tests.test_sdlist.sdlist_test.test01(), tests.test_sdlist.sdlist_test.test02(), tests.test_sdlist.sdlist_test.test03(), and tests.test_sdstat.sdstat_basicTest.test11().
string tests.test_sdimaging.sdimaging_unittest_base.gridfunction [static] |
Definition at line 60 of file test_sdimaging.py.
Referenced by task_sdtpimaging.sdtpimaging_worker.__execute_imaging(), task_sdgrid.sdgrid_worker.execute(), task_sdimaging.sdimaging_worker.execute(), tests.test_sdimaging.sdimaging_test0.test014(), tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdimaging.sdimaging_test1.test101(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdimaging.sdimaging_test3.test301(), and tests.test_sdimaging.sdimaging_test3.test302().
list tests.test_sdimaging.sdimaging_unittest_base.imsize [static] |
Definition at line 58 of file test_sdimaging.py.
Referenced by tests.test_sdimaging.sdimaging_test0.test009(), tests.test_sdimaging.sdimaging_test0.test010(), tests.test_sdimaging.sdimaging_test0.test011(), tests.test_sdimaging.sdimaging_test0.test013(), tests.test_sdimaging.sdimaging_test0.test014(), tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdimaging.sdimaging_test1.test101(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdimaging.sdimaging_test3.test301(), and tests.test_sdimaging.sdimaging_test3.test302().
list tests.test_sdimaging.sdimaging_unittest_base.keys [static] |
Definition at line 77 of file test_sdimaging.py.
Referenced by tests.test_sdimaging.sdimaging_unittest_base._checkstats().
string tests.test_sdimaging.sdimaging_unittest_base.phasecenter [static] |
Definition at line 57 of file test_sdimaging.py.
Referenced by task_sdtpimaging.sdtpimaging_worker.__execute_imaging(), 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_sdimaging.sdimaging_test1.test100(), tests.test_sdimaging.sdimaging_test1.test101(), tests.test_sdimaging.sdimaging_test2.test200(), tests.test_sdimaging.sdimaging_test2.test201(), tests.test_sdimaging.sdimaging_test2.test202(), tests.test_sdimaging.sdimaging_test3.test300(), tests.test_sdimaging.sdimaging_test3.test301(), and tests.test_sdimaging.sdimaging_test3.test302().
string tests.test_sdimaging.sdimaging_unittest_base.postfix [static] |
Definition at line 56 of file test_sdimaging.py.
Referenced by tests.test_sdimaging.sdimaging_test0.test002().
string tests.test_sdimaging.sdimaging_unittest_base.rawfile [static] |
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().
dictionary tests.test_sdimaging.sdimaging_unittest_base.statsinteg [static] |
Definition at line 61 of file test_sdimaging.py.
Referenced by tests.test_sdimaging.sdimaging_test1.test100(), tests.test_sdimaging.sdimaging_test2.test200(), and tests.test_sdimaging.sdimaging_test3.test300().
string tests.test_sdimaging.sdimaging_unittest_base.taskname [static] |
Definition at line 53 of file test_sdimaging.py.