Selfcal

class Selfcal(inputs)[source]

Bases: StandardTaskTemplate

Attributes Summary

is_multi_vis_task

Methods Summary

analyse(results)

Analyze the result from the task preparing operation.

get_desired_width(meanfreq)

Get the desired channel width for the given mean frequency.

get_spw_chanbin(bwarray, chanarray[, chanwidth])

Calculate the number of channels to average over for each spw.

prepare()

Prepare job requests for execution.

Attributes Documentation

is_multi_vis_task = True

Methods Documentation

analyse(results)[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

static get_desired_width(meanfreq)[source]

Get the desired channel width for the given mean frequency.

static get_spw_chanbin(bwarray, chanarray, chanwidth=15625000.0)[source]

Calculate the number of channels to average over for each spw.

note: mstransform only accept chanbin as integer.

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