artemis.core.tool¶
ToolBase class, right now not much different than AlgoBase Does not support histograms, timers, etc… These should be in the Algo which calls the tool
Tools can be registered in a ToolSvc, and lookup via name through the Algo via a property with name of tool
Module Contents¶
-
class
artemis.core.tool.ToolBase(name, **kwargs)¶ -
property
name(self)¶ Tool name
-
to_msg(self)¶
-
static
from_msg(logger, msg)¶
-
lock(self)¶ Lock all properties for algorithm
-
initialize(self)¶ Framework initialize
-
execute(self, payload)¶ Tool can take any input defined by the user Ideally, most tools accept an Arrow Array or batch
-
property