casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Static Public Attributes | Private Member Functions
tests.test_sdbaseline.sdbaseline_unittest_base Class Reference
Inheritance diagram for tests.test_sdbaseline.sdbaseline_unittest_base:
tests.test_sdbaseline.sdbaseline_basicTest tests.test_sdbaseline.sdbaseline_maskTest tests.test_sdbaseline.sdbaseline_multi_IF_test tests.test_sdbaseline.sdbaseline_storageTest

List of all members.

Static Public Attributes

tuple datapath
string taskname

Private Member Functions

def _checkfile
 helper functions for tests ###
def _getStats
def _compareStats
def _isInAllowedRange
def _to_list
def _compareBLparam

Detailed Description

Base class for sdbaseline unit test

Definition at line 16 of file test_sdbaseline.py.


Member Function Documentation

def tests.test_sdbaseline.sdbaseline_unittest_base._checkfile (   self,
  name 
) [private]
def tests.test_sdbaseline.sdbaseline_unittest_base._compareBLparam (   self,
  out,
  reference 
) [private]
def tests.test_sdbaseline.sdbaseline_unittest_base._compareStats (   self,
  currstat,
  refstat,
  reltol = 1.0e-2,
  complist = None 
) [private]

Definition at line 41 of file test_sdbaseline.py.

References tests.test_sdbaseline.sdbaseline_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_unittest_base._isInAllowedRange(), and tests.test_sdbaseline.sdbaseline_unittest_base._to_list().

Referenced by tests.test_sdbaseline.sdbaseline_basicTest.test01(), tests.test_sdstat.sdstat_basicTest.test01(), tests.test_sdbaseline.sdbaseline_multi_IF_test.test01multi(), tests.test_sdbaseline.sdbaseline_basicTest.test02(), tests.test_sdstat.sdstat_basicTest.test02(), tests.test_sdstat.sdstat_basicTest.test03(), tests.test_sdstat.sdstat_basicTest.test04(), tests.test_sdstat.sdstat_basicTest.test05(), tests.test_sdstat.sdstat_basicTest.test06(), tests.test_sdstat.sdstat_basicTest.test07(), tests.test_sdstat.sdstat_basicTest.test08(), tests.test_sdstat.sdstat_basicTest.test09(), tests.test_sdstat.sdstat_basicTest.test10(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask01(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask02(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask03(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask04(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask05(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask06(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask07(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask08(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask09(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask10(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask11(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask12(), tests.test_sdstat.sdstat_storageTest.testDF(), tests.test_sdbaseline.sdbaseline_storageTest.testDF(), tests.test_sdstat.sdstat_storageTest.testDT(), tests.test_sdbaseline.sdbaseline_storageTest.testDT(), tests.test_sdbaseline.sdbaseline_storageTest.testDTow(), tests.test_sdstat.sdstat_storageTest.testMF(), tests.test_sdbaseline.sdbaseline_storageTest.testMF(), tests.test_sdstat.sdstat_storageTest.testMT(), tests.test_sdbaseline.sdbaseline_storageTest.testMT(), 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().

def tests.test_sdbaseline.sdbaseline_unittest_base._getStats (   self,
  filename,
  ifno = None 
) [private]

Definition at line 33 of file test_sdbaseline.py.

References tests.test_sdbaseline.sdbaseline_unittest_base._checkfile().

Referenced by tests.test_sdbaseline.sdbaseline_unittest_base._compareStats(), tests.test_sdsmooth.sdsmooth_basicTest.test01(), tests.test_sdbaseline.sdbaseline_multi_IF_test.test01multi(), 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_sdbaseline.sdbaseline_maskTest.testblmask01(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask02(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask03(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask04(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask05(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask06(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask07(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask08(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask09(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask10(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask11(), tests.test_sdbaseline.sdbaseline_maskTest.testblmask12(), tests.test_sdbaseline.sdbaseline_storageTest.testDF(), tests.test_sdsmooth.sdsmooth_storageTest.testDFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDFsm(), tests.test_sdbaseline.sdbaseline_storageTest.testDT(), tests.test_sdsmooth.sdsmooth_storageTest.testDTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDTsm(), tests.test_sdbaseline.sdbaseline_storageTest.testMF(), tests.test_sdsmooth.sdsmooth_storageTest.testMFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMFsm(), tests.test_sdbaseline.sdbaseline_storageTest.testMT(), tests.test_sdsmooth.sdsmooth_storageTest.testMTrg(), and tests.test_sdsmooth.sdsmooth_storageTest.testMTsm().

def tests.test_sdbaseline.sdbaseline_unittest_base._isInAllowedRange (   self,
  testval,
  refval,
  reltol = 1.e-2 
) [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 100 of file test_sdbaseline.py.

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

def tests.test_sdbaseline.sdbaseline_unittest_base._to_list (   self,
  input 
) [private]

Member Data Documentation

Definition at line 21 of file test_sdbaseline.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_sdbaseline.sdbaseline_basicTest.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_sdbaseline.sdbaseline_maskTest.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_sdbaseline.sdbaseline_funcTest.setUp(), tests.test_sdbaseline.sdbaseline_multi_IF_test.setUp(), tests.test_sdstat.sdstat_exceptions.setUp(), tests.test_simobserve.simobserve_badinputs.setUp(), tests.test_sdbaseline.sdbaseline_storageTest.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_sdcal.sdcal_test0.test004(), tests.test_sdimprocess.sdimprocess_test0.test005(), tests.test_sdmath.sdmath_test0.test007(), tests.test_sdlist.sdlist_test.test01(), tests.test_sdbaseline.sdbaseline_multi_IF_test.test01multi(), tests.test_sdlist.sdlist_test.test02(), tests.test_sdlist.sdlist_test.test03(), and tests.test_sdstat.sdstat_basicTest.test11().

Definition at line 23 of file test_sdbaseline.py.


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