ParticleClassifier¶
-
class
ctapipe.reco.ParticleClassifier(**kwargs: Any)[source]¶ Bases:
ctapipe.reco.sklearn.SKLearnClassificationReconstructorPredict dl2 particle classification
Attributes Summary
Particle id (in simtel system) of the positive class.
property predicted, overridden in baseclass
Name of the target table column for training
Methods Summary
__call__(event)Event-wise prediction for the EventSource-Loop.
predict_table(key, table)Predict on a table of events
Attributes Documentation
-
positive_class¶ Particle id (in simtel system) of the positive class. Default is 0 for gammas.
-
property= 'classification'¶ property predicted, overridden in baseclass
Methods Documentation
-
__call__(event: ctapipe.containers.ArrayEventContainer) → None[source]¶ Event-wise prediction for the EventSource-Loop.
Fills the event.dl2.<your-feature>[name] container.
- Parameters
- event: ArrayEventContainer
-
predict_table(key, table: astropy.table.table.Table) → Dict[ctapipe.reco.reconstructor.ReconstructionProperty, astropy.table.table.Table][source]¶ Predict on a table of events
-