class ctapipe.reco.ShowerProcessor(**kwargs: Any)[source]#

Bases: Component

Run the stereo event reconstruction on the input events.

This is mainly needed, so that the type of reconstructor can be chosen via the configuration system.

This processor can apply multiple Reconstructor subclasses to array events in the event loop.

This currently includes geometry reconstruction via HillasReconstructor or HillasIntersection and machine learning based reconstruction of energy and particle type via the reconstructor classes in reco.

Events must already contain the required inputs. These are dl1 parameters for the geometry reconstruction and any feature used by the machine learning reconstructors, be it directly as model input or as input to the feature generation. This may include previously made dl2 predictions, in which case the order of reconstructor_types is important.

Attributes Summary


The stereo reconstructors to be used.

Methods Summary


Apply all configured stereo reconstructors to the given event.

Attributes Documentation


The stereo reconstructors to be used. The reconstructors are applied in the order given, which is important if e.g. the ParticleClassifier uses the output of the EnergyRegressor as input.. Possible values: []

Methods Documentation

__call__(event: ArrayEventContainer)[source]#

Apply all configured stereo reconstructors to the given event.


Top-level container for all event information.