SensitivityAnalyzer

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

Bases: dias.chime_analyzer.CHIMEAnalyzer

SensitivityAnalyzer.

Analyzer for telescope sensitivity.

Attributes:
acq_suffix
archive_data_dir
correlator
cyl_start_char
cyl_start_num
data_size_max
include_auto
include_crosspol
include_intracyl
lag
log_level
nfreq_per_block
output_suffix
period
sep_cyl
start_time
state_size_max

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.
get_baselines(indexmap, inputmap) Return baseline indices for averaging.
get_cyl(cyl_num) Return the cylinfer ID (char).
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() Task stage: analyzes data from the last period.
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:
acq_suffix
archive_data_dir
correlator
cyl_start_char
cyl_start_num
data_size_max
include_auto
include_crosspol
include_intracyl
lag
log_level
nfreq_per_block
output_suffix
period
sep_cyl
start_time
state_size_max

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.
get_baselines(indexmap, inputmap) Return baseline indices for averaging.
get_cyl(cyl_num) Return the cylinfer ID (char).
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() Task stage: analyzes data from the last period.
setup() Set up the analyzer.

Attributes Summary

acq_suffix
correlator
cyl_start_char
cyl_start_num
include_auto
include_crosspol
include_intracyl
lag
nfreq_per_block
output_suffix
sep_cyl

Methods Summary

get_baselines(indexmap, inputmap) Return baseline indices for averaging.
get_cyl(cyl_num) Return the cylinfer ID (char).
run() Task stage: analyzes data from the last period.

Attributes Documentation

acq_suffix = None
correlator = None
cyl_start_char = None
cyl_start_num = None
include_auto = None
include_crosspol = None
include_intracyl = None
lag = None
nfreq_per_block = None
output_suffix = None
sep_cyl = None

Methods Documentation

get_baselines(indexmap, inputmap)

Return baseline indices for averaging.

get_cyl(cyl_num)

Return the cylinfer ID (char).

run()

Task stage: analyzes data from the last period.