casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Public Attributes
tests.test_sdscale.sdscale_test0 Class Reference
Inheritance diagram for tests.test_sdscale.sdscale_test0:
tests.test_sdscale.sdscale_unittest_base

List of all members.

Public Member Functions

def setUp
def tearDown
def test000
def test001
def test002
def test003

Public Attributes

 res

Static Public Attributes

string rawfile
string prefix
string outfile

Detailed Description

Test on bad parameter setting

Test data, sdscale1.asap, is artificial data with the following
status:

   - nrow = 2
   - nchan = 4 for spectral data
   - 1 Tsys value for each spectrum
   - all spectral values are 1.0
   - all Tsys values are 1.0

Definition at line 121 of file test_sdscale.py.


Member Function Documentation

Definition at line 140 of file test_sdscale.py.

Definition at line 147 of file test_sdscale.py.

References tests.test_partition.test_base.prefix, tests.test_fluxscale.fluxscale1_test.prefix, tests.test_sdimprocess.sdimprocess_test0.prefix, tests.test_msmoments.msmoments_test0.prefix, tests.test_sdgrid.sdgrid_failure_case.prefix, tests.test_sdsave.sdsave_test0.prefix, tests.test_sdimaging.sdimaging_test0.prefix, tests.test_sdscale.sdscale_test0.prefix, tests.test_sdmath.sdmath_test0.prefix, tests.test_sdsave.sdsave_test1.prefix, tests.test_sdimprocess.sdimprocess_test1.prefix, tests.test_msmoments.msmoments_test1.prefix, tests.test_sdcal.sdcal_test0.prefix, tests.test_sdsave.sdsave_test2.prefix, tests.test_sdimprocess.sdimprocess_test2.prefix, tests.test_sdimaging.sdimaging_test1.prefix, tests.test_sdcal.sdcal_test1.prefix, tests.test_sdmath.sdmath_test1.prefix, tests.test_sdsave.sdsave_test3.prefix, tests.test_sdcal.sdcal_test2.prefix, tests.test_sdsave.sdsave_test4.prefix, tests.test_sdcal.sdcal_test3.prefix, tests.test_sdsave.sdsave_test5.prefix, tests.test_sdcal.sdcal_test4.prefix, tests.test_sdcal.sdcal_test5.prefix, tests.test_sdsave.sdsave_test6.prefix, tests.test_sdimaging.sdimaging_test2.prefix, tests.test_sdmath.sdmath_test2.prefix, tests.test_sdcal.sdcal_test6.prefix, tests.test_sdcal.sdcal_test7.prefix, tests.test_sdimaging.sdimaging_test3.prefix, tests.test_sdmath.sdmath_test3.prefix, tests.test_sdcal.sdcal_test8.prefix, tests.test_sdcal.sdcal_test9.prefix, tests.test_sdcal.sdcal_test_edgemarker_generic.prefix, tests.test_sdcal.sdcal_test_edgemarker_raster.prefix, tests.test_sdimaging.sdimaging_unittest_base.rawfile, tests.test_msmoments.msmoments_test0.rawfile, tests.test_sdgrid.sdgrid_failure_case.rawfile, tests.test_sdscale.sdscale_test0.rawfile, tests.test_sdmath.sdmath_test0.rawfile, tests.test_sdimprocess.sdimprocess_test1.rawfile, tests.test_sdgrid.sdgrid_single_integ.rawfile, tests.test_msmoments.msmoments_test1.rawfile, tests.test_sdcal.sdcal_test0.rawfile, tests.test_sdgrid.sdgrid_clipping.rawfile, tests.test_sdcal.sdcal_test1.rawfile, tests.test_sdmath.sdmath_test1.rawfile, tests.test_sdgrid.sdgrid_flagging.rawfile, tests.test_sdcal.sdcal_test2.rawfile, tests.test_sdcal.sdcal_test3.rawfile, tests.test_sdgrid.sdgrid_weighting.rawfile, tests.test_sdcal.sdcal_test4.rawfile, tests.test_sdcal.sdcal_test5.rawfile, tests.test_sdmath.sdmath_test2.rawfile, tests.test_sdcal.sdcal_test6.rawfile, tests.test_sdgrid.sdgrid_map.rawfile, tests.test_sdcal.sdcal_test7.rawfile, tests.test_sdgrid.sdgrid_dec_correction.rawfile, tests.test_sdmath.sdmath_storageTest.rawfile, tests.test_sdcal.sdcal_test8.rawfile, tests.test_sdgrid.sdgrid_grid_center.rawfile, tests.test_sdcal.sdcal_test9.rawfile, tests.test_sdcal.sdcal_test_edgemarker_generic.rawfile, and tests.test_sdcal.sdcal_test_edgemarker_raster.rawfile.

