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

List of all members.

Public Member Functions

def setUp
def tearDown
def testblmask01
def testblmask02
def testblmask03
def testblmask04
def testblmask05
def testblmask06
def testblmask07
def testblmask08
def testblmask09
def testblmask10
def testblmask11
def testblmask12

Static Public Attributes

string infile
string outroot
string blrefroot
 tid
list search
list blchan0
list blchan2
dictionary ref_pol0if0
dictionary ref_pol0if2
dictionary ref_pol0if0f
dictionary ref_pol0if2f
dictionary ref_pol0if0v
dictionary ref_pol0if2v

Private Member Functions

def _get_range_in_string
def _get_chanval
def _getStats

Detailed Description

Unit tests for task sdbaseline. Test various mask selections.
Polynominal baselining. No interactive testing.

The list of tests:
masktest01-02 --- test masklist (list)
masktest03-04 --- test masklist (string)
masktest05-08 --- test specunit='GHz'
masktest09-12 --- test specunit='km/s'

Note: input data is generated from a single dish regression data,
'OrionS_rawACSmod', as follows:
  default(sdcal)
  sdcal(infile='OrionS_rawACSmod',scanlist=[20,21,22,23],
            calmode='ps',tau=0.09,outfile='temp.asap')
  default(sdcal)
  sdcal(infile='temp.asap',timeaverage=True,
            tweight='tintsys',outfile=self.infile)

Definition at line 292 of file test_sdbaseline.py.


Member Function Documentation

def tests.test_sdbaseline.sdbaseline_maskTest._get_chanval (   self,
  file,
  chanrange,
  unit,
  spw = 0,
  addedge = False 
) [private]
def tests.test_sdbaseline.sdbaseline_maskTest._get_range_in_string (   self,
  valrange 
) [private]
def tests.test_sdbaseline.sdbaseline_maskTest._getStats (   self,
  filename,
  basechan,
  ispw 
) [private]

Member Data Documentation

