casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
tests.test_sdsave.sdsave_storageTest Class Reference
Inheritance diagram for tests.test_sdsave.sdsave_storageTest:
tests.test_sdsave.sdsave_unittest_base

List of all members.

Public Member Functions

def setUp
def tearDown
def testMT
def testMF
def testDT
def testDF

Public Attributes

 storage
 insitu

Static Public Attributes

string infile
string outname
list pollist
list iflist
list restfreq
dictionary refout

Private Member Functions

def _get_scantable_params
def _compare_scantable_params

Detailed Description

Unit tests for task sdsave. 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 MOLECULE_ID column.

Tested items:
   1. Number of rows in 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 998 of file test_sdsave.py.


Member Function Documentation

def tests.test_sdsave.sdsave_storageTest._compare_scantable_params (   self,
  test,
  refval 
) [private]
def tests.test_sdsave.sdsave_storageTest._get_scantable_params (   self,
  scanname 
) [private]

Definition at line 1027 of file test_sdsave.py.

References tests.test_plotuv.plotuv_test.datapath, tests.test_sdcoadd.sdcoadd_unittest_base.datapath, tests.test_sdbaseline.sdbaseline_unittest_base.datapath, tests.test_sdplot.sdplot_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_sdmath.sdmath_unittest_base.datapath, tests.test_sdsave.sdsave_unittest_base.datapath, tests.test_sdcal.sdcal_unittest_base.datapath, tests.test_sdreduce.sdreduce_test.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, asap.asapgrid.asapgrid_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, task_sdgrid.sdgrid_worker.infile, tests.test_sdsave.sdsave_test0.infile, tests.test_sdplot.sdplot_errorTest.infile, tests.test_sdsave.sdsave_test1.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, tests.test_sdsave.sdsave_test2.infile, asap.asapgrid.asapgrid.infile, tests.test_sdplot.sdplot_basicTest.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, tests.test_sdsave.sdsave_test3.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdsave.sdsave_test4.infile, tests.test_sdsave.sdsave_test5.infile, tests.test_sdsave.sdsave_test6.infile, tests.test_sdsave.sdsave_test7.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, tests.test_sdplot.sdplot_storageTest.infile, tests.test_sdsave.sdsave_storageTest.infile, tests.test_sdplot.sdplot_gridTest.infile, and tests.test_sdplot.sdplot_selectTest.infile.

Storage Test DF: sdsave on storage='disk' and insitu=F

Definition at line 1190 of file test_sdsave.py.

References tests.test_sdsave.sdsave_storageTest._compare_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdsave.sdsave_storageTest._get_scantable_params(), task_sdplot.sdplot_worker.iflist, tests.test_sdsave.sdsave_test7.iflist, tests.test_sdbaseline.sdbaseline_storageTest.iflist, tests.test_sdplot.sdplot_storageTest.iflist, tests.test_sdsave.sdsave_storageTest.iflist, asap.asapgrid.asapgrid_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, task_sdgrid.sdgrid_worker.infile, tests.test_sdsave.sdsave_test0.infile, tests.test_sdplot.sdplot_errorTest.infile, tests.test_sdsave.sdsave_test1.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, tests.test_sdsave.sdsave_test2.infile, asap.asapgrid.asapgrid.infile, tests.test_sdplot.sdplot_basicTest.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, tests.test_sdsave.sdsave_test3.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdsave.sdsave_test4.infile, tests.test_sdsave.sdsave_test5.infile, tests.test_sdsave.sdsave_test6.infile, tests.test_sdsave.sdsave_test7.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, tests.test_sdplot.sdplot_storageTest.infile, tests.test_sdsave.sdsave_storageTest.infile, tests.test_sdplot.sdplot_gridTest.infile, tests.test_sdplot.sdplot_selectTest.infile, 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_sdsave.sdsave_test7.outname, tests.test_sdsave.sdsave_storageTest.outname, task_sdplot.sdplot_worker.pollist, asap.asapgrid._SDGridPlotter.pollist, tests.test_sdbaseline.sdbaseline_storageTest.pollist, tests.test_sdsave.sdsave_storageTest.pollist, tests.test_sdplot.sdplot_gridTest.pollist, tests.test_sdsave.sdsave_storageTest.refout, tests.test_cleanhelper.cleanhelper_test.restfreq, task_sdimaging.sdimaging_worker.restfreq, and tests.test_sdsave.sdsave_storageTest.restfreq.

