casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Static Public Attributes | Private Member Functions
tests.test_sdcoadd.sdcoadd_unittest_base Class Reference
Inheritance diagram for tests.test_sdcoadd.sdcoadd_unittest_base:
tests.test_sdcoadd.sdcoadd_basicTest tests.test_sdcoadd.sdcoadd_mergeTest tests.test_sdcoadd.sdcoadd_storageTest

List of all members.

Static Public Attributes

tuple datapath
string taskname
dictionary mergeids
list addedtabs

Private Member Functions

def _get_scantable_params
def _test_merged_scantable
def _compareDictVal
def _isInAllowedRange
def _to_list

Detailed Description

Base class for sdcoadd unit test

Definition at line 15 of file test_sdcoadd.py.


Member Function Documentation

def tests.test_sdcoadd.sdcoadd_unittest_base._compareDictVal (   self,
  testdict,
  refdict,
  reltol = 1.0e-5,
  complist = None 
) [private]

Definition at line 57 of file test_sdcoadd.py.

References tests.test_sdcoadd.sdcoadd_unittest_base._isInAllowedRange(), tests.test_sdbaseline.sdbaseline_unittest_base._isInAllowedRange(), tests.test_sdcoadd.sdcoadd_unittest_base._to_list(), and tests.test_sdbaseline.sdbaseline_unittest_base._to_list().

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_unittest_base._test_merged_scantable(), tests.test_sdsmooth.sdsmooth_basicTest.test01(), tests.test_sdsmooth.sdsmooth_basicTest.test02(), tests.test_sdsmooth.sdsmooth_basicTest.test03(), tests.test_sdsmooth.sdsmooth_basicTest.test04(), tests.test_sdsmooth.sdsmooth_basicTest.test05(), tests.test_sdsmooth.sdsmooth_basicTest.test06(), tests.test_sdsmooth.sdsmooth_basicTest.test07(), tests.test_sdsmooth.sdsmooth_basicTest.test08(), tests.test_sdsmooth.sdsmooth_basicTest.test09(), tests.test_sdsmooth.sdsmooth_basicTest.test10(), tests.test_sdsmooth.sdsmooth_basicTest.test11(), tests.test_sdsmooth.sdsmooth_basicTest.test12(), tests.test_sdsmooth.sdsmooth_storageTest.testDFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDFsm(), tests.test_sdsmooth.sdsmooth_storageTest.testDTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDTsm(), tests.test_sdplot.sdplot_gridTest.testgrid01(), tests.test_sdplot.sdplot_gridTest.testgrid02(), tests.test_sdplot.sdplot_gridTest.testgrid03(), tests.test_sdplot.sdplot_gridTest.testgrid04(), tests.test_sdplot.sdplot_gridTest.testgrid05(), tests.test_sdplot.sdplot_gridTest.testgrid06(), tests.test_sdplot.sdplot_gridTest.testgrid07(), tests.test_sdplot.sdplot_gridTest.testgrid08(), tests.test_sdplot.sdplot_gridTest.testgrid09(), tests.test_sdplot.sdplot_gridTest.testgrid10(), tests.test_sdplot.sdplot_gridTest.testgrid11(), tests.test_sdplot.sdplot_gridTest.testgrid12(), tests.test_sdplot.sdplot_gridTest.testgrid13(), tests.test_sdplot.sdplot_gridTest.testgrid14(), tests.test_sdsmooth.sdsmooth_storageTest.testMFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMFsm(), tests.test_sdsmooth.sdsmooth_storageTest.testMTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMTsm(), tests.test_sdplot.sdplot_basicTest.testplot03(), tests.test_sdplot.sdplot_basicTest.testplot04(), tests.test_sdplot.sdplot_basicTest.testplot05(), tests.test_sdplot.sdplot_basicTest.testplot06(), tests.test_sdplot.sdplot_basicTest.testplot07(), tests.test_sdplot.sdplot_basicTest.testplot08(), tests.test_sdplot.sdplot_basicTest.testplot09(), tests.test_sdplot.sdplot_basicTest.testplot10(), tests.test_sdplot.sdplot_basicTest.testplot11(), tests.test_sdplot.sdplot_basicTest.testplot12(), tests.test_sdplot.sdplot_basicTest.testplot13(), tests.test_sdplot.sdplot_basicTest.testplot14(), tests.test_sdplot.sdplot_basicTest.testplot15(), tests.test_sdplot.sdplot_basicTest.testplot16(), tests.test_sdplot.sdplot_basicTest.testplot17(), tests.test_sdplot.sdplot_basicTest.testplot18(), tests.test_sdplot.sdplot_basicTest.testplot19(), tests.test_sdplot.sdplot_basicTest.testplot20(), tests.test_sdplot.sdplot_basicTest.testplot21(), tests.test_sdplot.sdplot_basicTest.testplot22(), tests.test_sdplot.sdplot_basicTest.testplot23(), tests.test_sdplot.sdplot_basicTest.testplot24(), tests.test_sdplot.sdplot_basicTest.testplot25(), tests.test_sdplot.sdplot_basicTest.testplot28(), tests.test_sdplot.sdplot_basicTest.testplot29(), tests.test_sdplot.sdplot_basicTest.testplot30(), tests.test_sdplot.sdplot_selectTest.testsel01(), tests.test_sdplot.sdplot_selectTest.testsel02(), tests.test_sdplot.sdplot_selectTest.testsel03(), and tests.test_sdplot.sdplot_selectTest.testsel04().