Definition at line 314 of file test_sdbaseline.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(), tests.test_sdsave.sdsave_test2.__spwtest(), tests.test_sdsave.sdsave_test4._compare(), tests.test_sdsave.sdsave_test5._compare(), tests.test_sdsave.sdsave_test6._compare(), 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_sdflag.sdflag_test.setUp(), tests.test_sdflagmanager.sdflagmanager_test.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_sdbaseline.sdbaseline_maskTest.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_sdbaseline.sdbaseline_multi_IF_test.setUp(), tests.test_sdstat.sdstat_exceptions.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_sdflag.sdflag_test.tearDown(), tests.test_sdflagmanager.sdflagmanager_test.tearDown(), tests.test_sdtpimaging.sdtpimaging_test0.tearDown(), tests.test_sdsave.sdsave_test0.tearDown(), tests.test_sdsmooth.sdsmooth_basicTest.tearDown(), tests.test_sdplot.sdplot_errorTest.tearDown(), tests.test_sdtpimaging.sdtpimaging_test1.tearDown(), tests.test_sdsave.sdsave_test1.tearDown(), tests.test_sdtpimaging.sdtpimaging_test2.tearDown(), tests.test_sdsave.sdsave_test2.tearDown(), tests.test_sdstat.sdstat_basicTest.tearDown(), tests.test_sdplot.sdplot_basicTest.tearDown(), tests.test_sdsave.sdsave_test3.tearDown(), tests.test_sdbaseline.sdbaseline_maskTest.tearDown(), tests.test_sdsave.sdsave_test4.tearDown(), tests.test_sdsave.sdsave_test5.tearDown(), tests.test_sdstat.sdstat_restfreqTest.tearDown(), tests.test_sdsave.sdsave_test6.tearDown(), tests.test_sdsmooth.sdsmooth_storageTest.tearDown(), tests.test_sdsave.sdsave_test7.tearDown(), tests.test_sdstat.sdstat_storageTest.tearDown(), tests.test_sdbaseline.sdbaseline_multi_IF_test.tearDown(), tests.test_sdstat.sdstat_exceptions.tearDown(), tests.test_sdbaseline.sdbaseline_storageTest.tearDown(), tests.test_sdplot.sdplot_storageTest.tearDown(), tests.test_sdsave.sdsave_storageTest.tearDown(), tests.test_sdplot.sdplot_gridTest.tearDown(), tests.test_sdplot.sdplot_selectTest.tearDown(), tests.test_sdflag.sdflag_test.test00(), tests.test_sdflagmanager.sdflagmanager_test.test00(), tests.test_sdtpimaging.sdtpimaging_test0.test001(), tests.test_sdsave.sdsave_test0.test001(), tests.test_sdtpimaging.sdtpimaging_test0.test002(), tests.test_sdsave.sdsave_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_sdflagmanager.sdflagmanager_test.test01(), tests.test_sdflag.sdflag_test.test01(), tests.test_sdsmooth.sdsmooth_basicTest.test01(), tests.test_sdstat.sdstat_basicTest.test01(), tests.test_sdbaseline.sdbaseline_multi_IF_test.test01multi(), tests.test_sdflagmanager.sdflagmanager_test.test02(), tests.test_sdflag.sdflag_test.test02(), tests.test_sdsmooth.sdsmooth_basicTest.test02(), tests.test_sdstat.sdstat_basicTest.test02(), tests.test_sdflagmanager.sdflagmanager_test.test03(), tests.test_sdflag.sdflag_test.test03(), tests.test_sdsmooth.sdsmooth_basicTest.test03(), tests.test_sdstat.sdstat_basicTest.test03(), tests.test_sdflagmanager.sdflagmanager_test.test04(), 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_sdsave.sdsave_test1.test100(), tests.test_sdsave.sdsave_test1.test101(), tests.test_sdsave.sdsave_test1.test102(), tests.test_sdsave.sdsave_test1.test103(), 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_sdsave.sdsave_test2.test200(), tests.test_sdsave.sdsave_test2.test201(), tests.test_sdsave.sdsave_test2.test202(), tests.test_sdsave.sdsave_test2.test203(), tests.test_sdsave.sdsave_test2.test204(), tests.test_sdsave.sdsave_test2.test206(), tests.test_sdsave.sdsave_test3.test300(), tests.test_sdsave.sdsave_test3.test301(), tests.test_sdsave.sdsave_test3.test302(), tests.test_sdsave.sdsave_test3.test303(), tests.test_sdsave.sdsave_test4.test400(), tests.test_sdsave.sdsave_test4.test401(), tests.test_sdsave.sdsave_test4.test402(), tests.test_sdsave.sdsave_test4.test403(), tests.test_sdsave.sdsave_test5.test500(), tests.test_sdsave.sdsave_test5.test501(), tests.test_sdsave.sdsave_test5.test502(), tests.test_sdsave.sdsave_test5.test503(), tests.test_sdsave.sdsave_test6.test600(), tests.test_sdsave.sdsave_test6.test601(), 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_sdplot.sdplot_errorTest.test_badLincat(), tests.test_sdplot.sdplot_errorTest.test_badSelection(), tests.test_sdplot.sdplot_errorTest.test_badStack(), tests.test_sdplot.sdplot_errorTest.test_noPweight(), tests.test_sdplot.sdplot_errorTest.test_noTweight(), tests.test_sdplot.sdplot_errorTest.test_overwrite(), 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_sdplot.sdplot_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_sdbaseline.sdbaseline_storageTest.testDT(), tests.test_sdplot.sdplot_storageTest.testDT(), tests.test_sdsave.sdsave_storageTest.testDT(), tests.test_sdbaseline.sdbaseline_storageTest.testDTow(), 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_sdstat.sdstat_storageTest.testMF(), tests.test_sdbaseline.sdbaseline_storageTest.testMF(), tests.test_sdplot.sdplot_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_sdbaseline.sdbaseline_storageTest.testMT(), tests.test_sdplot.sdplot_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_sdplot.sdplot_basicTest.testplot01(), tests.test_sdplot.sdplot_basicTest.testplot02(), 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.testplot26(), tests.test_sdplot.sdplot_basicTest.testplot27(), tests.test_sdplot.sdplot_basicTest.testplot28(), tests.test_sdplot.sdplot_basicTest.testplot29(), tests.test_sdplot.sdplot_basicTest.testplot30(), 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(), tests.test_sdstat.sdstat_restfreqTest.testRF23(), 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().

Definition at line 315 of file test_sdbaseline.py.

Referenced by tests.test_sdlist.sdlist_test.test01(), tests.test_sdsmooth.sdsmooth_basicTest.test01(), tests.test_sdstat.sdstat_basicTest.test01(), tests.test_sdbaseline.sdbaseline_multi_IF_test.test01multi(), 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_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_funcTest.testCSpline01(), tests.test_sdbaseline.sdbaseline_funcTest.testCSpline02(), tests.test_sdstat.sdstat_storageTest.testDF(), tests.test_sdbaseline.sdbaseline_storageTest.testDF(), tests.test_sdsmooth.sdsmooth_storageTest.testDFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDFsm(), tests.test_sdstat.sdstat_storageTest.testDT(), tests.test_sdbaseline.sdbaseline_storageTest.testDT(), tests.test_sdsmooth.sdsmooth_storageTest.testDTrg(), tests.test_sdsmooth.sdsmooth_storageTest.testDTsm(), tests.test_sdstat.sdstat_storageTest.testMF(), tests.test_sdbaseline.sdbaseline_storageTest.testMF(), tests.test_sdsmooth.sdsmooth_storageTest.testMFrg(), tests.test_sdsmooth.sdsmooth_storageTest.testMFsm(), tests.test_sdstat.sdstat_storageTest.testMT(), tests.test_sdbaseline.sdbaseline_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(), tests.test_sdstat.sdstat_restfreqTest.testRF23(), tests.test_sdbaseline.sdbaseline_funcTest.testSinusoid01(), and tests.test_sdbaseline.sdbaseline_funcTest.testSinusoid02().


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