Storage Test DT: sdsave on storage='disk' and insitu=T

Definition at line 1161 of file test_sdsave.py.

References tests.test_sdsave.sdsave_storageTest._compare_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdsave.sdsave_storageTest._get_scantable_params(), task_sdplot.sdplot_worker.iflist, tests.test_sdsave.sdsave_test7.iflist, tests.test_sdbaseline.sdbaseline_storageTest.iflist, tests.test_sdplot.sdplot_storageTest.iflist, tests.test_sdsave.sdsave_storageTest.iflist, asap.asapgrid.asapgrid_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, task_sdgrid.sdgrid_worker.infile, tests.test_sdsave.sdsave_test0.infile, tests.test_sdplot.sdplot_errorTest.infile, tests.test_sdsave.sdsave_test1.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, tests.test_sdsave.sdsave_test2.infile, asap.asapgrid.asapgrid.infile, tests.test_sdplot.sdplot_basicTest.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, tests.test_sdsave.sdsave_test3.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdsave.sdsave_test4.infile, tests.test_sdsave.sdsave_test5.infile, tests.test_sdsave.sdsave_test6.infile, tests.test_sdsave.sdsave_test7.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, tests.test_sdplot.sdplot_storageTest.infile, tests.test_sdsave.sdsave_storageTest.infile, tests.test_sdplot.sdplot_gridTest.infile, tests.test_sdplot.sdplot_selectTest.infile, 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_sdsave.sdsave_test7.outname, tests.test_sdsave.sdsave_storageTest.outname, task_sdplot.sdplot_worker.pollist, asap.asapgrid._SDGridPlotter.pollist, tests.test_sdbaseline.sdbaseline_storageTest.pollist, tests.test_sdsave.sdsave_storageTest.pollist, tests.test_sdplot.sdplot_gridTest.pollist, tests.test_sdsave.sdsave_storageTest.refout, tests.test_cleanhelper.cleanhelper_test.restfreq, task_sdimaging.sdimaging_worker.restfreq, and tests.test_sdsave.sdsave_storageTest.restfreq.

Storage Test MF: sdsave on storage='memory' and insitu=F

Definition at line 1132 of file test_sdsave.py.

References tests.test_sdsave.sdsave_storageTest._compare_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdsave.sdsave_storageTest._get_scantable_params(), task_sdplot.sdplot_worker.iflist, tests.test_sdsave.sdsave_test7.iflist, tests.test_sdbaseline.sdbaseline_storageTest.iflist, tests.test_sdplot.sdplot_storageTest.iflist, tests.test_sdsave.sdsave_storageTest.iflist, asap.asapgrid.asapgrid_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, task_sdgrid.sdgrid_worker.infile, tests.test_sdsave.sdsave_test0.infile, tests.test_sdplot.sdplot_errorTest.infile, tests.test_sdsave.sdsave_test1.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, tests.test_sdsave.sdsave_test2.infile, asap.asapgrid.asapgrid.infile, tests.test_sdplot.sdplot_basicTest.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, tests.test_sdsave.sdsave_test3.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdsave.sdsave_test4.infile, tests.test_sdsave.sdsave_test5.infile, tests.test_sdsave.sdsave_test6.infile, tests.test_sdsave.sdsave_test7.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, tests.test_sdplot.sdplot_storageTest.infile, tests.test_sdsave.sdsave_storageTest.infile, tests.test_sdplot.sdplot_gridTest.infile, tests.test_sdplot.sdplot_selectTest.infile, 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_sdsave.sdsave_test7.outname, tests.test_sdsave.sdsave_storageTest.outname, task_sdplot.sdplot_worker.pollist, asap.asapgrid._SDGridPlotter.pollist, tests.test_sdbaseline.sdbaseline_storageTest.pollist, tests.test_sdsave.sdsave_storageTest.pollist, tests.test_sdplot.sdplot_gridTest.pollist, tests.test_sdsave.sdsave_storageTest.refout, tests.test_cleanhelper.cleanhelper_test.restfreq, task_sdimaging.sdimaging_worker.restfreq, and tests.test_sdsave.sdsave_storageTest.restfreq.

