DRS4TimelapseAggregator#

class lstcam_calib.tools.aggregate_drs4_timelapse_data.DRS4TimelapseAggregator(**kwargs: Any)#

Bases: Tool

Tool to create dt histograms and compute mean/std per bin.

This tool is the second tool used to perform dt curve fitting. It runs on the output of lstcam_calib_extract_drs4_dt_data and provides the input for lstcam_calib_create_drs4_dt_file.

Attributes Summary

aliases

flags

input_path

A path Trait for input/output files.

min_dt_baseline

minimum dt to include values in baseline computation

name

output_path

A path Trait for input/output files.

progress

A boolean (True, False) trait.

Methods Summary

finish()

Store metadata.

setup()

Set up the tool.

start()

Compute histogram, mean, std of data for each pixel.

Attributes Documentation

aliases: StrDict = {'min-dt-baseline': 'DRS4TimelapseAggregator.min_dt_baseline', ('i', 'input-file'): 'DRS4TimelapseAggregator.input_path', ('o', 'output-file'): 'DRS4TimelapseAggregator.output_path'}#
flags: StrDict = {'no-progress': ({'DRS4TimelapseAggregator': {'progress': False}}, "don't show a progress bar during event processing"), 'progress': ({'DRS4TimelapseAggregator': {'progress': True}}, 'show a progress bar during event processing')}#
input_path#

A path Trait for input/output files.

Attributes:
exists: boolean or None

If True, path must exist, if False path must not exist

directory_ok: boolean

If False, path must not be a directory

file_ok: boolean

If False, path must not be a file

min_dt_baseline#

minimum dt to include values in baseline computation

name: str | Unicode[str, str | bytes] = 'lstcam_calib_aggregate_drs4_dt_data'#
output_path#

A path Trait for input/output files.

Attributes:
exists: boolean or None

If True, path must exist, if False path must not exist

directory_ok: boolean

If False, path must not be a directory

file_ok: boolean

If False, path must not be a file

progress#

A boolean (True, False) trait.

Methods Documentation

finish()#

Store metadata.

setup()#

Set up the tool.

This method runs after the configuration and command line options have been parsed.

Here the tool should construct all Components, open files, etc.

start()#

Compute histogram, mean, std of data for each pixel.