Public Member Functions | |
def | setUp |
def | tearDown |
def | test00 |
def | test01 |
def | test02 |
def | test03 |
def | test04 |
Static Public Attributes | |
tuple | datapath |
string | infile1 |
string | infile2 |
list | infiles |
string | outroot |
string | refroot |
Private Member Functions | |
def | _compareOutFile |
Unit test for task sdlist. The list of tests: test00 --- default parameters (raises an error) test01 --- valid input filename and save output as a text file test02 --- test scanaverage=True test03 --- test overwrite=True
Definition at line 13 of file test_sdlist.py.
def tests.test_sdlist.sdlist_test._compareOutFile | ( | self, | |
out, | |||
reference | |||
) | [private] |
Definition at line 46 of file test_sdlist.py.
References listing.compare().
Referenced by tests.test_sdlist.sdlist_test.test01(), tests.test_sdlist.sdlist_test.test02(), and tests.test_sdlist.sdlist_test.test03().
def tests.test_sdlist.sdlist_test.setUp | ( | self | ) |
Definition at line 32 of file test_sdlist.py.
References tests.test_plotuv.plotuv_test.datapath, tests.test_sdcoadd.sdcoadd_unittest_base.datapath, tests.test_sdbaseline.sdbaseline_unittest_base.datapath, tests.test_sdlist.sdlist_test.datapath, tests.test_sdflagmanager.sdflagmanager_test.datapath, tests.test_sdgrid.sdgrid_unittest_base.datapath, tests.test_msmoments.msmoments_unittest_base.datapath, tests.test_sdimprocess.sdimprocess_unittest_base.datapath, tests.test_sdflag.sdflag_test.datapath, tests.test_sdcal.sdcal_unittest_base.datapath, tests.test_imstat.imstat_test.datapath, tests.test_sdfit.sdfit_test.datapath, tests.test_cleanhelper.cleanhelper_test.datapath, tests.test_sdimaging.sdimaging_unittest_base.datapath, tests.test_imsmooth.imsmooth_test.datapath, tests.test_sdcoadd.sdcoadd_mergeTest.datapath, tests.test_sdfit.sdfit_test_exceptions.datapath, tests.test_sdbaseline.sdbaseline_funcTest.datapath, casa_in_py.default(), tests.test_sdlist.sdlist_test.infiles, and task_sdimprocess.sdimprocess_worker.infiles.
def tests.test_sdlist.sdlist_test.tearDown | ( | self | ) |
Definition at line 41 of file test_sdlist.py.
References tests.test_sdlist.sdlist_test.infiles, and task_sdimprocess.sdimprocess_worker.infiles.
def tests.test_sdlist.sdlist_test.test00 | ( | self | ) |
Test 0: Default parameters
Definition at line 55 of file test_sdlist.py.
def tests.test_sdlist.sdlist_test.test01 | ( | self | ) |
Test 1: Save output to an ascii file
Definition at line 60 of file test_sdlist.py.
References tests.test_sdlist.sdlist_test._compareOutFile(), tests.test_plotuv.plotuv_test.datapath, tests.test_sdcoadd.sdcoadd_unittest_base.datapath, tests.test_sdbaseline.sdbaseline_unittest_base.datapath, tests.test_sdlist.sdlist_test.datapath, tests.test_sdflagmanager.sdflagmanager_test.datapath, tests.test_sdgrid.sdgrid_unittest_base.datapath, tests.test_msmoments.msmoments_unittest_base.datapath, tests.test_sdimprocess.sdimprocess_unittest_base.datapath, tests.test_sdflag.sdflag_test.datapath, tests.test_sdcal.sdcal_unittest_base.datapath, tests.test_imstat.imstat_test.datapath, tests.test_sdfit.sdfit_test.datapath, tests.test_cleanhelper.cleanhelper_test.datapath, tests.test_sdimaging.sdimaging_unittest_base.datapath, tests.test_imsmooth.imsmooth_test.datapath, tests.test_sdcoadd.sdcoadd_mergeTest.datapath, tests.test_sdfit.sdfit_test_exceptions.datapath, tests.test_sdbaseline.sdbaseline_funcTest.datapath, tests.test_sdlist.sdlist_test.infile1, tests.test_makemask.test_merge.infile1, tests.test_sdlist.sdlist_test.outroot, tests.test_sdbaseline.sdbaseline_basicTest.outroot, tests.test_sdbaseline.sdbaseline_maskTest.outroot, tests.test_sdbaseline.sdbaseline_funcTest.outroot, tests.test_sdbaseline.sdbaseline_multi_IF_test.outroot, tests.test_sdbaseline.sdbaseline_storageTest.outroot, and tests.test_sdlist.sdlist_test.refroot.
def tests.test_sdlist.sdlist_test.test02 | ( | self | ) |
Test 2: Test scanaverage=True
Definition at line 70 of file test_sdlist.py.
References tests.test_sdlist.sdlist_test._compareOutFile(), tests.test_plotuv.plotuv_test.datapath, tests.test_sdcoadd.sdcoadd_unittest_base.datapath, tests.test_sdbaseline.sdbaseline_unittest_base.datapath, tests.test_sdlist.sdlist_test.datapath, tests.test_sdflagmanager.sdflagmanager_test.datapath, tests.test_sdgrid.sdgrid_unittest_base.datapath, tests.test_msmoments.msmoments_unittest_base.datapath, tests.test_sdimprocess.sdimprocess_unittest_base.datapath, tests.test_sdflag.sdflag_test.datapath, tests.test_sdcal.sdcal_unittest_base.datapath, tests.test_imstat.imstat_test.datapath, tests.test_sdfit.sdfit_test.datapath, tests.test_cleanhelper.cleanhelper_test.datapath, tests.test_sdimaging.sdimaging_unittest_base.datapath, tests.test_imsmooth.imsmooth_test.datapath, tests.test_sdcoadd.sdcoadd_mergeTest.datapath, tests.test_sdfit.sdfit_test_exceptions.datapath, tests.test_sdbaseline.sdbaseline_funcTest.datapath, tests.test_sdlist.sdlist_test.infile1, tests.test_makemask.test_merge.infile1, tests.test_sdlist.sdlist_test.outroot, tests.test_sdbaseline.sdbaseline_basicTest.outroot, tests.test_sdbaseline.sdbaseline_maskTest.outroot, tests.test_sdbaseline.sdbaseline_funcTest.outroot, tests.test_sdbaseline.sdbaseline_multi_IF_test.outroot, tests.test_sdbaseline.sdbaseline_storageTest.outroot, and tests.test_sdlist.sdlist_test.refroot.
def tests.test_sdlist.sdlist_test.test03 | ( | self | ) |
Test 3: Test overwrite=True
Definition at line 80 of file test_sdlist.py.
References tests.test_sdlist.sdlist_test._compareOutFile(), tests.test_plotuv.plotuv_test.datapath, tests.test_sdcoadd.sdcoadd_unittest_base.datapath, tests.test_sdbaseline.sdbaseline_unittest_base.datapath, tests.test_sdlist.sdlist_test.datapath, tests.test_sdflagmanager.sdflagmanager_test.datapath, tests.test_sdgrid.sdgrid_unittest_base.datapath, tests.test_msmoments.msmoments_unittest_base.datapath, tests.test_sdflag.sdflag_test.datapath, tests.test_sdimprocess.sdimprocess_unittest_base.datapath, tests.test_sdcal.sdcal_unittest_base.datapath, tests.test_imstat.imstat_test.datapath, tests.test_sdfit.sdfit_test.datapath, tests.test_cleanhelper.cleanhelper_test.datapath, tests.test_sdimaging.sdimaging_unittest_base.datapath, tests.test_imsmooth.imsmooth_test.datapath, tests.test_sdcoadd.sdcoadd_mergeTest.datapath, tests.test_sdfit.sdfit_test_exceptions.datapath, tests.test_sdbaseline.sdbaseline_funcTest.datapath, tests.test_sdlist.sdlist_test.infile1, tests.test_makemask.test_merge.infile1, tests.test_sdlist.sdlist_test.infile2, tests.test_sdlist.sdlist_test.outroot, tests.test_sdbaseline.sdbaseline_basicTest.outroot, tests.test_sdbaseline.sdbaseline_maskTest.outroot, tests.test_sdbaseline.sdbaseline_funcTest.outroot, tests.test_sdbaseline.sdbaseline_multi_IF_test.outroot, tests.test_sdbaseline.sdbaseline_storageTest.outroot, and tests.test_sdlist.sdlist_test.refroot.
def tests.test_sdlist.sdlist_test.test04 | ( | self | ) |
Test 4: Test overwrite=False
Definition at line 98 of file test_sdlist.py.
References tests.test_sdlist.sdlist_test.infile1, tests.test_makemask.test_merge.infile1, tests.test_sdlist.sdlist_test.infile2, tests.test_sdlist.sdlist_test.outroot, tests.test_sdbaseline.sdbaseline_basicTest.outroot, tests.test_sdbaseline.sdbaseline_maskTest.outroot, tests.test_sdbaseline.sdbaseline_funcTest.outroot, tests.test_sdbaseline.sdbaseline_multi_IF_test.outroot, and tests.test_sdbaseline.sdbaseline_storageTest.outroot.
tuple tests.test_sdlist.sdlist_test.datapath [static] |
Definition at line 24 of file test_sdlist.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_sdsmooth.sdsmooth_basicTest.setUp(), tests.test_sdplot.sdplot_errorTest.setUp(), tests.test_sdstat.sdstat_basicTest.setUp(), tests.test_sdplot.sdplot_basicTest.setUp(), tests.test_sdstat.sdstat_restfreqTest.setUp(), tests.test_sdsmooth.sdsmooth_storageTest.setUp(), tests.test_sdsave.sdsave_test7.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_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_sdlist.sdlist_test.infile1 [static] |
Definition at line 26 of file test_sdlist.py.
Referenced by tests.test_sdlist.sdlist_test.test01(), tests.test_sdlist.sdlist_test.test02(), tests.test_sdlist.sdlist_test.test03(), tests.test_sdlist.sdlist_test.test04(), tests.test_sdreduce.sdreduce_test.test05(), tests.test_sdreduce.sdreduce_test.test06(), tests.test_sdreduce.sdreduce_test.test07(), and tests.test_sdreduce.sdreduce_test.test08().
string tests.test_sdlist.sdlist_test.infile2 [static] |
Definition at line 27 of file test_sdlist.py.
Referenced by tests.test_sdlist.sdlist_test.test03(), and tests.test_sdlist.sdlist_test.test04().
list tests.test_sdlist.sdlist_test.infiles [static] |
Definition at line 28 of file test_sdlist.py.
Referenced by sdutil.sdtask_template.initialize(), task_sdcoadd.sdcoadd_worker.merge(), tests.test_sdlist.sdlist_test.setUp(), tests.test_sdreduce.sdreduce_test.setUp(), tests.test_sdlist.sdlist_test.tearDown(), and tests.test_sdreduce.sdreduce_test.tearDown().
string tests.test_sdlist.sdlist_test.outroot [static] |
Definition at line 29 of file test_sdlist.py.
Referenced by tests.test_sdlist.sdlist_test.test01(), tests.test_sdsmooth.sdsmooth_basicTest.test01(), tests.test_sdstat.sdstat_basicTest.test01(), tests.test_sdlist.sdlist_test.test02(), tests.test_sdreduce.sdreduce_test.test02(), tests.test_sdsmooth.sdsmooth_basicTest.test02(), tests.test_sdstat.sdstat_basicTest.test02(), tests.test_sdlist.sdlist_test.test03(), tests.test_sdreduce.sdreduce_test.test03(), tests.test_sdsmooth.sdsmooth_basicTest.test03(), tests.test_sdstat.sdstat_basicTest.test03(), tests.test_sdlist.sdlist_test.test04(), tests.test_sdreduce.sdreduce_test.test04(), tests.test_sdsmooth.sdsmooth_basicTest.test04(), tests.test_sdstat.sdstat_basicTest.test04(), tests.test_sdreduce.sdreduce_test.test05(), tests.test_sdsmooth.sdsmooth_basicTest.test05(), tests.test_sdstat.sdstat_basicTest.test05(), tests.test_sdreduce.sdreduce_test.test06(), tests.test_sdsmooth.sdsmooth_basicTest.test06(), tests.test_sdstat.sdstat_basicTest.test06(), tests.test_sdreduce.sdreduce_test.test07(), tests.test_sdsmooth.sdsmooth_basicTest.test07(), tests.test_sdstat.sdstat_basicTest.test07(), tests.test_sdreduce.sdreduce_test.test08(), tests.test_sdsmooth.sdsmooth_basicTest.test08(), tests.test_sdstat.sdstat_basicTest.test08(), tests.test_sdreduce.sdreduce_test.test09(), tests.test_sdsmooth.sdsmooth_basicTest.test09(), tests.test_sdstat.sdstat_basicTest.test09(), tests.test_sdreduce.sdreduce_test.test10(), tests.test_sdstat.sdstat_basicTest.test10(), tests.test_sdsmooth.sdsmooth_basicTest.test10(), tests.test_sdstat.sdstat_basicTest.test11(), tests.test_sdsmooth.sdsmooth_basicTest.test11(), tests.test_sdsmooth.sdsmooth_basicTest.test12(), tests.test_sdstat.sdstat_storageTest.testDF(), tests.test_sdsmooth.sdsmooth_storageTest.testDFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDFsm(), tests.test_sdstat.sdstat_storageTest.testDT(), tests.test_sdsmooth.sdsmooth_storageTest.testDTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDTsm(), tests.test_sdstat.sdstat_storageTest.testMF(), tests.test_sdsmooth.sdsmooth_storageTest.testMFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMFsm(), tests.test_sdstat.sdstat_storageTest.testMT(), tests.test_sdsmooth.sdsmooth_storageTest.testMTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMTsm(), tests.test_sdstat.sdstat_restfreqTest.testRF01(), tests.test_sdstat.sdstat_restfreqTest.testRF02(), tests.test_sdstat.sdstat_restfreqTest.testRF11(), tests.test_sdstat.sdstat_restfreqTest.testRF12(), tests.test_sdstat.sdstat_restfreqTest.testRF13(), tests.test_sdstat.sdstat_restfreqTest.testRF21(), tests.test_sdstat.sdstat_restfreqTest.testRF22(), and tests.test_sdstat.sdstat_restfreqTest.testRF23().
string tests.test_sdlist.sdlist_test.refroot [static] |
Definition at line 30 of file test_sdlist.py.
Referenced by tests.test_sdlist.sdlist_test.test01(), tests.test_sdlist.sdlist_test.test02(), and tests.test_sdlist.sdlist_test.test03().