Public Member Functions | |
def | __init__ |
def | __del__ |
def | parameter_check |
def | initialize_scan |
def | execute |
def | save |
def | cleanup |
Public Attributes | |
doguess | |
restorer | |
scan | |
fluxunit_saved | |
fluxunit | |
fitter | |
fitresult | |
fitparams | |
fitmode | |
defaultmask | |
linelist | |
nlines | |
nfit | |
plotlevel | |
Private Member Functions | |
def | __fit |
def | __initial_guess |
def | __get_initial_guess |
def | __update_params |
def | __set_linelist |
def | _set_linelist_list |
def | _set_linelist_interact |
def | _set_linelist_auto |
def | __store_fit |
def | __init_plot |
def | __plot |
def | __warn_fit_failed |
Definition at line 26 of file task_sdfit.py.
def task_sdfit.sdfit_worker.__init__ | ( | self, | |
kwargs | |||
) |
Reimplemented from sdutil.sdtask_template.
Definition at line 27 of file task_sdfit.py.
def task_sdfit.sdfit_worker.__del__ | ( | self | ) |
Definition at line 30 of file task_sdfit.py.
References partitionhelper.convertToMMS.cleanup, task_sdfit.sdfit_worker.cleanup(), task_sdcoadd.sdcoadd_worker.cleanup(), and sdutil.sdtask_template_imaging.cleanup().
def task_sdfit.sdfit_worker.__fit | ( | self | ) | [private] |
Definition at line 90 of file task_sdfit.py.
def task_sdfit.sdfit_worker.__get_initial_guess | ( | self, | |
msk, | |||
linerange, | |||
dbw, | |||
irow | |||
) | [private] |
Definition at line 198 of file task_sdfit.py.
References parallel.pimager.pimager.scan, asap.interactivemask.interactivemask.scan, parallel.parallel_cont.imagecont.scan, task_sdcal.sdcal_worker.scan, task_sdbaseline.sdbaseline_worker.scan, task_sdfit.sdfit_worker.scan, task_sdcoadd.sdcoadd_worker.scan, and irc_cs_task_regression.sum.
Referenced by task_sdfit.sdfit_worker.__initial_guess().
def task_sdfit.sdfit_worker.__init_plot | ( | self | ) | [private] |
Definition at line 341 of file task_sdfit.py.
References sdutil.get_plotter(), and task_sdfit.sdfit_worker.plotlevel.
def task_sdfit.sdfit_worker.__initial_guess | ( | self, | |
dbw, | |||
numfit, | |||
comps, | |||
irow | |||
) | [private] |
Definition at line 169 of file task_sdfit.py.
References task_sdfit.sdfit_worker.__get_initial_guess(), task_sdfit.sdfit_worker.defaultmask, asap.asapfitter.fitter.fitfunc, parameter_dictionary.par.fitfunc(), task_sdfit.sdfit_worker.fitmode, asap.asapfitter.fitter.fitter, casac.casac.fitter, task_sdfit.sdfit_worker.fitter, and task_sdfit.sdfit_worker.linelist.
def task_sdfit.sdfit_worker.__plot | ( | self, | |
irow, | |||
fitted, | |||
firstplot = False |
|||
) | [private] |
Definition at line 359 of file task_sdfit.py.
References make_mmsdata.all, listvis_regression.array, and task_sdfit.plot_line().
Referenced by task_sdtpimaging.sdtpimaging_worker.execute().
def task_sdfit.sdfit_worker.__set_linelist | ( | self | ) | [private] |
Definition at line 227 of file task_sdfit.py.
def task_sdfit.sdfit_worker.__store_fit | ( | self | ) | [private] |
Definition at line 318 of file task_sdfit.py.
References sdtpimaging_regression.file, asap.asapfitter.fitter.fitfunc, parameter_dictionary.par.fitfunc(), task_sdfit.sdfit_worker.fitparams, sdutil.get_abspath(), asap.asapgrid.asapgrid_base.outfile, tests.test_sdgrid.sdgrid_unittest_base.outfile, task_sdtpimaging.sdtpimaging_worker.outfile, task_sdimprocess.sdimprocess_worker.outfile, tests.test_sdtpimaging.sdtpimaging_test0.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_sdtpimaging.sdtpimaging_test1.outfile, tests.test_sdimprocess.sdimprocess_test1.outfile, tests.test_msmoments.msmoments_test1.outfile, tests.test_sdtpimaging.sdtpimaging_test2.outfile, tests.test_sdscale.sdscale_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_sdscale.sdscale_test2.outfile, tests.test_sdmath.sdmath_test1.outfile, asap.asapgrid._SDGridPlotter.outfile, tests.test_sdscale.sdscale_test3.outfile, tests.test_sdimaging.sdimaging_test2.outfile, tests.test_sdscale.sdscale_test4.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, and parameter_dictionary.par.outfile().
Referenced by task_sdfit.sdfit_worker.save().
def task_sdfit.sdfit_worker.__update_params | ( | self, | |
ncomps | |||
) | [private] |
Definition at line 206 of file task_sdfit.py.
References listvis_regression.array, task_sdfit.sdfit_worker.fitresult, and tests.test_imcontsub.list.
def task_sdfit.sdfit_worker.__warn_fit_failed | ( | self, | |
irow, | |||
message = '' |
|||
) | [private] |
Definition at line 408 of file task_sdfit.py.
def task_sdfit.sdfit_worker._set_linelist_auto | ( | self | ) | [private] |
Definition at line 283 of file task_sdfit.py.
References parameter_dictionary.par.avg_limit(), parameter_dictionary.par.box_size(), task_sdfit.sdfit_worker.defaultmask, parameter_dictionary.par.edge(), gprof2dot.DotWriter.edge(), parameter_dictionary.par.invertmask(), parameter_dictionary.par.maskline(), parameter_dictionary.par.min_nchan(), task_sdfit.sdfit_worker.nlines, parallel.pimager.pimager.scan, asap.interactivemask.interactivemask.scan, parallel.parallel_cont.imagecont.scan, task_sdcal.sdcal_worker.scan, task_sdbaseline.sdbaseline_worker.scan, task_sdfit.sdfit_worker.scan, task_sdcoadd.sdcoadd_worker.scan, task_sdimprocess.sdimprocess_worker.thresh, parameter_dictionary.par.thresh(), and task_sdfit.to_list_of_list().
def task_sdfit.sdfit_worker._set_linelist_interact | ( | self | ) | [private] |
Definition at line 256 of file task_sdfit.py.
References task_sdfit.sdfit_worker.defaultmask, sdutil.get_interactive_mask(), sdutil.init_interactive_mask(), parameter_dictionary.par.invertmask(), task_sdfit.sdfit_worker.linelist, parameter_dictionary.par.maskline(), task_sdfit.sdfit_worker.nfit, task_sdfit.sdfit_worker.nlines, parallel.pimager.pimager.scan, asap.interactivemask.interactivemask.scan, parallel.parallel_cont.imagecont.scan, task_sdcal.sdcal_worker.scan, task_sdbaseline.sdbaseline_worker.scan, task_sdfit.sdfit_worker.scan, and task_sdcoadd.sdcoadd_worker.scan.
def task_sdfit.sdfit_worker._set_linelist_list | ( | self | ) | [private] |
Definition at line 233 of file task_sdfit.py.
References task_sdfit.sdfit_worker.defaultmask, parameter_dictionary.par.invertmask(), task_sdfit.sdfit_worker.linelist, parameter_dictionary.par.maskline(), task_sdfit.sdfit_worker.nlines, and task_sdfit.to_list_of_list().
def task_sdfit.sdfit_worker.cleanup | ( | self | ) |
Definition at line 85 of file task_sdfit.py.
References task_sdfit.sdfit_worker.restorer, and task_sdcoadd.sdcoadd_worker.restorer.
Referenced by task_sdfit.sdfit_worker.__del__(), task_sdimprocess.sdimprocess_worker.__del__(), task_sdsave.sdsave_worker.__del__(), task_sdstat.sdstat_worker.__del__(), task_sdreduce.sdreduce_worker.__del__(), 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 task_sdfit.sdfit_worker.execute | ( | self | ) |
Reimplemented from sdutil.sdtask_interface.
Definition at line 69 of file task_sdfit.py.
References task_sdcoadd.sdcoadd_worker.set_to_scan().
def task_sdfit.sdfit_worker.initialize_scan | ( | self | ) |
Definition at line 37 of file task_sdfit.py.
References parameter_dictionary.par.antenna(), task_sdimaging.sdimaging_worker.antenna, __casac__.calanalysis.calanalysis.antenna(), task_sdtpimaging.sdtpimaging_worker.antenna, 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(), and tests.test_sdplot.sdplot_selectTest.infile.
def task_sdfit.sdfit_worker.parameter_check | ( | self | ) |
Definition at line 34 of file task_sdfit.py.
Referenced by task_sdgrid.sdgrid_worker.initialize(), and task_sdimprocess.sdimprocess_worker.initialize().
def task_sdfit.sdfit_worker.save | ( | self | ) |
Definition at line 80 of file task_sdfit.py.
References task_sdfit.sdfit_worker.__store_fit(), asap.asapgrid.asapgrid_base.outfile, tests.test_sdgrid.sdgrid_unittest_base.outfile, task_sdtpimaging.sdtpimaging_worker.outfile, task_sdimprocess.sdimprocess_worker.outfile, tests.test_sdtpimaging.sdtpimaging_test0.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_sdtpimaging.sdtpimaging_test1.outfile, tests.test_sdimprocess.sdimprocess_test1.outfile, tests.test_msmoments.msmoments_test1.outfile, tests.test_sdtpimaging.sdtpimaging_test2.outfile, tests.test_sdscale.sdscale_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_sdscale.sdscale_test2.outfile, tests.test_sdmath.sdmath_test1.outfile, asap.asapgrid._SDGridPlotter.outfile, tests.test_sdscale.sdscale_test3.outfile, tests.test_sdimaging.sdimaging_test2.outfile, tests.test_sdscale.sdscale_test4.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, and parameter_dictionary.par.outfile().
Definition at line 228 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__initial_guess(), task_sdfit.sdfit_worker._set_linelist_auto(), task_sdfit.sdfit_worker._set_linelist_interact(), and task_sdfit.sdfit_worker._set_linelist_list().
Definition at line 35 of file task_sdfit.py.
Definition at line 116 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__initial_guess().
Definition at line 94 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__store_fit().
Definition at line 93 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__update_params().
Definition at line 92 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__initial_guess().
Definition at line 73 of file task_sdfit.py.
Referenced by task_sdmath.sdmath_worker.execute(), task_sdplot.sdplot_worker.initialize_scan(), task_sdplot.sdplot_worker.plot_grid(), task_sdmath.sdmath_worker.save(), tests.test_sdplot.sdplot_storageTest.testDF(), tests.test_sdplot.sdplot_storageTest.testDT(), tests.test_sdplot.sdplot_storageTest.testMF(), and tests.test_sdplot.sdplot_storageTest.testMT().
Definition at line 58 of file task_sdfit.py.
Definition at line 229 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__initial_guess(), task_sdfit.sdfit_worker._set_linelist_interact(), and task_sdfit.sdfit_worker._set_linelist_list().
Definition at line 274 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker._set_linelist_interact().
Definition at line 230 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker._set_linelist_auto(), task_sdfit.sdfit_worker._set_linelist_interact(), and task_sdfit.sdfit_worker._set_linelist_list().
Definition at line 392 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.__init_plot(), task_sdcal.sdcal_engine.epilogue(), task_sdsmooth.sdsmooth_engine.epilogue(), task_sdflag.sdflag_worker.initialize_scan(), task_sdflag.sdflag_worker.posterior_plot(), task_sdflag.sdflag_worker.prior_plot(), task_sdsmooth.sdsmooth_engine.prologue(), task_sdcal.sdcal_engine.prologue(), and task_sdbaseline.sdbaseline_engine.prologue().
Definition at line 42 of file task_sdfit.py.
Referenced by task_sdfit.sdfit_worker.cleanup(), and task_sdstat.sdstat_worker.cleanup().
Definition at line 57 of file task_sdfit.py.
Referenced by task_sdplot.sdplot_worker.__dogrid(), task_sdfit.sdfit_worker.__get_initial_guess(), task_sdfit.sdfit_worker._set_linelist_auto(), task_sdfit.sdfit_worker._set_linelist_interact(), task_sdflag.sdflag_worker.command_flag(), task_sdflagmanager.sdflagmanager_worker.execute(), task_sdscale.sdscale_worker.execute(), task_sdsmooth.sdsmooth_worker.execute(), task_sdplot.sdplot_worker.execute(), task_sdflag.sdflag_worker.interactive_flag(), task_sdplot.sdplot_worker.plot_azel(), task_sdplot.sdplot_worker.plot_grid(), task_sdplot.sdplot_worker.plot_pointing(), task_sdplot.sdplot_worker.plot_spectra(), task_sdplot.sdplot_worker.plot_totalpower(), task_sdscale.sdscale_worker.save(), task_sdsave.sdsave_worker.save(), task_sdsmooth.sdsmooth_worker.save(), task_sdmath.sdmath_worker.save(), and task_sdflag.sdflag_worker.save().