SDBaseline

class SDBaseline(inputs)[source]

Bases: StandardTaskTemplate

Baseline subtraction task.

Attributes Summary

is_multi_vis_task

Methods Summary

analyse(result)

Generate measurementset domain object for output MS.

prepare()

Perform baseline subtraction.

Attributes Documentation

is_multi_vis_task = True

Methods Documentation

analyse(result: SDBaselineResults) SDBaselineResults[source]

Generate measurementset domain object for output MS.

The method generates measumentsets objects from output MSes of SDBaseline task. Newly created objects are registered to results instance.

Parameters:

result -- SDBaselineResults instance

Returns:

SDBaselineResults instance

prepare() SDBaselineResults[source]

Perform baseline subtraction.

The method first evaluates deviation mask for each MS if the mask is not available, then perform line detection by combining all spectral data, and finally perform baseline subtraction using sdbaseline task.

Returns:

SDBaselineResults instance that holds list of output MS names with the map among input MS names, necessary data for weblog rendering, and the metric representing the quality of the baseline subtraction.