SampleAnalyzer

class dias.analyzers.SampleAnalyzer(name, write_dir, state_dir)

Bases: dias.chime_analyzer.CHIMEAnalyzer

One-line description.

Long description.

Attributes:
archive_data_dir
data_size_max
log_level
my_value
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) Describe the method in one line.
finish(self) Describe the method in one line.
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) Describe the method in one line.
setup(self) Describe the method in one line.

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
my_value
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) Describe the method in one line.
finish(self) Describe the method in one line.
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) Describe the method in one line.
setup(self) Describe the method in one line.

Attributes Summary

my_value

Methods Summary

delete_callback(self, deleted_files) Describe the method in one line.
finish(self) Describe the method in one line.
run(self) Describe the method in one line.
setup(self) Describe the method in one line.

Attributes Documentation

my_value = None

Methods Documentation

delete_callback(self, deleted_files)

Describe the method in one line.

A longer description. Don’t overwrite this method if your analyzer doesn’t need it!

finish(self)

Describe the method in one line.

A longer description. Don’t overwrite this method if your analyzer doesn’t need it!

run(self)

Describe the method in one line.

A longer description.

setup(self)

Describe the method in one line.

A longer description. Don’t overwrite this method if your analyzer doesn’t need it!