DumpInstrumentTool#
- class ctapipe.tools.dump_instrument.DumpInstrumentTool(**kwargs: Any)[source]#
Bases:
Tool
Attributes Summary
A trait for unicode strings.
Format of output file
Output directory.
Methods Summary
finish
()Finish up.
setup
()Set up the tool.
start
()Main function of the tool.
writes out camgeom and camreadout files for each camera
writes out optics files for each telescope type
Attributes Documentation
- aliases: StrDict = {('f', 'format'): 'DumpInstrumentTool.format', ('i', 'input'): 'EventSource.input_url', ('o', 'outdir'): 'DumpInstrumentTool.outdir'}#
- classes: ClassesType = [<class 'ctapipe.io.eventsource.EventSource'>]#
- format#
Format of output file
- outdir#
Output directory. If not given, the current working directory will be used.
Methods Documentation
- setup()[source]#
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()[source]#
Main function of the tool.
This is automatically called after
initialize
whenrun
is called.