Test 000: Default parameters

Definition at line 152 of file test_sdscale.py.

Test 001: Existing outfile with overwrite=False

Definition at line 158 of file test_sdscale.py.

References 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_sdsave.sdsave_test0.outfile, tests.test_sdimaging.sdimaging_test0.outfile, tests.test_sdscale.sdscale_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, tests.test_immath.immath_test2.outfile, tests.test_sdimaging.sdimaging_unittest_base.rawfile, tests.test_msmoments.msmoments_test0.rawfile, tests.test_sdgrid.sdgrid_failure_case.rawfile, tests.test_sdscale.sdscale_test0.rawfile, tests.test_sdmath.sdmath_test0.rawfile, tests.test_sdimprocess.sdimprocess_test1.rawfile, tests.test_sdgrid.sdgrid_single_integ.rawfile, tests.test_msmoments.msmoments_test1.rawfile, tests.test_sdcal.sdcal_test0.rawfile, tests.test_sdgrid.sdgrid_clipping.rawfile, tests.test_sdcal.sdcal_test1.rawfile, tests.test_sdmath.sdmath_test1.rawfile, tests.test_sdgrid.sdgrid_flagging.rawfile, tests.test_sdcal.sdcal_test2.rawfile, tests.test_sdcal.sdcal_test3.rawfile, tests.test_sdgrid.sdgrid_weighting.rawfile, tests.test_sdcal.sdcal_test4.rawfile, tests.test_sdcal.sdcal_test5.rawfile, tests.test_sdmath.sdmath_test2.rawfile, tests.test_sdcal.sdcal_test6.rawfile, tests.test_sdgrid.sdgrid_map.rawfile, tests.test_sdcal.sdcal_test7.rawfile, tests.test_sdgrid.sdgrid_dec_correction.rawfile, tests.test_sdmath.sdmath_storageTest.rawfile, tests.test_sdcal.sdcal_test8.rawfile, tests.test_sdgrid.sdgrid_grid_center.rawfile, tests.test_sdcal.sdcal_test9.rawfile, tests.test_sdcal.sdcal_test_edgemarker_generic.rawfile, and tests.test_sdcal.sdcal_test_edgemarker_raster.rawfile.

Test 002: Bad shaped factor

Definition at line 170 of file test_sdscale.py.

References 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_sdsave.sdsave_test0.outfile, tests.test_sdimaging.sdimaging_test0.outfile, tests.test_sdscale.sdscale_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, tests.test_immath.immath_test2.outfile, tests.test_sdimaging.sdimaging_unittest_base.rawfile, tests.test_msmoments.msmoments_test0.rawfile, tests.test_sdgrid.sdgrid_failure_case.rawfile, tests.test_sdscale.sdscale_test0.rawfile, tests.test_sdmath.sdmath_test0.rawfile, tests.test_sdimprocess.sdimprocess_test1.rawfile, tests.test_sdgrid.sdgrid_single_integ.rawfile, tests.test_msmoments.msmoments_test1.rawfile, tests.test_sdcal.sdcal_test0.rawfile, tests.test_sdgrid.sdgrid_clipping.rawfile, tests.test_sdcal.sdcal_test1.rawfile, tests.test_sdmath.sdmath_test1.rawfile, tests.test_sdgrid.sdgrid_flagging.rawfile, tests.test_sdcal.sdcal_test2.rawfile, tests.test_sdcal.sdcal_test3.rawfile, tests.test_sdgrid.sdgrid_weighting.rawfile, tests.test_sdcal.sdcal_test4.rawfile, tests.test_sdcal.sdcal_test5.rawfile, tests.test_sdmath.sdmath_test2.rawfile, tests.test_sdcal.sdcal_test6.rawfile, tests.test_sdgrid.sdgrid_map.rawfile, tests.test_sdcal.sdcal_test7.rawfile, tests.test_sdgrid.sdgrid_dec_correction.rawfile, tests.test_sdmath.sdmath_storageTest.rawfile, tests.test_sdcal.sdcal_test8.rawfile, tests.test_sdgrid.sdgrid_grid_center.rawfile, tests.test_sdcal.sdcal_test9.rawfile, tests.test_sdcal.sdcal_test_edgemarker_generic.rawfile, and tests.test_sdcal.sdcal_test_edgemarker_raster.rawfile.

Test 003: Try to scale non-conform Tsys

Definition at line 182 of file test_sdscale.py.

