Public Member Functions | |
def | setUp |
def | tearDown |
def | test00 |
def | test01 |
def | test02 |
def | test03 |
def | test04 |
def | test05 |
def | test06 |
def | test07 |
Static Public Attributes | |
list | inlist |
string | outname |
dictionary | ref2125 |
dictionary | ref212523 |
Basic unit tests for task sdcoadd. No averaging and interactive testing. The list of tests: test00 --- default parameters (raises an error) test01 --- valid infiles (scantable) WITHOUT outfile test02 --- valid infiles (scantable) with outfile test03 --- outform='MS' test04 --- overwrite=False test05 --- overwrite=True test06 --- merge 3 scantables test07 --- specify only a scantables (raises an error)
Definition at line 121 of file test_sdcoadd.py.
def tests.test_sdcoadd.sdcoadd_basicTest.setUp | ( | self | ) |
Definition at line 155 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, casa_in_py.default(), and tests.test_sdcoadd.sdcoadd_basicTest.inlist.
def tests.test_sdcoadd.sdcoadd_basicTest.tearDown | ( | self | ) |
Definition at line 164 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_basicTest.inlist, task_sdgrid.sdgrid_worker.outname, and tests.test_sdcoadd.sdcoadd_basicTest.outname.
def tests.test_sdcoadd.sdcoadd_basicTest.test00 | ( | self | ) |
Test 0: Default parameters (raises an error)
Definition at line 169 of file test_sdcoadd.py.
def tests.test_sdcoadd.sdcoadd_basicTest.test01 | ( | self | ) |
Test 1: valid infiles (scantables) WITHOUT outfile
Definition at line 180 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, and tests.test_sdcoadd.sdcoadd_basicTest.ref2125.
def tests.test_sdcoadd.sdcoadd_basicTest.test02 | ( | self | ) |
Test 2: valid infiles (scantable) with outfile
Definition at line 193 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, and tests.test_sdcoadd.sdcoadd_basicTest.ref2125.
def tests.test_sdcoadd.sdcoadd_basicTest.test03 | ( | self | ) |
Test 3: outform='MS'
Definition at line 205 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_basicTest.inlist, and asap.scantable.is_ms().
def tests.test_sdcoadd.sdcoadd_basicTest.test04 | ( | self | ) |
Test 4: overwrite=False (raises an error)
Definition at line 216 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_basicTest.inlist, task_sdgrid.sdgrid_worker.outname, and tests.test_sdcoadd.sdcoadd_basicTest.outname.
def tests.test_sdcoadd.sdcoadd_basicTest.test05 | ( | self | ) |
Test 5: overwrite=True
Definition at line 235 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, and tests.test_sdcoadd.sdcoadd_basicTest.ref2125.
def tests.test_sdcoadd.sdcoadd_basicTest.test06 | ( | self | ) |
Test 6: Merge 3 scantables
Definition at line 252 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable(), tests.test_sdcoadd.sdcoadd_basicTest.inlist, task_sdgrid.sdgrid_worker.outname, tests.test_sdcoadd.sdcoadd_basicTest.outname, and tests.test_sdcoadd.sdcoadd_basicTest.ref212523.
def tests.test_sdcoadd.sdcoadd_basicTest.test07 | ( | self | ) |
Test 7: specify only a scantables (raises an error)
Definition at line 264 of file test_sdcoadd.py.
References tests.test_sdcoadd.sdcoadd_basicTest.inlist, task_sdgrid.sdgrid_worker.outname, and tests.test_sdcoadd.sdcoadd_basicTest.outname.
list tests.test_sdcoadd.sdcoadd_basicTest.inlist [static] |
Definition at line 136 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_mergeTest._copy_inputs(), tests.test_sdcoadd.sdcoadd_basicTest.setUp(), tests.test_sdcoadd.sdcoadd_storageTest.setUp(), tests.test_sdcoadd.sdcoadd_basicTest.tearDown(), tests.test_sdcoadd.sdcoadd_mergeTest.tearDown(), tests.test_sdcoadd.sdcoadd_storageTest.tearDown(), tests.test_sdcoadd.sdcoadd_basicTest.test01(), tests.test_sdcoadd.sdcoadd_basicTest.test02(), tests.test_sdcoadd.sdcoadd_basicTest.test03(), tests.test_sdcoadd.sdcoadd_basicTest.test04(), tests.test_sdcoadd.sdcoadd_basicTest.test05(), tests.test_sdcoadd.sdcoadd_basicTest.test06(), tests.test_sdcoadd.sdcoadd_basicTest.test07(), tests.test_sdcoadd.sdcoadd_storageTest.testDF(), tests.test_sdcoadd.sdcoadd_storageTest.testDT(), tests.test_sdcoadd.sdcoadd_mergeTest.testmerge02(), tests.test_sdcoadd.sdcoadd_mergeTest.testmerge03(), tests.test_sdcoadd.sdcoadd_storageTest.testMF(), and tests.test_sdcoadd.sdcoadd_storageTest.testMT().
string tests.test_sdcoadd.sdcoadd_basicTest.outname [static] |
Definition at line 137 of file test_sdcoadd.py.
Referenced by tests.test_sdsmooth.sdsmooth_badinputs.setUp(), tests.test_sdcoadd.sdcoadd_basicTest.tearDown(), tests.test_sdcoadd.sdcoadd_mergeTest.tearDown(), tests.test_sdcoadd.sdcoadd_basicTest.test02(), tests.test_sdcoadd.sdcoadd_basicTest.test04(), tests.test_sdcoadd.sdcoadd_basicTest.test05(), tests.test_sdcoadd.sdcoadd_basicTest.test06(), tests.test_sdcoadd.sdcoadd_basicTest.test07(), 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_mergeTest.testmerge02(), tests.test_sdcoadd.sdcoadd_mergeTest.testmerge03(), 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_basicTest.ref2125 [static] |
Definition at line 142 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_basicTest.test01(), tests.test_sdcoadd.sdcoadd_basicTest.test02(), tests.test_sdcoadd.sdcoadd_basicTest.test05(), 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().
dictionary tests.test_sdcoadd.sdcoadd_basicTest.ref212523 [static] |
Definition at line 151 of file test_sdcoadd.py.
Referenced by tests.test_sdcoadd.sdcoadd_basicTest.test06().