Storage Test MT: sdsave on storage='memory' and insitu=T

Definition at line 1103 of file test_sdsave.py.

References tests.test_sdsave.sdsave_storageTest._compare_scantable_params(), tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params(), tests.test_sdsave.sdsave_storageTest._get_scantable_params(), task_sdplot.sdplot_worker.iflist, tests.test_sdsave.sdsave_test7.iflist, tests.test_sdbaseline.sdbaseline_storageTest.iflist, tests.test_sdplot.sdplot_storageTest.iflist, tests.test_sdsave.sdsave_storageTest.iflist, asap.asapgrid.asapgrid_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, task_sdgrid.sdgrid_worker.infile, tests.test_sdsave.sdsave_test0.infile, tests.test_sdplot.sdplot_errorTest.infile, tests.test_sdsave.sdsave_test1.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, tests.test_sdsave.sdsave_test2.infile, asap.asapgrid.asapgrid.infile, tests.test_sdplot.sdplot_basicTest.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, tests.test_sdsave.sdsave_test3.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdsave.sdsave_test4.infile, tests.test_sdsave.sdsave_test5.infile, tests.test_sdsave.sdsave_test6.infile, tests.test_sdsave.sdsave_test7.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, tests.test_sdplot.sdplot_storageTest.infile, tests.test_sdsave.sdsave_storageTest.infile, tests.test_sdplot.sdplot_gridTest.infile, tests.test_sdplot.sdplot_selectTest.infile, 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_sdsave.sdsave_test7.outname, tests.test_sdsave.sdsave_storageTest.outname, task_sdplot.sdplot_worker.pollist, asap.asapgrid._SDGridPlotter.pollist, tests.test_sdbaseline.sdbaseline_storageTest.pollist, tests.test_sdsave.sdsave_storageTest.pollist, tests.test_sdplot.sdplot_gridTest.pollist, tests.test_sdsave.sdsave_storageTest.refout, tests.test_cleanhelper.cleanhelper_test.restfreq, task_sdimaging.sdimaging_worker.restfreq, and tests.test_sdsave.sdsave_storageTest.restfreq.


Member Data Documentation

Definition at line 1018 of file test_sdsave.py.

