FeedpositionsAnalyzer

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

Bases: dias.chime_analyzer.CHIMEAnalyzer

A CHIME analyzer to calculate the East-West feed positions.

East-West positions are calculated from the fringe rates in eigenvectors. The eigenvectors of the visibility matrix are found in the archive, then orhtogonalized. To get the feed-positions in the UV plane we fourier transform the eigenvectors over the time axis. At the moment this Analyzer is supposed to run during the day to check for night transit data.

Attributes:
archive_data_dir
data_size_max
log_level
pad_fac_EW
period
ref_feed_P1
ref_feed_P2
sources
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 task.
setup(self) Set up the task.

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
pad_fac_EW
period
ref_feed_P1
ref_feed_P2
sources
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 task.
setup(self) Set up the task.

Attributes Summary

pad_fac_EW
ref_feed_P1
ref_feed_P2
sources

Methods Summary

run(self) Run task.
setup(self) Set up the task.

Attributes Documentation

pad_fac_EW = None
ref_feed_P1 = None
ref_feed_P2 = None
sources = None

Methods Documentation

run(self)

Run task.

setup(self)

Set up the task.

Creates metrics.