casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Classes | Functions | Variables
task_sdbaseline Namespace Reference

Classes

class  sdbaseline_worker
class  sdbaseline_engine

Functions

def sdbaseline
def epilogue
 if (maskmode == 'auto'): if (blfunc == 'poly'): scan.auto_poly_baseline(mask=msk,order=order,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'chebyshev'): scan.auto_chebyshev_baseline(mask=msk,order=order,clipthresh=clipthresh,clipniter=clipniter,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'cspline'): scan.auto_cspline_baseline(mask=msk,npiece=npiece,clipthresh=clipthresh,clipniter=clipniter,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'sinusoid'): scan.auto_sinusoid_baseline(mask=msk,applyfft=applyfft,fftmethod=fftmethod,fftthresh=fftthresh,addwn=addwn,rejwn=rejwn,clipthresh=clipthresh,clipniter=clipniter,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) else: if (blfunc == 'poly'): scan.poly_baseline(mask=msk,order=order,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'chebyshev'): scan.chebyshev_baseline(mask=msk,order=order,clipthresh=clipthresh,clipniter=clipniter,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'cspline'): scan.cspline_baseline(mask=msk,npiece=npiece,clipthresh=clipthresh,clipniter=clipniter,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'sinusoid'): scan.sinusoid_baseline(mask=msk,applyfft=applyfft,fftmethod=fftmethod,fftthresh=fftthresh,addwn=addwn,rejwn=rejwn,clipthresh=clipthresh,clipniter=clipniter,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True)
def __configure_baseline
def __init_blfile
 for (k,v) in self.__get_param().items(): casalog.post('s=s'%(k,v),'WARN')

Variables

 baseline_func
 blfile

Function Documentation

def task_sdbaseline.__configure_baseline (   self) [private]

Definition at line 225 of file task_sdbaseline.py.

def task_sdbaseline.__init_blfile (   self) [private]

for (k,v) in self.__get_param().items(): casalog.post('s=s'%(k,v),'WARN')

Definition at line 256 of file task_sdbaseline.py.

def task_sdbaseline.epilogue (   self)

if (maskmode == 'auto'): if (blfunc == 'poly'): scan.auto_poly_baseline(mask=msk,order=order,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'chebyshev'): scan.auto_chebyshev_baseline(mask=msk,order=order,clipthresh=clipthresh,clipniter=clipniter,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'cspline'): scan.auto_cspline_baseline(mask=msk,npiece=npiece,clipthresh=clipthresh,clipniter=clipniter,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'sinusoid'): scan.auto_sinusoid_baseline(mask=msk,applyfft=applyfft,fftmethod=fftmethod,fftthresh=fftthresh,addwn=addwn,rejwn=rejwn,clipthresh=clipthresh,clipniter=clipniter,edge=edge,threshold=thresh,chan_avg_limit=avg_limit,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) else: if (blfunc == 'poly'): scan.poly_baseline(mask=msk,order=order,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'chebyshev'): scan.chebyshev_baseline(mask=msk,order=order,clipthresh=clipthresh,clipniter=clipniter,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'cspline'): scan.cspline_baseline(mask=msk,npiece=npiece,clipthresh=clipthresh,clipniter=clipniter,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True) elif (blfunc == 'sinusoid'): scan.sinusoid_baseline(mask=msk,applyfft=applyfft,fftmethod=fftmethod,fftthresh=fftthresh,addwn=addwn,rejwn=rejwn,clipthresh=clipthresh,clipniter=clipniter,plot=verify,showprogress=showprogress,minnrow=minnrow,outlog=verbose,blfile=blfile,csvformat=csvformat,insitu=True)

Definition at line 220 of file task_sdbaseline.py.

References sdutil.plot_scantable().

def task_sdbaseline.sdbaseline (   infile,
  antenna,
  fluxunit,
  telescopeparm,
  specunit,
  restfreq,
  frame,
  doppler,
  scanlist,
  field,
  iflist,
  pollist,
  tau,
  masklist,
  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 
)

Definition at line 12 of file task_sdbaseline.py.

References sdutil.process_exception().

Referenced by sdbaseline.sdbaseline().


Variable Documentation

Definition at line 230 of file task_sdbaseline.py.

Definition at line 258 of file task_sdbaseline.py.