Referenced by task_sdtpimaging.sdtpimaging_worker.__backup(), task_sdtpimaging.sdtpimaging_worker.__execute_baseline(), task_sdtpimaging.sdtpimaging_worker.__execute_flag(), task_sdtpimaging.sdtpimaging_worker.__execute_imaging(), task_sdscale.sdscale_worker.__get_outform(), task_sdsave.sdsave_worker.cleanup(), task_sdimaging.sdimaging_worker.execute(), sdutil.sdtask_template.initialize(), sdutil.sdtask_template_imaging.initialize(), task_sdsmooth.sdsmooth_worker.initialize_scan(), task_sdplot.sdplot_worker.initialize_scan(), task_sdcal.sdcal_worker.initialize_scan(), task_sdfit.sdfit_worker.initialize_scan(), task_sdbaseline.sdbaseline_worker.initialize_scan(), task_sdstat.sdstat_worker.initialize_scan(), task_sdflag.sdflag_worker.initialize_scan(), task_sdtpimaging.sdtpimaging_worker.parameter_check(), tests.test_sdsmooth.sdsmooth_basicTest.setUp(), tests.test_sdstat.sdstat_basicTest.setUp(), tests.test_sdstat.sdstat_restfreqTest.setUp(), tests.test_sdsmooth.sdsmooth_storageTest.setUp(), tests.test_sdstat.sdstat_storageTest.setUp(), tests.test_sdstat.sdstat_exceptions.setUp(), tests.test_sdsave.sdsave_storageTest.setUp(), tests.test_sdtpimaging.sdtpimaging_test0.tearDown(), tests.test_sdsmooth.sdsmooth_basicTest.tearDown(), tests.test_sdtpimaging.sdtpimaging_test1.tearDown(), tests.test_sdtpimaging.sdtpimaging_test2.tearDown(), tests.test_sdstat.sdstat_basicTest.tearDown(), tests.test_sdstat.sdstat_restfreqTest.tearDown(), tests.test_sdsmooth.sdsmooth_storageTest.tearDown(), tests.test_sdstat.sdstat_storageTest.tearDown(), tests.test_sdstat.sdstat_exceptions.tearDown(), tests.test_sdsave.sdsave_storageTest.tearDown(), tests.test_sdtpimaging.sdtpimaging_test0.test001(), tests.test_sdtpimaging.sdtpimaging_test0.test002(), tests.test_sdtpimaging.sdtpimaging_test0.test003(), tests.test_sdtpimaging.sdtpimaging_test0.test004(), tests.test_sdtpimaging.sdtpimaging_test0.test006(), tests.test_sdtpimaging.sdtpimaging_test0.test007(), tests.test_sdtpimaging.sdtpimaging_test0.test008(), tests.test_sdtpimaging.sdtpimaging_test0.test009(), tests.test_sdsmooth.sdsmooth_basicTest.test01(), tests.test_sdstat.sdstat_basicTest.test01(), tests.test_sdsmooth.sdsmooth_basicTest.test02(), tests.test_sdstat.sdstat_basicTest.test02(), tests.test_sdsmooth.sdsmooth_basicTest.test03(), tests.test_sdstat.sdstat_basicTest.test03(), tests.test_sdsmooth.sdsmooth_basicTest.test04(), tests.test_sdstat.sdstat_basicTest.test04(), tests.test_sdsmooth.sdsmooth_basicTest.test05(), tests.test_sdstat.sdstat_basicTest.test05(), tests.test_sdsmooth.sdsmooth_basicTest.test06(), tests.test_sdstat.sdstat_basicTest.test06(), tests.test_sdsmooth.sdsmooth_basicTest.test07(), tests.test_sdstat.sdstat_basicTest.test07(), tests.test_sdsmooth.sdsmooth_basicTest.test08(), tests.test_sdstat.sdstat_basicTest.test08(), tests.test_sdsmooth.sdsmooth_basicTest.test09(), tests.test_sdstat.sdstat_basicTest.test09(), tests.test_sdstat.sdstat_basicTest.test10(), tests.test_sdsmooth.sdsmooth_basicTest.test10(), tests.test_sdtpimaging.sdtpimaging_test1.test100(), tests.test_sdstat.sdstat_basicTest.test11(), tests.test_sdsmooth.sdsmooth_basicTest.test11(), tests.test_sdsmooth.sdsmooth_basicTest.test12(), tests.test_sdtpimaging.sdtpimaging_test2.test200(), tests.test_sdstat.sdstat_storageTest.testDF(), tests.test_sdsave.sdsave_storageTest.testDF(), tests.test_sdsmooth.sdsmooth_storageTest.testDFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDFsm(), tests.test_sdstat.sdstat_storageTest.testDT(), tests.test_sdsave.sdsave_storageTest.testDT(), tests.test_sdsmooth.sdsmooth_storageTest.testDTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDTsm(), tests.test_sdstat.sdstat_storageTest.testMF(), tests.test_sdsave.sdsave_storageTest.testMF(), tests.test_sdsmooth.sdsmooth_storageTest.testMFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMFsm(), tests.test_sdstat.sdstat_storageTest.testMT(), tests.test_sdsave.sdsave_storageTest.testMT(), tests.test_sdsmooth.sdsmooth_storageTest.testMTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMTsm(), tests.test_sdstat.sdstat_exceptions.testNoData(), 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().


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