The parset module

The parset module defines various functions used to handle the Rapthor parset.

Module that holds all parset-related functions

rapthor.lib.parset.get_calibration_options(parset)

Handle the calibration options

Parameters:
parsetRawConfigParser object

Input parset

Returns:
parset_dictdict

Dictionary with all calibration options

rapthor.lib.parset.get_cluster_options(parset)

Handle the compute cluster options

Parameters:
parsetRawConfigParser object

Input parset

Returns:
parset_dictdict

Dictionary with all cluster options

rapthor.lib.parset.get_global_options(parset)

Handle the global options

Parameters:
parsetRawConfigParser object

Input parset

Returns:
parset_dictdict

Dictionary with all global options

rapthor.lib.parset.get_imaging_options(parset)

Handle the imaging options

Parameters:
parsetRawConfigParser object

Input parset

Returns:
parset_dictdict

Dictionary with all imaging options

rapthor.lib.parset.parset_read(parset_file, use_log_file=True, skip_cluster=False)

Read a rapthor-formatted parset file and return dict of parameters

Parameters:
parset_filestr

Filename of rapthor-formated parset file

use_log_filebool, optional

Use a log file as well as outputing to the screen

Returns:
parset_dictdict

Dict of parset parameters