PixelStatisticsCalculatorTool#
- class ctapipe.tools.calculate_pixel_stats.PixelStatisticsCalculatorTool(*args: t.Any, **kwargs: t.Any)[source]#
Bases:
ToolPerform statistics calculation for pixel-wise image data
Attributes Summary
List of allowed tel_ids, others will be ignored.
Column name of the pixel-wise image data to calculate statistics
Output filename
Methods Summary
finish()Finish up.
setup()Set up the tool.
start()Iterate over all telescopes, process their statistics, and save the results.
Attributes Documentation
- aliases: StrDict = {('i', 'input_url'): 'TableLoader.input_url', ('o', 'output_path'): 'PixelStatisticsCalculatorTool.output_path'}#
- allowed_tels#
List of allowed tel_ids, others will be ignored. If None, all telescopes in the input stream will be included.
- classes: ClassesType = [<class 'ctapipe.io.tableloader.TableLoader'>, <class 'ctapipe.monitoring.calculator.PixelStatisticsCalculator'>]#
- description: str | Unicode[str, str | bytes] = 'Perform statistics calculation for pixel-wise image data'#
- examples: str | Unicode[str, str | bytes] = '\n To calculate statistics of pixel-wise image data files:\n\n > ctapipe-calculate-pixel-statistics --TableLoader.input_url input.dl1.h5 --output_path /path/monitoring.h5 --overwrite\n\n '#
- flags: StrDict = {'append': ({'HDF5Merger': {'append': True}}, 'Append to existing files'), 'overwrite': ({'HDF5Merger': {'overwrite': True}}, 'Overwrite existing files')}#
- input_column_name#
Column name of the pixel-wise image data to calculate statistics
- output_path#
Output filename
Methods Documentation