classmethod graphicle.data.Graphicle.from_event(event: EventInterface) Graphicle[source]

Instantiates a Graphicle object from a generic event object, whose attribute structure is compatible with EventInterface.

New in version 0.1.7.

Parameters:
event : base.EventInterface

Object of any type with a subset of parameters with consistent names and values to those defined in the interface. heparchy and showerpipe event objects can be passed for easy instantiation.

Returns:

Event record instantiated from a generic object implementing the EventInterface protocol.

Return type:

Graphicle


Last update: Jun 27, 2025