DRS4TimeCorrection#

class lstcam_calib.tools.create_drs4_time_file.DRS4TimeCorrection(**kwargs: Any)#

Bases: Tool

Compute DRS4 time corrections.

Attributes Summary

aliases

classes

flags

name

output_file

Path for the output hdf5 file of time corrections

overwrite

If true, overwrite output without asking, else fail if output file already exists

progress_bar

Show progress bar during processing

Methods Summary

finish()

write-out calibration coefficients.

setup()

Perform initial setup.

start()

Run main event loop.

Attributes Documentation

aliases: StrDict = {('i', 'input-file'): 'EventSource.input_url', ('m', 'max-events'): 'EventSource.max_events', ('o', 'output-file'): 'DRS4TimeCorrection.output_file', ('p', 'pedestal-file'): 'LSTEventSource.LSTR0Corrections.drs4_pedestal_path', ('r', 'run-summary-file'): 'LSTEventSource.EventTimeCalculator.run_summary_path'}#
classes: ClassesType = [<class 'ctapipe.io.eventsource.EventSource'>, <class 'lstcam_calib.drs4.time_correction_calculator.TimeCorrectionCalculator'>, <class 'lstcam_calib.drs4.time_correction_calculator.TimeCorrectionCalculator'>, <class 'ctapipe.io.eventsource.EventSource'>, <class 'ctapipe.io.hdf5eventsource.HDF5EventSource'>, <class 'ctapipe.io.simteleventsource.SimTelEventSource'>, <class 'ctapipe_io_lst.LSTEventSource'>, <class 'ctapipe_io_lst.pointing.PointingSource'>, <class 'ctapipe_io_lst.event_time.EventTimeCalculator'>, <class 'ctapipe_io_lst.calibration.LSTR0Corrections'>]#
flags: StrDict = {'flatfield-heuristic': ({'LSTEventSource': {'use_flatfield_heuristic': True}}, 'Use flatfield heuristic'), 'no-flatfield-heuristic': ({'LSTEventSource': {'use_flatfield_heuristic': False}}, 'Do not use flatfield heuristic'), 'no-overwrite': ({'DRS4TimeCorrection': {'overwrite': False}}, 'Fail if output file already exists'), 'no-progress': ({'DRS4TimeCorrection': {'progress_bar': False}}, 'Do not show a progress bar during event processing'), 'overwrite': ({'DRS4TimeCorrection': {'overwrite': True}}, 'Overwrite output file if it exists'), 'progress': ({'DRS4TimeCorrection': {'progress_bar': True}}, 'Show a progress bar during event processing')}#
name: str | Unicode[str, str | bytes] = 'create_drs4_time_file'#
output_file#

Path for the output hdf5 file of time corrections

overwrite#

If true, overwrite output without asking, else fail if output file already exists

progress_bar#

Show progress bar during processing

Methods Documentation

finish()#

write-out calibration coefficients.

setup()#

Perform initial setup.

start()#

Run main event loop.