Public Member Functions | |
def | setUp |
def | tearDown |
def | test_input |
def | test_smooth |
Smoothing correctness test. | |
def | test_region |
Region selection correction test. | |
def | test_stretch |
def | test_multibeam |
def | test_targetres |
def | test_overwrite |
def | test_beam |
Public Attributes | |
ia | |
datapath | |
Private Member Functions | |
def | _compare_beams |
Incorrect inputs to parameters. |
Definition at line 159 of file test_imsmooth.py.
def tests.test_imsmooth.imsmooth_test._compare_beams | ( | self, | |
beam1, | |||
beam2 | |||
) | [private] |
Incorrect inputs to parameters.
The parameters are: imagename outfile kernel major minor mask region box chans stokes
Returns True if successful, and False if it has failed.
Definition at line 201 of file test_imsmooth.py.
References tests.test_imsmooth._near().
Referenced by tests.test_imsmooth.imsmooth_test.test_targetres().
def tests.test_imsmooth.imsmooth_test.setUp | ( | self | ) |
Definition at line 161 of file test_imsmooth.py.
def tests.test_imsmooth.imsmooth_test.tearDown | ( | self | ) |
Definition at line 176 of file test_imsmooth.py.
def tests.test_imsmooth.imsmooth_test.test_beam | ( | self | ) |
Test the beam parameter
Definition at line 1360 of file test_imsmooth.py.
References tests.test_ia_deconvolvecomponentlist.ia_deconvolvecomponentlist_test.ia, tests.test_ia_deconvolvefrombeam.ia_deconvolvefrombeam_test.ia, tests.test_imsmooth.imsmooth_test.ia, tests.test_imsmooth.make_gauss2d(), and irc_cs_task_regression.max.
def tests.test_imsmooth.imsmooth_test.test_input | ( | self | ) |
Imsmooth: Testing INPUT/OUTPUT tests
Definition at line 220 of file test_imsmooth.py.
def tests.test_imsmooth.imsmooth_test.test_multibeam | ( | self | ) |
Test per plane beams
Definition at line 1197 of file test_imsmooth.py.
References tests.test_imsmooth._near(), tests.test_cleanhelper.cleanhelper_test.datapath, tests.test_imsmooth.imsmooth_test.datapath, tests.test_ia_deconvolvecomponentlist.ia_deconvolvecomponentlist_test.ia, tests.test_ia_deconvolvefrombeam.ia_deconvolvefrombeam_test.ia, tests.test_imsmooth.imsmooth_test.ia, and irc_cs_task_regression.max.
def tests.test_imsmooth.imsmooth_test.test_overwrite | ( | self | ) |
test overwrite parameter
Definition at line 1337 of file test_imsmooth.py.
References tests.test_ia_deconvolvecomponentlist.ia_deconvolvecomponentlist_test.ia, tests.test_ia_deconvolvefrombeam.ia_deconvolvefrombeam_test.ia, tests.test_imsmooth.imsmooth_test.ia, and tests.test_imsmooth.run_imsmooth().
def tests.test_imsmooth.imsmooth_test.test_region | ( | self | ) |
Region selection correction test.
This test selects a region(s) where smoothing will be performed.
Returns True if successful, and False if it has failed.
Imsmooth: Region selection correction test
Definition at line 959 of file test_imsmooth.py.
def tests.test_imsmooth.imsmooth_test.test_smooth | ( | self | ) |
Smoothing correctness test.
This test subtacts the continuum from the g192 data file and compares the results (both continuum and spectral line with subtracted continuum files) with pervious results.
Random values are selected in the files and compared.
Returns True if successful, and False if it has failed.
Imsmooth: Testing correctness
Definition at line 811 of file test_imsmooth.py.
def tests.test_imsmooth.imsmooth_test.test_stretch | ( | self | ) |
imsmooth(): Test stretch parameter
Definition at line 1173 of file test_imsmooth.py.
References taskinit.iatool.
def tests.test_imsmooth.imsmooth_test.test_targetres | ( | self | ) |
Test targetres parameter
Definition at line 1221 of file test_imsmooth.py.
References tests.test_imsmooth.imsmooth_test._compare_beams(), tests.test_ia_deconvolvecomponentlist.ia_deconvolvecomponentlist_test.ia, tests.test_ia_deconvolvefrombeam.ia_deconvolvefrombeam_test.ia, tests.test_imsmooth.imsmooth_test.ia, taskinit.iatool, tests.test_imsmooth.make_gauss2d(), and irc_cs_task_regression.max.
Definition at line 173 of file test_imsmooth.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_imstat.imstat_test.test001(), tests.test_imstat.imstat_test.test002(), tests.test_imstat.imstat_test.test003(), tests.test_imstat.imstat_test.test004(), tests.test_sdcal.sdcal_test0.test004(), tests.test_imstat.imstat_test.test005(), tests.test_sdimprocess.sdimprocess_test0.test005(), tests.test_msmoments.msmoments_test0.test005(), tests.test_imstat.imstat_test.test006(), tests.test_imstat.imstat_test.test007(), tests.test_sdmath.sdmath_test0.test007(), tests.test_imstat.imstat_test.test008(), tests.test_imstat.imstat_test.test009(), tests.test_sdlist.sdlist_test.test01(), tests.test_imstat.imstat_test.test010(), tests.test_sdbaseline.sdbaseline_multi_IF_test.test01multi(), tests.test_sdlist.sdlist_test.test02(), tests.test_sdlist.sdlist_test.test03(), tests.test_sdstat.sdstat_basicTest.test11(), and tests.test_imsmooth.imsmooth_test.test_multibeam().
Definition at line 172 of file test_imsmooth.py.
Referenced by tests.test_rg_fromtextfile.rg_fromtextfile_test.tearDown(), tests.test_imsmooth.imsmooth_test.test_beam(), tests.test_imsmooth.imsmooth_test.test_multibeam(), tests.test_imsmooth.imsmooth_test.test_overwrite(), and tests.test_imsmooth.imsmooth_test.test_targetres().