run_tool

ctapipe.core.run_tool(tool: ctapipe.core.tool.Tool, argv=None, cwd=None, raises=False)[source]

Utility run a certain tool in a python session without exitinig

Returns
exit_code: int

The return code of the tool, 0 indicates success, everything else an error