Public Member Functions | |
def | setUp |
def | tearDown |
def | testMT |
def | testMF |
def | testDT |
def | testDF |
Public Attributes | |
storage | |
insitu | |
Static Public Attributes | |
list | inlist |
string | outname |
dictionary | ref2125 |
dictionary | merge_uc |
Private Member Functions | |
def | _get_unit_coord |
def | _get_uclist |
def | _comp_unit_coord |
Unit tests for task sdcoadd. Test scantable sotrage and insitu parameters The list of tests: testMT --- storage = 'memory', insitu = True testMF --- storage = 'memory', insitu = False testDT --- storage = 'disk', insitu = True testDF --- storage = 'disk', insitu = False Note on handlings of disk storage: Task script restores unit and frame information. scantable.convert_flux returns new table. Tested items: 1. Number of rows in (sub-)tables and list of IDs of output scantable. 2. Units and coordinates of output scantable. 3. units and coordinates of input scantables before/after run.
Definition at line 382 of file test_sdcoadd.py.
def tests.test_sdcoadd.sdcoadd_storageTest._comp_unit_coord | ( | self, | |
stlist, | |||
before | |||
) | [private] |
Definition at line 464 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_unittest_base._compareDictVal(), and tests.test_sdcoadd.sdcoadd_storageTest._get_uclist().
Referenced by tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdmath.sdmath_storageTest.testDF(), tests.test_sdplot.sdplot_storageTest.testDF(), tests.test_sdmath.sdmath_storageTest.testDF2(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdmath.sdmath_storageTest.testDT(), tests.test_sdplot.sdplot_storageTest.testDT(), tests.test_sdmath.sdmath_storageTest.testDT2(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), tests.test_sdmath.sdmath_storageTest.testMF(), tests.test_sdplot.sdplot_storageTest.testMF(), tests.test_sdmath.sdmath_storageTest.testMF2(), tests.test_sdcoadd.sdcoadd_storageTest.testMT(), tests.test_sdmath.sdmath_storageTest.testMT(), tests.test_sdplot.sdplot_storageTest.testMT(), and tests.test_sdmath.sdmath_storageTest.testMT2().
def tests.test_sdcoadd.sdcoadd_storageTest._get_uclist | ( | self, | |
stlist | |||
) | [private] |
Definition at line 454 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_storageTest._get_unit_coord().
Referenced by tests.test_sdcoadd.sdcoadd_storageTest._comp_unit_coord(), tests.test_sdmath.sdmath_storageTest._comp_unit_coord(), tests.test_sdplot.sdplot_storageTest._comp_unit_coord(), tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdmath.sdmath_storageTest.testDF(), tests.test_sdmath.sdmath_storageTest.testDF2(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), and tests.test_sdcoadd.sdcoadd_storageTest.testMT().
def tests.test_sdcoadd.sdcoadd_storageTest._get_unit_coord | ( | self, | |
scanname | |||
) | [private] |
Definition at line 437 of file test_sdcoadd.py.
References asap.scantable.is_scantable().
Referenced by tests.test_sdcoadd.sdcoadd_storageTest._get_uclist(), tests.test_sdmath.sdmath_storageTest._get_uclist(), tests.test_sdplot.sdplot_storageTest._get_uclist(), tests.test_sdplot.sdplot_storageTest.testDF(), tests.test_sdmath.sdmath_storageTest.testDT(), tests.test_sdplot.sdplot_storageTest.testDT(), tests.test_sdmath.sdmath_storageTest.testDT2(), tests.test_sdmath.sdmath_storageTest.testMF(), tests.test_sdplot.sdplot_storageTest.testMF(), tests.test_sdmath.sdmath_storageTest.testMF2(), tests.test_sdmath.sdmath_storageTest.testMT(), tests.test_sdplot.sdplot_storageTest.testMT(), and tests.test_sdmath.sdmath_storageTest.testMT2().
def tests.test_sdcoadd.sdcoadd_storageTest.setUp | ( | self | ) |
Definition at line 416 of file test_sdcoadd.py.
References tests.test_plotuv.plotuv_test.datapath, tests.test_sdcoadd.sdcoadd_unittest_base.datapath, tests.test_sdbaseline.sdbaseline_unittest_base.datapath, tests.test_msmoments.msmoments_unittest_base.datapath, tests.test_sdcal.sdcal_unittest_base.datapath, tests.test_imstat.imstat_test.datapath, tests.test_cleanhelper.cleanhelper_test.datapath, tests.test_imsmooth.imsmooth_test.datapath, tests.test_sdbaseline.sdbaseline_funcTest.datapath, tests.test_sdcoadd.sdcoadd_basicTest.inlist, tests.test_sdcoadd.sdcoadd_mergeTest.inlist, and tests.test_sdcoadd.sdcoadd_storageTest.inlist.
def tests.test_sdcoadd.sdcoadd_storageTest.tearDown | ( | self | ) |
def tests.test_sdcoadd.sdcoadd_storageTest.testDF | ( | self | ) |
Storage Test DF: sdcoadd on storage='disk' and insitu=F
Definition at line 576 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_storageTest._comp_unit_coord(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_storageTest._get_uclist(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, tests.test_sdcoadd.sdcoadd_mergeTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.merge_uc, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, tests.test_sdcoadd.sdcoadd_mergeTest.outname, tests.test_sdcoadd.sdcoadd_storageTest.outname, tests.test_sdcoadd.sdcoadd_basicTest.ref2125, and tests.test_sdcoadd.sdcoadd_storageTest.ref2125.
def tests.test_sdcoadd.sdcoadd_storageTest.testDT | ( | self | ) |
Storage Test DT: sdcoadd on storage='disk' and insitu=T
Definition at line 545 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_storageTest._comp_unit_coord(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_storageTest._get_uclist(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, tests.test_sdcoadd.sdcoadd_mergeTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.merge_uc, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, tests.test_sdcoadd.sdcoadd_mergeTest.outname, tests.test_sdcoadd.sdcoadd_storageTest.outname, tests.test_sdcoadd.sdcoadd_basicTest.ref2125, and tests.test_sdcoadd.sdcoadd_storageTest.ref2125.
def tests.test_sdcoadd.sdcoadd_storageTest.testMF | ( | self | ) |
Storage Test MF: sdcoadd on storage='memory' and insitu=F
Definition at line 514 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_storageTest._comp_unit_coord(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_storageTest._get_uclist(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, tests.test_sdcoadd.sdcoadd_mergeTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.merge_uc, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, tests.test_sdcoadd.sdcoadd_mergeTest.outname, tests.test_sdcoadd.sdcoadd_storageTest.outname, tests.test_sdcoadd.sdcoadd_basicTest.ref2125, and tests.test_sdcoadd.sdcoadd_storageTest.ref2125.
def tests.test_sdcoadd.sdcoadd_storageTest.testMT | ( | self | ) |
Storage Test MT: sdcoadd on storage='memory' and insitu=T
Definition at line 483 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_storageTest._comp_unit_coord(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_storageTest._get_uclist(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, tests.test_sdcoadd.sdcoadd_mergeTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.inlist, tests.test_sdcoadd.sdcoadd_storageTest.merge_uc, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, tests.test_sdcoadd.sdcoadd_mergeTest.outname, tests.test_sdcoadd.sdcoadd_storageTest.outname, tests.test_sdcoadd.sdcoadd_basicTest.ref2125, and tests.test_sdcoadd.sdcoadd_storageTest.ref2125.
list tests.test_sdcoadd.sdcoadd_storageTest.inlist [static] |
Definition at line 403 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_storageTest.setUp(), tests.test_sdcoadd.sdcoadd_storageTest.tearDown(), tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), and tests.test_sdcoadd.sdcoadd_storageTest.testMT().
Definition at line 424 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_storageTest.tearDown(), tests.test_sdstat.sdstat_storageTest.tearDown(), and tests.test_sdsave.sdsave_storageTest.tearDown().
dictionary tests.test_sdcoadd.sdcoadd_storageTest.merge_uc [static] |
Definition at line 413 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), and tests.test_sdcoadd.sdcoadd_storageTest.testMT().
string tests.test_sdcoadd.sdcoadd_storageTest.outname [static] |
Definition at line 404 of file test_sdcoadd.py.
Referenced by tests.test_sdsmooth.sdsmooth_badinputs.setUp(), tests.test_sdsave.sdsave_test7.test701(), tests.test_sdsave.sdsave_test7.test702(), tests.test_sdsave.sdsave_test7.test703(), tests.test_sdsave.sdsave_test7.test704(), tests.test_sdsave.sdsave_test7.test711(), tests.test_sdsave.sdsave_test7.test712(), tests.test_sdsave.sdsave_test7.test713(), tests.test_sdsave.sdsave_test7.test714(), tests.test_sdsave.sdsave_test7.test715(), tests.test_sdsave.sdsave_test7.test721(), tests.test_sdsave.sdsave_test7.test722(), tests.test_sdsave.sdsave_test7.test723(), tests.test_sdsave.sdsave_test7.test724(), tests.test_sdsave.sdsave_test7.test725(), tests.test_sdsave.sdsave_test7.test731(), tests.test_sdsave.sdsave_test7.test732(), tests.test_sdsave.sdsave_test7.test733(), tests.test_sdsmooth.sdsmooth_badinputs.testBad_chanwidth(), tests.test_sdsmooth.sdsmooth_badinputs.testBad_kernel(), tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdsave.sdsave_storageTest.testDF(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdsave.sdsave_storageTest.testDT(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), tests.test_sdsave.sdsave_storageTest.testMF(), tests.test_sdcoadd.sdcoadd_storageTest.testMT(), and tests.test_sdsave.sdsave_storageTest.testMT().
dictionary tests.test_sdcoadd.sdcoadd_storageTest.ref2125 [static] |
Definition at line 410 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), and tests.test_sdcoadd.sdcoadd_storageTest.testMT().
Definition at line 423 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_storageTest.tearDown(), tests.test_sdstat.sdstat_storageTest.tearDown(), and tests.test_sdsave.sdsave_storageTest.tearDown().