StereoMeanCombiner¶
-
class
ctapipe.reco.
StereoMeanCombiner
(**kwargs: Any)[source]¶ Bases:
ctapipe.reco.stereo_combination.StereoCombiner
Calculate array-event prediction as (weighted) mean of telescope-wise predictions
Attributes Summary
If true, calculate exp(mean(log(values)))
An enum of strings where the case should be ignored.
Methods Summary
__call__
(event)Calculate the mean prediction for a single array event.
predict_table
(mono_predictions)Calculates the (array-)event-wise mean.
Attributes Documentation
-
log_target
¶ If true, calculate exp(mean(log(values)))
-
weights
¶ An enum of strings where the case should be ignored.
Methods Documentation
-
__call__
(event: ctapipe.containers.ArrayEventContainer) → None[source]¶ Calculate the mean prediction for a single array event.
-
predict_table
(mono_predictions: astropy.table.table.Table) → astropy.table.table.Table[source]¶ Calculates the (array-)event-wise mean. Telescope events, that are nan, get discarded. This means you might end up with less events if all telescope predictions of a shower are invalid.
-