add_delta_t_key
- lstchain.reco.utils.add_delta_t_key(events)
Adds the time difference with the previous event to a real data dataframe. Should be only used only with non-filtered data frames, so events are consecutive.
- Parameters:
- events: pandas DataFrame of dl1 events
- Returns:
- events: pandas DataFrame of dl1 events with delta_t