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

Functions

def autoclean
 iterative cleaning while automatically selecting new clean regions
def autowindow
def get_islands
def mask_island
def mask_region
def add_circle
def add_box
def concat_images
def concat_regions
def box_to_regionfile

Function Documentation

def task_autoclean.add_box (   imagename,
  box,
  peak_flux,
  boxstretch = 0 
)

Definition at line 449 of file task_autoclean.py.

References box_to_regionfile().

Referenced by mask_region().

def task_autoclean.add_circle (   imagename,
  box,
  peak_flux,
  boxstretch = 0 
)

Definition at line 426 of file task_autoclean.py.

References box_to_regionfile(), and irc_cs_task_regression.max.

Referenced by mask_region().

def task_autoclean.autoclean (   vis,
  imagename,
  field,
  spw,
  selectdata,
  timerange,
  uvrange,
  antenna,
  scan,
  mode,
  nchan,
  start,
  width,
  interpolation,
  doconcat,
  psfmode,
  imagermode,
  cyclefactor,
  cyclespeedup,
  imsize,
  cell,
  phasecenter,
  restfreq,
  stokes,
  weighting,
  robust,
  noise,
  npixels,
  interactive,
  mask,
  modelimage,
  uvtaper,
  outertaper,
  innertaper,
  niter,
  npercycle,
  npercycle_speedup,
  gain,
  pbcor,
  minpb,
  clean_threshold,
  Nrms,
  eps_maxres,
  useabsresid,
  allow_maxres_inc,
  island_rms,
  diag,
  peak_rms,
  gain_threshold,
  Npeak,
  shape,
  boxstretch,
  irregsize 
)

iterative cleaning while automatically selecting new clean regions

Definition at line 28 of file task_autoclean.py.

References autowindow(), concat_images(), concat_regions(), taskinit.imtool, and irc_cs_task_regression.max.

Referenced by autoclean.autoclean().

def task_autoclean.autowindow (   imagename = '',
  island_rms = 0,
  gain_threshold = 0,
  peak_rms = 0,
  Nrms = 0,
  boxstretch = 0,
  clean_threshold = 0,
  Npeak = None,
  shape = 0,
  irregsize = 100,
  diag = False,
  useabsresid = False,
  ichan = 0 
)

Definition at line 210 of file task_autoclean.py.

References get_islands(), and irc_cs_task_regression.max.

Referenced by autoclean().

def task_autoclean.box_to_regionfile (   imagename,
  box 
)

Definition at line 490 of file task_autoclean.py.

Referenced by add_box(), add_circle(), and mask_island().

def task_autoclean.concat_images (   imagename = '',
  suffix = '',
  number = 0,
  relax = False 
)

Definition at line 466 of file task_autoclean.py.

Referenced by autoclean().

def task_autoclean.concat_regions (   imagename = '',
  suffix = '',
  number = 0 
)

Definition at line 474 of file task_autoclean.py.

Referenced by autoclean().

def task_autoclean.get_islands (   imagename = '',
  Npeak = 3,
  island_threshold = 0,
  peak_threshold = 0,
  shape = 0,
  boxstretch = 0,
  irregsize = 100,
  diag = False,
  ichan = 0 
)

Definition at line 268 of file task_autoclean.py.

References mask_island(), mask_region(), and irc_cs_task_regression.max.

Referenced by autowindow().

def task_autoclean.mask_island (   imagename = '',
  island = None,
  pixels = None 
)

Definition at line 390 of file task_autoclean.py.

References box_to_regionfile().

Referenced by get_islands().

def task_autoclean.mask_region (   imagename = '',
  island = None,
  shape = 0,
  boxstretch = 0,
  ichan = 0 
)

Definition at line 406 of file task_autoclean.py.

References add_box(), and add_circle().

Referenced by get_islands().