casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Static Public Attributes
tests.test_sdsmooth.sdsmooth_basicTest Class Reference
Inheritance diagram for tests.test_sdsmooth.sdsmooth_basicTest:
tests.test_sdsmooth.sdsmooth_unittest_base

List of all members.

Public Member Functions

def setUp
def tearDown
def test01
def test02
def test03
def test04
def test05
def test06
def test07
def test08
def test09
def test10
def test11
def test12

Static Public Attributes

string infile
 TODO:
string outroot
list linechan
list basechan
int regridw
list reglinech
list regbasech

Detailed Description

Basic unit tests for task sdsmooth. No interactive testing.

The list of tests:
test00    --- default parameters (raises an errror)
test01    --- default + valid input filename (hanning smooth)
test02-03 --- kernel = 'boxcar' w/ and w/o kwidth param
test04-05 --- kernel = 'gaussian' w/ and w/o kwidth param
test06    --- overwrite = True
test07,10 --- kernel = 'regrid' with chwidth in channel unit
test08,11 --- kernel = 'regrid' with chwidth in frequency unit
test09,12 --- kernel = 'regrid' with chwidth in velocity unit

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',
            polaverage=True,pweight='tsys',outfile='temp2.asap')
  default(sdbaseline)
  sdbaseline(infile='temp2.asap',iflist=[2],masklist=blchan2,
             maskmode='list',outfile=self.infile)

  The reference stat values can be obtained by
  sdstat(infile=outfile,masklist=linechan)
  sdstat(infile=outfile,masklist=basechan)

Definition at line 117 of file test_sdsmooth.py.


Member Function Documentation

Definition at line 160 of file test_sdsmooth.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_sdsmooth.sdsmooth_unittest_base.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_sdscale.sdscale_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, casa_in_py.default(), 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_sdsmooth.sdsmooth_basicTest.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.

Test 1: Default parameters + valid input filename (hanning smooth)

Definition at line 171 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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.

Test 2: kernel = 'boxcar'

Definition at line 187 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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.

Test 3: kernel = 'boxcar' + kwidth = 16

Definition at line 204 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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.

Test 4: kernel = 'gaussian'

Definition at line 224 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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.

Test 5: kernel = 'gaussian' + kwidth = 16

Definition at line 241 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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.

Test 6: Test overwrite=True

Definition at line 260 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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.

Test 7: kernel = 'regrid' + chanwidth in channel unit

Definition at line 293 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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, tests.test_sdsmooth.sdsmooth_basicTest.regbasech, tests.test_sdsmooth.sdsmooth_basicTest.reglinech, and tests.test_sdsmooth.sdsmooth_basicTest.regridw.

Test 8: kernel = 'regrid' + chanwidth in frequency unit

Definition at line 335 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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, tests.test_sdsmooth.sdsmooth_basicTest.regbasech, tests.test_sdsmooth.sdsmooth_basicTest.reglinech, and tests.test_sdsmooth.sdsmooth_basicTest.regridw.

Test 9: kernel = 'regrid' + chanwidth in velocity unit

Definition at line 381 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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, tests.test_sdsmooth.sdsmooth_basicTest.regbasech, tests.test_sdsmooth.sdsmooth_basicTest.reglinech, and tests.test_sdsmooth.sdsmooth_basicTest.regridw.

Test 10: kernel = 'regrid' + negative chanwidth in channel unit

Definition at line 426 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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, tests.test_sdsmooth.sdsmooth_basicTest.regbasech, tests.test_sdsmooth.sdsmooth_basicTest.reglinech, and tests.test_sdsmooth.sdsmooth_basicTest.regridw.

Test11: kernel = 'regrid' + negative chanwidth in frequency unit

Definition at line 474 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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, tests.test_sdsmooth.sdsmooth_basicTest.regbasech, tests.test_sdsmooth.sdsmooth_basicTest.reglinech, and tests.test_sdsmooth.sdsmooth_basicTest.regridw.

Test 12: kernel = 'regrid' + positive chanwidth in velocity unit

Definition at line 527 of file test_sdsmooth.py.

References tests.test_sdsmooth.sdsmooth_unittest_base._compareDictVal(), 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._getStats(), tests.test_sdsmooth.sdsmooth_unittest_base._getStats(), tests.test_sdbaseline.sdbaseline_maskTest._getStats(), 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_sdsmooth.sdsmooth_basicTest.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, tests.test_sdlist.sdlist_test.outroot, tests.test_sdreduce.sdreduce_test.outroot, tests.test_sdsmooth.sdsmooth_basicTest.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, tests.test_sdsmooth.sdsmooth_basicTest.regbasech, tests.test_sdsmooth.sdsmooth_basicTest.reglinech, and tests.test_sdsmooth.sdsmooth_basicTest.regridw.


Member Data Documentation

TODO:

  • need checking for flag application
  • comparison with simple and known spectral shape

Definition at line 152 of file test_sdsmooth.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_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_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_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_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().

Definition at line 153 of file test_sdsmooth.py.

Referenced by 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_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().


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