References 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_sdsave.sdsave_test0.outfile, tests.test_sdimaging.sdimaging_test0.outfile, tests.test_sdscale.sdscale_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, tests.test_immath.immath_test2.outfile, tests.test_sdimaging.sdimaging_unittest_base.rawfile, tests.test_msmoments.msmoments_test0.rawfile, tests.test_sdgrid.sdgrid_failure_case.rawfile, tests.test_sdscale.sdscale_test0.rawfile, tests.test_sdmath.sdmath_test0.rawfile, tests.test_sdimprocess.sdimprocess_test1.rawfile, tests.test_sdgrid.sdgrid_single_integ.rawfile, tests.test_msmoments.msmoments_test1.rawfile, tests.test_sdcal.sdcal_test0.rawfile, tests.test_sdgrid.sdgrid_clipping.rawfile, tests.test_sdcal.sdcal_test1.rawfile, tests.test_sdmath.sdmath_test1.rawfile, tests.test_sdgrid.sdgrid_flagging.rawfile, tests.test_sdcal.sdcal_test2.rawfile, tests.test_sdcal.sdcal_test3.rawfile, tests.test_sdgrid.sdgrid_weighting.rawfile, tests.test_sdcal.sdcal_test4.rawfile, tests.test_sdcal.sdcal_test5.rawfile, tests.test_sdmath.sdmath_test2.rawfile, tests.test_sdcal.sdcal_test6.rawfile, tests.test_sdgrid.sdgrid_map.rawfile, tests.test_sdcal.sdcal_test7.rawfile, tests.test_sdgrid.sdgrid_dec_correction.rawfile, tests.test_sdmath.sdmath_storageTest.rawfile, tests.test_sdcal.sdcal_test8.rawfile, tests.test_sdgrid.sdgrid_grid_center.rawfile, tests.test_sdcal.sdcal_test9.rawfile, tests.test_sdcal.sdcal_test_edgemarker_generic.rawfile, and tests.test_sdcal.sdcal_test_edgemarker_raster.rawfile.


Member Data Documentation

Definition at line 138 of file test_sdscale.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_sdscale.sdscale_test0.test001(), 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(), and tests.test_sdscale.sdscale_test4.test407().

Definition at line 136 of file test_sdscale.py.

Referenced by tests.test_sdgrid.sdgrid_unittest_base.addrow(), tests.test_sdscale.sdscale_test0.tearDown(), tests.test_sdscale.sdscale_test1.tearDown(), tests.test_sdscale.sdscale_test2.tearDown(), tests.test_sdscale.sdscale_test3.tearDown(), tests.test_sdscale.sdscale_test4.tearDown(), tests.test_sdscale.sdscale_test0.test001(), 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(), and tests.test_sdscale.sdscale_test4.test407().

Definition at line 141 of file test_sdscale.py.

Referenced by tests.test_smoothcal.smoothcal_test.setUp(), tests.test_vpmanager.vpmanager_test.setUp(), tests.test_vpmanager.vpmanager_test.test0(), tests.test_smoothcal.smoothcal_test.test0(), tests.test_sdtpimaging.sdtpimaging_test0.test000(), 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_vpmanager.vpmanager_test.test1(), tests.test_smoothcal.smoothcal_test.test1(), tests.test_smoothcal.smoothcal_test.test10(), tests.test_virtualconcat.test_virtualconcat.test10(), tests.test_sdtpimaging.sdtpimaging_test1.test100(), tests.test_vpmanager.vpmanager_test.test12(), tests.test_virtualconcat.test_virtualconcat.test12(), tests.test_vpmanager.vpmanager_test.test13(), tests.test_vpmanager.vpmanager_test.test14(), tests.test_vpmanager.vpmanager_test.test15(), tests.test_smoothcal.smoothcal_test.test2(), tests.test_virtualconcat.test_virtualconcat.test2(), tests.test_testconcat.test_testconcat.test2(), tests.test_sdtpimaging.sdtpimaging_test2.test200(), tests.test_smoothcal.smoothcal_test.test3(), tests.test_virtualconcat.test_virtualconcat.test3(), tests.test_testconcat.test_testconcat.test3(), tests.test_smoothcal.smoothcal_test.test4(), tests.test_virtualconcat.test_virtualconcat.test4(), tests.test_testconcat.test_testconcat.test4(), tests.test_smoothcal.smoothcal_test.test5(), tests.test_virtualconcat.test_virtualconcat.test5(), tests.test_testconcat.test_testconcat.test5(), tests.test_smoothcal.smoothcal_test.test6(), tests.test_virtualconcat.test_virtualconcat.test6(), tests.test_smoothcal.smoothcal_test.test7(), tests.test_vpmanager.vpmanager_test.test7(), tests.test_virtualconcat.test_virtualconcat.test7(), tests.test_smoothcal.smoothcal_test.test8(), tests.test_virtualconcat.test_virtualconcat.test8(), tests.test_smoothcal.smoothcal_test.test9(), tests.test_virtualconcat.test_virtualconcat.test9(), and tests.test_statwt.statwt_test.test_default().


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