SDK2JyCal

class SDK2JyCal(inputs)[source]

Bases: StandardTaskTemplate

Generate calibration table of Jy/K factors.

Methods Summary

analyse(result)

Analyse SDK2JyCalResults instance produced by prepare.

execute(**parameters)

remove existing QUERIED_FACTOR_FILE before the first run

prepare()

Retrieve Jy/K facors from the DB and save them in QUERIED_FACTOR_FILE if dbaccess is True

Methods Documentation

analyse(result: SDK2JyCalResults) SDK2JyCalResults[source]

Analyse SDK2JyCalResults instance produced by prepare.

  1. Define factors actually used and analyze if the factors are provided to all relevant data in MS.

2. Check if caltables in the pool exist to validate the CalApplication, and register valid CalApplication's to final attribute.

Parameters:

result -- SDK2JyCalResults instance

Returns:

Updated SDK2JyCalResults instance

execute(**parameters) SDK2JyCalResults[source]

remove existing QUERIED_FACTOR_FILE before the first run

Parameters:

parameters -- parameters

Returns

SDK2JyCalResults

prepare() SDK2JyCalResults[source]

Retrieve Jy/K facors from the DB and save them in QUERIED_FACTOR_FILE if dbaccess is True

Returns:

SDK2JyCalResults