EventLoader#
- class ctapipe.irf.preprocessing.EventLoader(**kwargs: Any)[source]#
Bases:
Component
Contains functions to load events and simulation information from a file and derive some additional columns needed for irf calculation.
Attributes Summary
Methods Summary
get_simulation_information
(loader, obs_time)load_preselected_events
(chunk_size, obs_time)make_derived_columns
(events)make_event_weights
(events, spectrum, kind[, ...])Attributes Documentation
- classes = [<class 'ctapipe.irf.preprocessing.EventPreprocessor'>]#
Methods Documentation
- get_simulation_information(loader: TableLoader, obs_time: Quantity) tuple[SimulatedEventsInfo, PowerLaw] [source]#