ThermalDataAnalyzer¶
-
class
dias.analyzers.ThermalDataAnalyzer(name, write_dir, state_dir)¶ Bases:
dias.chime_analyzer.CHIMEAnalyzerCheck data integrity related to the thermal modeling of CHIME complex gain.
For now it only checks for cable loop data.
Attributes: - archive_data_dir
- data_size_max
- log_level
- loop_ids
- offset
- period
- ref_ids
- start_time
- state_size_max
- trange
Methods
Finder([acqs])Get a ch_util Finder object. add_data_metric(name[, description, …])Add a gauge metric. add_task_metric(metric_name[, description, …])Add a gauge metric. delete_callback(deleted_files)Tell the analyzer that files have been deleted after the task has run. finish()Shut down the analyzer. from_config(config, *args, **kwargs)Create a new instance with values loaded from config. init_logger([log_level_override])Set up the logger. read_config(config[, compare_keys, use_defaults])Set all properties in this class from the supplied config. run()Run task. setup()Set up the analyzer. Construct the CHIME analyzer base class.
Parameters: - name (String) – The name of the task.
- write_dir (String) – The path to write output data to.
- state_dir (String) – The path to write state data to.
Attributes: - archive_data_dir
- data_size_max
- log_level
- loop_ids
- offset
- period
- ref_ids
- start_time
- state_size_max
- trange
Methods
Finder([acqs])Get a ch_util Finder object. add_data_metric(name[, description, …])Add a gauge metric. add_task_metric(metric_name[, description, …])Add a gauge metric. delete_callback(deleted_files)Tell the analyzer that files have been deleted after the task has run. finish()Shut down the analyzer. from_config(config, *args, **kwargs)Create a new instance with values loaded from config. init_logger([log_level_override])Set up the logger. read_config(config[, compare_keys, use_defaults])Set all properties in this class from the supplied config. run()Run task. setup()Set up the analyzer. Attributes Summary
checkoffsetloop_idsnchecksoffsetref_idstrangeMethods Summary
run()Run task. setup()Set up the analyzer. Attributes Documentation
-
checkoffset= 20¶
-
loop_ids= None¶
-
nchecks= 1¶
-
offset= None¶
-
ref_ids= None¶
-
trange= None¶
Methods Documentation
-
run()¶ Run task.
Loads chimetiming data. Fits for delay of cable loops and exports delays to prometheus.
-
setup()¶ Set up the analyzer.
Creates metrics.