casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Static Public Attributes
tests.test_sdplot.sdplot_errorTest Class Reference
Inheritance diagram for tests.test_sdplot.sdplot_errorTest:
tests.test_sdplot.sdplot_unittest_base

List of all members.

Public Member Functions

def setUp
def tearDown
def test_default
def test_overwrite
def test_badSelection
def test_noTweight
def test_noPweight
def test_badLincat
def test_badStack

Static Public Attributes

string infile
string outfile
int badid
string badstr

Detailed Description

Test bad input parameters and exceptions

The list of tests:
  test_default    --- default parameters (raises an error)

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=self.infile)

Definition at line 156 of file test_sdplot.py.


Member Function Documentation

Definition at line 175 of file test_sdplot.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_msmoments.msmoments_unittest_base.datapath, tests.test_sdgrid.sdgrid_unittest_base.datapath, tests.test_sdflagmanager.sdflagmanager_test.datapath, tests.test_sdflag.sdflag_test.datapath, tests.test_sdimprocess.sdimprocess_unittest_base.datapath, tests.test_sdmath.sdmath_unittest_base.datapath, tests.test_sdcal.sdcal_unittest_base.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_sdplot.sdplot_errorTest.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, asap.asapgrid.asapgrid.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, and tests.test_sdplot.sdplot_unittest_base.usegui.

test_default: Default parameters (should Fail)

Definition at line 193 of file test_sdplot.py.

test_overwrite: Specify existing output file name with overwrite=False (task script raises Exception)

Definition at line 198 of file test_sdplot.py.

References asap.asapgrid.asapgrid_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, task_sdgrid.sdgrid_worker.infile, tests.test_sdplot.sdplot_errorTest.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, asap.asapgrid.asapgrid.infile, tests.test_sdbaseline.sdbaseline_maskTest.infile, asap.asapgrid._SDGridPlotter.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdbaseline.sdbaseline_storageTest.infile, asap.asapgrid.asapgrid_base.outfile, tests.test_sdgrid.sdgrid_unittest_base.outfile, task_sdtpimaging.sdtpimaging_worker.outfile, task_sdimprocess.sdimprocess_worker.outfile, tests.test_sdimprocess.sdimprocess_test0.outfile, tests.test_msmoments.msmoments_test0.outfile, tests.test_sdimaging.sdimaging_test0.outfile, tests.test_sdmath.sdmath_test0.outfile, tests.test_sdplot.sdplot_errorTest.outfile, tests.test_sdimprocess.sdimprocess_test1.outfile, tests.test_msmoments.msmoments_test1.outfile, tests.test_sdcal.sdcal_test0.outfile, tests.test_sdimprocess.sdimprocess_test2.outfile, asap.asapgrid.asapgrid.outfile, tests.test_sdimaging.sdimaging_test1.outfile, tests.test_sdmath.sdmath_test1.outfile, asap.asapgrid._SDGridPlotter.outfile, tests.test_sdimaging.sdimaging_test2.outfile, tests.test_sdmath.sdmath_test2.outfile, tests.test_sdimaging.sdimaging_test3.outfile, tests.test_sdmath.sdmath_test3.outfile, and tests.test_immath.immath_test2.outfile.


Member Data Documentation

Definition at line 173 of file test_sdplot.py.

Referenced by tests.test_sdplot.sdplot_errorTest.test_badLincat().

Definition at line 170 of file test_sdplot.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_sdsmooth.sdsmooth_basicTest.setUp(), tests.test_sdplot.sdplot_errorTest.setUp(), tests.test_sdstat.sdstat_basicTest.setUp(), tests.test_sdplot.sdplot_basicTest.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_sdstat.sdstat_exceptions.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_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_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_sdstat.sdstat_exceptions.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_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_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_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_sdstat.sdstat_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_sdplot.sdplot_storageTest.testDT(), tests.test_sdsave.sdsave_storageTest.testDT(), 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_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_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 171 of file test_sdplot.py.

Referenced by task_sdfit.sdfit_worker.__store_fit(), task_sdlist.sdlist_worker.execute(), task_sdimaging.sdimaging_worker.execute(), task_sdflag.sdflag_worker.parameter_check(), task_sdimaging.sdimaging_worker.parameter_check(), task_sdplot.sdplot_worker.plot_azel(), task_sdplot.sdplot_worker.plot_pointing(), task_sdscale.sdscale_worker.save(), task_sdsave.sdsave_worker.save(), task_sdfit.sdfit_worker.save(), task_sdplot.sdplot_worker.save(), task_sdstat.sdstat_worker.save(), task_sdmath.sdmath_worker.save(), tests.test_sdsave.sdsave_test0.test001(), tests.test_sdscale.sdscale_test0.test001(), tests.test_sdsave.sdsave_test0.test002(), tests.test_sdscale.sdscale_test0.test002(), tests.test_sdscale.sdscale_test0.test003(), tests.test_sdscale.sdscale_test1.test100(), tests.test_sdscale.sdscale_test1.test101(), tests.test_sdscale.sdscale_test1.test102(), tests.test_sdscale.sdscale_test1.test103(), tests.test_sdscale.sdscale_test1.test104(), tests.test_sdscale.sdscale_test1.test105(), tests.test_sdscale.sdscale_test1.test106(), tests.test_sdscale.sdscale_test1.test107(), tests.test_sdscale.sdscale_test2.test200(), tests.test_sdscale.sdscale_test2.test201(), tests.test_sdscale.sdscale_test2.test202(), tests.test_sdscale.sdscale_test2.test203(), tests.test_sdscale.sdscale_test2.test204(), tests.test_sdscale.sdscale_test2.test205(), tests.test_sdscale.sdscale_test2.test206(), tests.test_sdscale.sdscale_test2.test207(), tests.test_sdscale.sdscale_test3.test300(), tests.test_sdscale.sdscale_test3.test301(), tests.test_sdscale.sdscale_test3.test302(), tests.test_sdscale.sdscale_test3.test303(), tests.test_sdscale.sdscale_test3.test304(), tests.test_sdscale.sdscale_test3.test305(), tests.test_sdscale.sdscale_test3.test306(), tests.test_sdscale.sdscale_test3.test307(), tests.test_sdscale.sdscale_test4.test400(), tests.test_sdscale.sdscale_test4.test401(), tests.test_sdscale.sdscale_test4.test402(), tests.test_sdscale.sdscale_test4.test403(), tests.test_sdscale.sdscale_test4.test404(), tests.test_sdscale.sdscale_test4.test405(), tests.test_sdscale.sdscale_test4.test406(), tests.test_sdscale.sdscale_test4.test407(), and tests.test_sdplot.sdplot_errorTest.test_overwrite().


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