def tests.test_sdcoadd.sdcoadd_unittest_base._get_scantable_params (   self,
  scanname 
) [private]
def tests.test_sdcoadd.sdcoadd_unittest_base._isInAllowedRange (   self,
  testval,
  refval,
  reltol = 1.0e-5 
) [private]
Check if a test value is within permissive relative difference from refval.
Returns a boolean.
testval & refval : two numerical values to compare
reltol           : allowed relative difference to consider the two
           values to be equal. (default 0.01)

Definition at line 88 of file test_sdcoadd.py.

Referenced by tests.test_sdcoadd.sdcoadd_unittest_base._compareDictVal(), tests.test_sdplot.sdplot_unittest_base._compareDictVal(), tests.test_sdmath.sdmath_storageTest._compareDictVal(), and tests.test_sdstat.sdstat_unittest_base._compareStats().

def tests.test_sdcoadd.sdcoadd_unittest_base._test_merged_scantable (   self,
  res,
  ref 
) [private]
def tests.test_sdcoadd.sdcoadd_unittest_base._to_list (   self,
  input 
) [private]

Member Data Documentation

Reimplemented in tests.test_sdcoadd.sdcoadd_mergeTest.

Definition at line 20 of file test_sdcoadd.py.

Referenced by tests.test_simobserve.simobserve_unittest_base._copy_input(), tests.test_sdcoadd.sdcoadd_mergeTest._copy_inputs(), tests.test_sdgrid.sdgrid_unittest_base.addrow(), tests.test_sdlist.sdlist_test.setUp(), tests.test_sdflag.sdflag_test.setUp(), tests.test_sdflagmanager.sdflagmanager_test.setUp(), tests.test_sdreduce.sdreduce_test.setUp(), tests.test_sdfit.sdfit_test.setUp(), tests.test_sdsmooth.sdsmooth_badinputs.setUp(), tests.test_sdgrid.sdgrid_failure_case.setUp(), tests.test_sdimaging.sdimaging_test0.setUp(), tests.test_sdcoadd.sdcoadd_basicTest.setUp(), tests.test_sdsmooth.sdsmooth_basicTest.setUp(), tests.test_sdplot.sdplot_errorTest.setUp(), tests.test_sdgrid.sdgrid_single_integ.setUp(), tests.test_sdstat.sdstat_basicTest.setUp(), tests.test_sdimaging.sdimaging_test1.setUp(), tests.test_sdplot.sdplot_basicTest.setUp(), tests.test_sdgrid.sdgrid_clipping.setUp(), tests.test_sdfit.sdfit_test_exceptions.setUp(), tests.test_sdgrid.sdgrid_flagging.setUp(), tests.test_sdcoadd.sdcoadd_storageTest.setUp(), tests.test_sdgrid.sdgrid_weighting.setUp(), tests.test_sdstat.sdstat_restfreqTest.setUp(), tests.test_sdimaging.sdimaging_test2.setUp(), tests.test_sdgrid.sdgrid_map.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_sdgrid.sdgrid_dec_correction.setUp(), tests.test_sdmath.sdmath_storageTest.setUp(), tests.test_sdgrid.sdgrid_grid_center.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().

Definition at line 24 of file test_sdcoadd.py.

Definition at line 22 of file test_sdcoadd.py.


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