EventPreprocessor#

class ctapipe.irf.EventPreprocessor(**kwargs: Any)[source]#

Bases: Component

Defines pre-selection cuts and the necessary renaming of columns.

Attributes Summary

classes

energy_reconstructor

Prefix of the reco _energy column

gammaness_classifier

Prefix of the classifier _prediction column

geometry_reconstructor

Prefix of the _alt and _az reco geometry columns

Methods Summary

make_empty_table()

This function defines the columns later functions expect to be present in the event table.

normalise_column_names(events)

Attributes Documentation

classes = [<class 'ctapipe.irf.preprocessing.EventQualityQuery'>]#
energy_reconstructor#

Prefix of the reco _energy column

gammaness_classifier#

Prefix of the classifier _prediction column

geometry_reconstructor#

Prefix of the _alt and _az reco geometry columns

Methods Documentation

make_empty_table() QTable[source]#

This function defines the columns later functions expect to be present in the event table.

normalise_column_names(events: Table) QTable[source]#