EventTypeFilter

class ctapipe.utils.EventTypeFilter(**kwargs: Any)[source]

Bases: ctapipe.core.component.Component

Check that an event has one of the allowed types

Attributes Summary

allowed_types

An instance of a Python set.

Methods Summary

__call__(event)

Returns True if the event should be kept

Attributes Documentation

allowed_types

An instance of a Python set.

Methods Documentation

__call__(event)[source]

Returns True if the event should be kept