Example #1
0
def sdaverageold(infile, antenna, field, spw, scan, pol, timeaverage, tweight,
                 scanaverage, averageall, polaverage, pweight, kernel, kwidth,
                 chanwidth, verify, plotlevel, outfile, outform, overwrite):
    with sdutil.sdtask_manager(sdaverage_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #2
0
def sdcal(infile, antenna, fluxunit, telescopeparam, field, spw, scan, pol,
          calmode, fraction, noff, width, elongated, markonly, plotpointings,
          tau, verify, outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdcal_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #3
0
def sdfitold(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq, frame, doppler, scan, pol, timeaverage, tweight, scanaverage, polaverage, pweight, fitfunc, fitmode, nfit, thresh, min_nchan, avg_limit, box_size, edge, outfile, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdfit_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
        
        return worker.result
Example #4
0
def sdstat(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq, frame, doppler, timerange, scan, pol, beam, timeaverage, tweight, scanaverage, polaverage, pweight, interactive, outfile, format, overwrite):
    with sdutil.sdtask_manager(sdstat_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
        
        return worker.returnstats
Example #5
0
def sdgridold(infiles, antenna, spw, scan, pol, gridfunction, convsupport,
              truncate, gwidth, jwidth, weight, clipminmax, outfile, overwrite,
              npix, cell, center, plot):
    with sdutil.sdtask_manager(sdgrid_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #6
0
def sdbaseline2old(infile, antenna, row, field, spw, restfreq, frame, doppler,
                   timerange, scan, pol, blmode, blparam, bltable, outfile,
                   overwrite, keeprows):
    with sdutil.sdtask_manager(sdbaseline2_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #7
0
def sdcal2old(infile, calmode, fraction, noff, width, elongated, tsysavg,
              tsysspw, applytable, interp, spwmap, field, spw, scan, pol,
              outfile, overwrite):
    casalog.post(str(locals()))
    with sdutil.sdtask_manager(sdcal2_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #8
0
def sdflag(infile, antenna, mode, unflag, field, spw, timerange, scan, pol,
           beam, restfreq, frame, doppler, clipminmax, clipoutside,
           showflagged, row, rasterrow, outfile, outform, overwrite,
           plotlevel):
    with sdutil.sdtask_manager(sdflag_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #9
0
def sdimaging(infiles, outfile, overwrite, field, spw, antenna, scan, intent,
              mode, nchan, start, width, veltype, outframe, gridfunction,
              convsupport, truncate, gwidth, jwidth, imsize, cell, phasecenter,
              ephemsrcname, pointingcolumn, restfreq, stokes, minweight):
    with sdutil.sdtask_manager(sdimaging_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #10
0
def sdstatold(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq,
              frame, doppler, timerange, scan, pol, beam, timeaverage, tweight,
              scanaverage, polaverage, pweight, interactive, outfile, format,
              overwrite):
    with sdutil.sdtask_manager(sdstat_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()

        return worker.returnstats
Example #11
0
def sdfitold(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq,
             frame, doppler, scan, pol, timeaverage, tweight, scanaverage,
             polaverage, pweight, fitfunc, fitmode, nfit, thresh, min_nchan,
             avg_limit, box_size, edge, outfile, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdfit_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()

        return worker.result
Example #12
0
def sdbaselineold(infile, antenna, fluxunit, telescopeparam, field, spw,
                  restfreq, frame, doppler, timerange, scan, pol, tau,
                  maskmode, thresh, avg_limit, edge, blfunc, order, npiece,
                  applyfft, fftmethod, fftthresh, addwn, rejwn, clipthresh,
                  clipniter, verify, verbose, bloutput, blformat, showprogress,
                  minnrow, outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdbaseline_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #13
0
def sdplotold(infile, antenna, fluxunit, telescopeparam, specunit, restfreq,
              frame, doppler, field, spw, scan, pol, beam, rastermode, raster,
              timeaverage, tweight, scanaverage, polaverage, pweight, kernel,
              kwidth, plottype, stack, panel, flrange, sprange, linecat,
              linedop, subplot, colormap, linestyles, linewidth, histogram,
              center, cell, scanpattern, header, headsize, plotstyle, margin,
              legendloc, outfile, overwrite):
    with sdutil.sdtask_manager(sdplot_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #14
0
def sdreduce(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq,
             frame, doppler, timerange, scan, pol, calmode, fraction, noff,
             width, elongated, markonly, plotpointings, tau, average,
             timeaverage, tweight, scanaverage, averageall, polaverage,
             pweight, kernel, kwidth, chanwidth, maskmode, thresh, avg_limit,
             edge, blfunc, order, npiece, applyfft, fftmethod, fftthresh,
             addwn, rejwn, clipthresh, clipniter, verifycal, verifysm,
             verifybl, verbosebl, bloutput, blformat, showprogress, minnrow,
             outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdreduce_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #15
0
def sdscale(infile, antenna, factor, scaletsys, outfile, overwrite, verbose):
    with sdutil.sdtask_manager(sdscale_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #16
0
def sdcal(infile, antenna, fluxunit, telescopeparam, field, spw, scan, pol, calmode, fraction, noff, width, elongated, markonly, plotpointings, tau, verify, outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdcal_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #17
0
def sdreduce(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq, frame, doppler, timerange, scan, pol, calmode, fraction, noff, width, elongated, markonly, plotpointings, tau, average, timeaverage, tweight, scanaverage, averageall, polaverage, pweight, kernel, kwidth, chanwidth, maskmode, thresh, avg_limit, edge, blfunc, order, npiece, applyfft, fftmethod, fftthresh, addwn, rejwn, clipthresh, clipniter, verifycal, verifysm, verifybl, verbosebl, bloutput, blformat, showprogress, minnrow, outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdreduce_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #18
0
def sdsave(infile, splitant, antenna, getpt, field, spw, timerange, scan, pol,
           beam, restfreq, outfile, outform, fillweight, overwrite):
    with sdutil.sdtask_manager(sdsave_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #19
0
def sdcoaddold(infiles, antenna, freqtol, outfile, outform, overwrite):
    with sdutil.sdtask_manager(sdcoadd_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #20
0
def sdflagmanager(infile, mode, versionname, oldname, comment, merge):
    with sdutil.sdtask_manager(sdflagmanager_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #21
0
def sdimprocess(infiles, mode, numpoly, beamsize, smoothsize, direction, masklist, tmax, tmin, outfile, overwrite):
    with sdutil.sdtask_manager(sdimprocess_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #22
0
def sdgridold(infiles, antenna, spw, scan, pol, gridfunction, convsupport, truncate, gwidth, jwidth, weight, clipminmax, outfile, overwrite, npix, cell, center, plot):
    with sdutil.sdtask_manager(sdgrid_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #23
0
def sdflag(infile, antenna, mode, unflag, field, spw, timerange, scan, pol, beam, restfreq, frame, doppler, clipminmax, clipoutside, showflagged, row, rasterrow, outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdflag_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #24
0
def sdaverage(infile, antenna, field, spw, scan, pol, timeaverage, tweight, scanaverage, averageall, polaverage, pweight, kernel, kwidth, chanwidth, verify, plotlevel, outfile, outform, overwrite):
    with sdutil.sdtask_manager(sdaverage_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #25
0
def sdcoadd(infiles, antenna, freqtol, outfile, outform, overwrite):
    with sdutil.sdtask_manager(sdcoadd_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #26
0
def sdsave(infile, splitant, antenna, getpt, field, spw, timerange, scan, pol, beam, restfreq, outfile, outform, fillweight, overwrite):
    with sdutil.sdtask_manager(sdsave_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #27
0
def sdbaseline(infile, antenna, fluxunit, telescopeparam, field, spw, restfreq, frame, doppler, timerange, scan, pol, tau, maskmode, thresh, avg_limit, edge, blfunc, order, npiece, applyfft, fftmethod, fftthresh, addwn, rejwn, clipthresh, clipniter, verify, verbose, bloutput, blformat, showprogress, minnrow, outfile, outform, overwrite, plotlevel):
    with sdutil.sdtask_manager(sdbaseline_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #28
0
def sdbaseline2old(infile, antenna, row, field, spw, restfreq, frame, doppler, timerange, scan, pol, blmode, blparam, bltable, outfile, overwrite, keeprows):
    with sdutil.sdtask_manager(sdbaseline2_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #29
0
def sdtpimaging(infile, calmode, masklist, blpoly, backup, flaglist, antenna, spw, stokes, createimage, outfile, imsize, cell, phasecenter, ephemsrcname, pointingcolumn, gridfunction, plotlevel):
    # NEED to include spw, src? name for movingsource param. in function argument
    with sdutil.sdtask_manager(sdtpimaging_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #30
0
def sdflagmanagerold(infile, mode, versionname, oldname, comment, merge):
    with sdutil.sdtask_manager(sdflagmanager_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #31
0
def sdimprocess(infiles, mode, numpoly, beamsize, smoothsize, direction, masklist, tmax, tmin, outfile, overwrite):
    with sdutil.sdtask_manager(sdimprocess_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #32
0
def sdlist(infile, antenna, outfile, overwrite):
    with sdutil.sdtask_manager(sdlist_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #33
0
def sdlistold(infile, antenna, outfile, overwrite):
    with sdutil.sdtask_manager(sdlist_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #34
0
def sdplot(infile, antenna, fluxunit, telescopeparam, specunit, restfreq, frame,
            doppler, field, spw, scan, pol, beam, rastermode, raster, timeaverage, tweight, scanaverage, polaverage, pweight, kernel, kwidth, plottype, stack, panel, flrange, sprange, linecat, linedop, subplot, colormap, linestyles, linewidth, histogram, center, cell, scanpattern, header, headsize, plotstyle, margin, legendloc, outfile, overwrite):
    with sdutil.sdtask_manager(sdplot_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #35
0
def sdmath(infiles, expr, varnames, antenna, fluxunit, telescopeparam, field, spw, scan, pol, outfile, outform, overwrite):
    with sdutil.sdtask_manager(sdmath_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #36
0
def sdimaging(infiles, outfile, overwrite, field, spw, antenna, scan, intent, mode, nchan, start, width, veltype, outframe, gridfunction, convsupport, truncate, gwidth, jwidth, imsize, cell, phasecenter, ephemsrcname, pointingcolumn, restfreq, stokes, minweight):
    with sdutil.sdtask_manager(sdimaging_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()    
Example #37
0
def sdscaleold(infile, antenna, factor, scaletsys, outfile, overwrite, verbose):
    with sdutil.sdtask_manager(sdscale_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #38
0
def sdcal2(infile, calmode, fraction, noff, width, elongated, tsysavg, tsysspw, applytable, interp, spwmap, field, spw, scan, pol, outfile, overwrite):
    casalog.post(str(locals()))
    with sdutil.sdtask_manager(sdcal2_worker, locals()) as worker: 
        worker.initialize()
        worker.execute()
        worker.finalize()
Example #39
0
def sdmath(infiles, expr, varnames, antenna, fluxunit, telescopeparam, field,
           spw, scan, pol, outfile, outform, overwrite):
    with sdutil.sdtask_manager(sdmath_worker, locals()) as worker:
        worker.initialize()
        worker.execute()
        worker.finalize()