Public Member Functions | |
def | __init__ |
def | initialize |
Public Attributes | |
outform | |
is_disk_storage | |
project |
The sdtask_template is a template class for standard worker class of non-imaging sdtasks. It partially implement initialize() and finalize() using internal methods that must be implemented in the derived classes. For initialize(), derived classes must implement initialize_scan(), which initializes scantable object and set it to self.scan. You can implement paramter_check() to do any task specific parameter check in initialize(). For finalize(), derived classes can implement save() and cleanup().
def sdutil.sdtask_template.__init__ | ( | self, | |
kwargs | |||
) |
Reimplemented from sdutil.sdtask_interface.
Reimplemented in task_sdreduce.sdreduce_worker, task_sdcal.sdcal_worker, task_sdstat.sdstat_worker, task_sdmath.sdmath_worker, task_sdplot.sdplot_worker, task_sdcoadd.sdcoadd_worker, task_sdbaseline.sdbaseline_worker, task_sdfit.sdfit_worker, task_sdsave.sdsave_worker, task_sdflag.sdflag_worker, task_sdsmooth.sdsmooth_worker, task_sdflagmanager.sdflagmanager_worker, task_sdscale.sdscale_worker, and task_sdlist.sdlist_worker.
def sdutil.sdtask_template.initialize | ( | self | ) |
Reimplemented from sdutil.sdtask_interface.
Reimplemented in task_sdcoadd.sdcoadd_worker, and task_sdmath.sdmath_worker.
Definition at line 58 of file sdutil.py.
References sdutil.assert_infile_exists(), asap.asapgrid.asapgrid_base.infile, tests.test_sdstat.sdstat_unittest_base.infile, tests.test_sdflagmanager.sdflagmanager_test.infile, tests.test_sdflag.sdflag_test.infile, tests.test_sdtpimaging.sdtpimaging_test0.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_sdtpimaging.sdtpimaging_test1.infile, tests.test_sdsave.sdsave_test1.infile, tests.test_sdbaseline.sdbaseline_basicTest.infile, tests.test_sdtpimaging.sdtpimaging_test2.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_sdsmooth.sdsmooth_storageTest.infile, tests.test_sdsave.sdsave_test7.infile, tests.test_sdbaseline.sdbaseline_multi_IF_test.infile, tests.test_sdstat.sdstat_exceptions.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, parameter_dictionary.par.infile(), tests.test_sdplot.sdplot_selectTest.infile, tests.test_sdlist.sdlist_test.infiles, tests.test_sdreduce.sdreduce_test.infiles, task_sdimprocess.sdimprocess_worker.infiles, and parameter_dictionary.par.infiles().
Referenced by tests.test_uvcontsub3.zeroth.setUp(), tests.test_uvcontsub.zeroth.setUp(), tests.test_uvcontsub3.fourth.setUp(), tests.test_split.SplitChecker.setUp(), tests.test_uvcontsub.fourth.setUp(), tests.test_uvcontsub3.combspw.setUp(), tests.test_uvcontsub3.knowncombspw.setUp(), and tests.test_uvcontsub.combspw.setUp().
Definition at line 56 of file sdutil.py.
Referenced by task_sdmath.sdmath_worker.execute(), task_sdsmooth.sdsmooth_worker.initialize_scan(), task_sdcal.sdcal_worker.initialize_scan(), task_sdbaseline.sdbaseline_worker.initialize_scan(), and task_sdflag.sdflag_worker.initialize_scan().
Reimplemented in task_sdscale.sdscale_worker.
Definition at line 55 of file sdutil.py.
Referenced by task_sdscale.sdscale_worker.save(), task_sdsave.sdsave_worker.save(), task_sdsmooth.sdsmooth_worker.save(), task_sdbaseline.sdbaseline_worker.save(), task_sdcoadd.sdcoadd_worker.save(), task_sdmath.sdmath_worker.save(), and task_sdflag.sdflag_worker.save().
Reimplemented in task_sdflag.sdflag_worker.
Definition at line 69 of file sdutil.py.
Referenced by task_sdsmooth.sdsmooth_engine.epilogue(), task_sdflag.sdflag_worker.initialize_scan(), task_sdflag.sdflag_worker.posterior_plot(), task_sdsmooth.sdsmooth_engine.prologue(), task_sdsmooth.sdsmooth_worker.save(), task_sdbaseline.sdbaseline_worker.save(), task_sdcoadd.sdcoadd_worker.save(), task_sdflag.sdflag_worker.save(), tests.test_simobserve.simobserve_badinputs.setUp(), tests.test_simobserve.simobserve_sky.tearDown(), tests.test_simobserve.simobserve_noise.tearDown(), tests.test_simobserve.simobserve_badinputs.tearDown(), tests.test_simobserve.simobserve_badinputs.test_notComp(), tests.test_simobserve.simobserve_badinputs.test_notImage(), tests.test_simobserve.simobserve_badinputs.test_notPtgfile(), tests.test_simobserve.simobserve_badinputs.testBad_antennalist(), tests.test_simobserve.simobserve_badinputs.testBad_caldirection(), tests.test_simobserve.simobserve_badinputs.testBad_calflux(), tests.test_simobserve.simobserve_badinputs.testBad_complist(), tests.test_simobserve.simobserve_badinputs.testBad_compwidth(), tests.test_simobserve.simobserve_badinputs.testBad_direction(), tests.test_simobserve.simobserve_badinputs.testBad_graphics(), tests.test_simobserve.simobserve_badinputs.testBad_hourangle(), tests.test_simobserve.simobserve_badinputs.testBad_inbright(), tests.test_simobserve.simobserve_badinputs.testBad_incell(), tests.test_simobserve.simobserve_badinputs.testBad_incenter(), tests.test_simobserve.simobserve_badinputs.testBad_indirection(), tests.test_simobserve.simobserve_badinputs.testBad_integration(), tests.test_simobserve.simobserve_badinputs.testBad_inwidth(), tests.test_simobserve.simobserve_badinputs.testBad_leakage(), tests.test_simobserve.simobserve_badinputs.testBad_mapsize(), tests.test_simobserve.simobserve_badinputs.testBad_maptype(), tests.test_simobserve.simobserve_badinputs.testBad_noisetype(), tests.test_simobserve.simobserve_badinputs.testBad_obsmode(), tests.test_simobserve.simobserve_badinputs.testBad_ptgfile(), tests.test_simobserve.simobserve_badinputs.testBad_pwv(), tests.test_simobserve.simobserve_badinputs.testBad_refdate(), tests.test_simobserve.simobserve_badinputs.testBad_sdant(), tests.test_simobserve.simobserve_badinputs.testBad_sdantlist(), tests.test_simobserve.simobserve_badinputs.testBad_skymodel(), tests.test_simobserve.simobserve_badinputs.testBad_spacing(), tests.test_simobserve.simobserve_badinputs.testBad_tau0(), tests.test_simobserve.simobserve_badinputs.testBad_Tground(), tests.test_simobserve.simobserve_badinputs.testBad_totaltime(), tests.test_simobserve.simobserve_badinputs.testBad_Tsky(), tests.test_simobserve.simobserve_noise.testNZ_sdAtm(), tests.test_simobserve.simobserve_noise.testNZ_sdAtm_dnu(), tests.test_simobserve.simobserve_noise.testNZ_sdAtm_el(), tests.test_simobserve.simobserve_noise.testNZ_sdAtm_pwv(), tests.test_simobserve.simobserve_noise.testNZ_sdAtm_tint(), tests.test_simobserve.simobserve_noise.testNZ_sdMan(), tests.test_simobserve.simobserve_noise.testNZ_sdMan_dnu(), tests.test_simobserve.simobserve_noise.testNZ_sdMan_el(), tests.test_simobserve.simobserve_noise.testNZ_sdMan_tau(), tests.test_simobserve.simobserve_noise.testNZ_sdMan_tint(), tests.test_simobserve.simobserve_sky.testSky_almaptg(), tests.test_simobserve.simobserve_sky.testSky_hexptg(), tests.test_simobserve.simobserve_sky.testSky_intAll(), tests.test_simobserve.simobserve_sky.testSky_intObs(), tests.test_simobserve.simobserve_sky.testSky_sdAll(), tests.test_simobserve.simobserve_sky.testSky_sdObs(), tests.test_simobserve.simobserve_sky.testSky_skymodel(), and tests.test_simobserve.simobserve_sky.testSky_sqptg().