Public Member Functions | |
def | __init__ |
def | __del__ |
def | open_table |
def | close_table |
def | open_imager |
def | close_imager |
def | initialize |
def | finalize |
def | parameter_check |
def | compile |
def | cleanup |
Public Attributes | |
is_table_opened | |
is_imager_opened | |
imager | |
field_table | |
spw_table | |
source_table | |
antenna_table | |
polarization_table | |
observation_table | |
pointing_table | |
data_desc_table | |
Private Member Functions | |
def | __set_subtable_name |
The sdtask_template_imaging is a template class for worker class of imaging related sdtasks. It partially implement initialize() and finalize() using internal methods that must be implemented in the derived classes. For initialize(), derived classes must implement compile(), which sets up imaging parameters. You can implement paramter_check() to do any task specific parameter check in initialize(). For finalize(), derived classes can implement cleanup().
def sdutil.sdtask_template_imaging.__init__ | ( | self, | |
kwargs | |||
) |
Reimplemented from sdutil.sdtask_interface.
Reimplemented in task_sdtpimaging.sdtpimaging_worker, and task_sdimaging.sdimaging_worker.
def sdutil.sdtask_template_imaging.__del__ | ( | self | ) |
Definition at line 154 of file sdutil.py.
References sdutil.sdtask_template_imaging.close_imager(), and sdutil.sdtask_template_imaging.close_table().
def sdutil.sdtask_template_imaging.__set_subtable_name | ( | self | ) | [private] |
def sdutil.sdtask_template_imaging.cleanup | ( | self | ) |
Definition at line 204 of file sdutil.py.
Referenced by task_sdfit.sdfit_worker.__del__(), task_sdimprocess.sdimprocess_worker.__del__(), task_sdsave.sdsave_worker.__del__(), task_sdcoadd.sdcoadd_worker.__del__(), task_sdstat.sdstat_worker.__del__(), task_sdreduce.sdreduce_worker.__del__(), sdutil.sdtask_template_imaging.finalize(), task_sdimprocess.sdimprocess_worker.finalize(), tests.test_uvcontsub3.zeroth.tearDown(), tests.test_uvcontsub.zeroth.tearDown(), tests.test_uvcontsub3.fourth.tearDown(), tests.test_uvcontsub.fourth.tearDown(), tests.test_uvcontsub3.combspw.tearDown(), tests.test_uvcontsub3.knowncombspw.tearDown(), and tests.test_uvcontsub.combspw.tearDown().
def sdutil.sdtask_template_imaging.close_imager | ( | self | ) |
Definition at line 179 of file sdutil.py.
References sdutil.sdtask_template_imaging.is_imager_opened.
Referenced by sdutil.sdtask_template_imaging.__del__(), task_sdtpimaging.sdtpimaging_worker.__execute_imaging(), task_sdimaging.sdimaging_worker.execute(), and sdutil.sdtask_template_imaging.finalize().
def sdutil.sdtask_template_imaging.close_table | ( | self | ) |
Definition at line 167 of file sdutil.py.
References sdutil.sdtask_template_imaging.is_table_opened.
Referenced by task_sdtpimaging.sdtpimaging_worker.__backup(), sdutil.sdtask_template_imaging.__del__(), task_sdtpimaging.sdtpimaging_worker.__execute_flag(), and sdutil.sdtask_template_imaging.finalize().
def sdutil.sdtask_template_imaging.compile | ( | self | ) |
Reimplemented in task_sdtpimaging.sdtpimaging_worker, and task_sdimaging.sdimaging_worker.
Definition at line 201 of file sdutil.py.
Referenced by sdutil.sdtask_template_imaging.initialize().
def sdutil.sdtask_template_imaging.finalize | ( | self | ) |
Reimplemented from sdutil.sdtask_interface.
Definition at line 193 of file sdutil.py.
References partitionhelper.convertToMMS.cleanup, sdutil.sdtask_template_imaging.cleanup(), sdutil.sdtask_template_imaging.close_imager(), and sdutil.sdtask_template_imaging.close_table().
def sdutil.sdtask_template_imaging.initialize | ( | self | ) |
Reimplemented from sdutil.sdtask_interface.
Definition at line 184 of file sdutil.py.
References sdutil.sdtask_template_imaging.compile(), 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, asap.scantable.is_ms(), and sdutil.sdtask_template_imaging.parameter_check().
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().
def sdutil.sdtask_template_imaging.open_imager | ( | self, | |
name | |||
) |
Definition at line 172 of file sdutil.py.
References sdutil.sdtask_template_imaging.is_imager_opened.
Referenced by task_sdtpimaging.sdtpimaging_worker.__execute_imaging(), and task_sdimaging.sdimaging_worker.execute().
def sdutil.sdtask_template_imaging.open_table | ( | self, | |
name, | |||
nomodify = True |
|||
) |
Definition at line 160 of file sdutil.py.
References sdutil.sdtask_template_imaging.is_table_opened.
Referenced by task_sdtpimaging.sdtpimaging_worker.__backup(), task_sdtpimaging.sdtpimaging_worker.__compile_common(), task_sdtpimaging.sdtpimaging_worker.__execute_baseline(), task_sdtpimaging.sdtpimaging_worker.__execute_flag(), and task_sdtpimaging.sdtpimaging_worker.parameter_check().
def sdutil.sdtask_template_imaging.parameter_check | ( | self | ) |
Reimplemented in task_sdtpimaging.sdtpimaging_worker, and task_sdimaging.sdimaging_worker.
Definition at line 198 of file sdutil.py.
Referenced by task_sdgrid.sdgrid_worker.initialize(), task_sdimprocess.sdimprocess_worker.initialize(), and sdutil.sdtask_template_imaging.initialize().
Definition at line 214 of file sdutil.py.
Referenced by task_sdtpimaging.sdtpimaging_worker.__compile_common().
Definition at line 150 of file sdutil.py.
Referenced by sdutil.sdtask_template_imaging.close_imager(), and sdutil.sdtask_template_imaging.open_imager().
Definition at line 149 of file sdutil.py.
Referenced by sdutil.sdtask_template_imaging.close_table(), and sdutil.sdtask_template_imaging.open_table().