CHIMEAnalyzer

class dias.CHIMEAnalyzer(name, write_dir, state_dir)

Bases: dias.analyzer.Analyzer

A base dias analyzer class with CHIME-specific extensions.

The CHIMEAnalyzer class extends the base dias Analyzer class by adding CHIME-specific convenience methods.

Attributes:
archive_data_dir
data_size_max
log_level
period
start_time
state_size_max

Methods

Finder(self[, acqs]) Get a ch_util Finder object.
add_data_metric(self, name[, description, …]) Add a gauge metric.
add_task_metric(self, metric_name[, …]) Add a gauge metric.
delete_callback(self, deleted_files) Tell the analyzer that files have been deleted after the task has run.
finish(self) Shut down the analyzer.
from_config(config, \*args, \*\*kwargs) Create a new instance with values loaded from config.
init_logger(self[, log_level_override]) Set up the logger.
read_config(self, config[, compare_keys, …]) Set all properties in this class from the supplied config.
run(self) Run the analyzer.
setup(self) 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
period
start_time
state_size_max

Methods

Finder(self[, acqs]) Get a ch_util Finder object.
add_data_metric(self, name[, description, …]) Add a gauge metric.
add_task_metric(self, metric_name[, …]) Add a gauge metric.
delete_callback(self, deleted_files) Tell the analyzer that files have been deleted after the task has run.
finish(self) Shut down the analyzer.
from_config(config, \*args, \*\*kwargs) Create a new instance with values loaded from config.
init_logger(self[, log_level_override]) Set up the logger.
read_config(self, config[, compare_keys, …]) Set all properties in this class from the supplied config.
run(self) Run the analyzer.
setup(self) Set up the analyzer.

Attributes Summary

archive_data_dir

Methods Summary

Finder(self[, acqs]) Get a ch_util Finder object.

Attributes Documentation

archive_data_dir = None

Methods Documentation

Finder(self, acqs=())

Get a ch_util Finder object.

Parameters:acqs (list of ArchiveAcq objects) – Acquisition filter. Default: ().
Returns:An instance of Finder.