pipeline.hsdn.tasks.importdata package

Submodules

pipeline.hsdn.tasks.importdata.importdata module

Created on Dec 4, 2017

@author: kana

class pipeline.hsdn.tasks.importdata.importdata.NROImportData(inputs)[source]

Bases: pipeline.hsd.tasks.importdata.importdata.SDImportData

Inputs

alias of NROImportDataInputs

analyse(result)[source]

Determine the best parameters by analysing the given jobs before returning any final jobs to execute.

Parameters

jobs (a list ofJobRequest) – the job requests generated by prepare()

Return type

Result

prepare(**parameters)[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

class pipeline.hsdn.tasks.importdata.importdata.NROImportDataInputs(context=None, vis=None, output_dir=None, session=None, overwrite=None, nocopy=None, createmms=None)[source]

Bases: pipeline.h.tasks.importdata.importdata.ImportDataInputs

class pipeline.hsdn.tasks.importdata.importdata.NROImportDataResults(mses=None, reduction_group_list=None, datatable_prefix=None, setjy_results=None)[source]

Bases: pipeline.hsd.tasks.importdata.importdata.SDImportDataResults

NROImportDataResults is an equivalent class with ImportDataResults. Purpose of NROImportDataResults is to replace QA scoring associated with ImportDataResults with single dish specific QA scoring, which is associated with this class.

ImportDataResults holds the results of the ImportData task. It contains the resulting MeasurementSet domain objects and optionally the additional SetJy results generated from flux entries in Source.xml.

merge_with_context(context)[source]

Merge these results with the given context.

This method will be called during the execution of accept(). For calibration tasks, a typical implementation will register caltables with the pipeline callibrary.

At this point the result is deemed safe to merge, so no further checks on the context need be performed.

Parameters

context (Context) – the target Context

Module contents