Tclean

class Tclean(inputs)[source]

Bases: CleanBase

Attributes Summary

is_multi_vis_task

Methods Summary

analyse(result)

Analyze the result from the task preparing operation.

copy_products(old_pname, new_pname[, ignore])

move_products(old_pname, new_pname[, ...])

Move imaging products of one iteration to another.

prepare()

Prepare job requests for execution.

rm_iter_files(rootname, iteration)

rm_stage_files(imagename[, stokes])

Attributes Documentation

is_multi_vis_task = True

Methods Documentation

analyse(result)[source]

Analyze the result from the task preparing operation.

This method analyzes the result object returned by the Pipeline task.prepare method and returns it with optional modifications.

Parameters:

result -- the task result object generated by prepare()

Return type:

Result

copy_products(old_pname, new_pname, ignore=None)[source]
move_products(old_pname, new_pname, ignore_list=None, remove_list=None, copy_list=None)[source]

Move imaging products of one iteration to another.

Certain image types can be excluded from the default "move" operation using the following keywords (in the precedence order):

ignore_list: do nothing (no 'remove', 'copy', or 'move'), if any string from the list is in the image name. remove_list: remove without 'move' or 'copy', if any string from the list in the image name. copy_list: copy instead move, if any string from the list is in the image name.

prepare()[source]

Prepare job requests for execution.

Parameters:

parameters -- the parameters to pass through to the subclass. Refer to the implementing subclass for specific information on what these parameters are.

Return type:

a class implementing Result

rm_iter_files(rootname, iteration)[source]
rm_stage_files(imagename, stokes='')[source]