The initial presumption is that add_event_delta_pairs() only needs to look for pairs, but it may be that in some cases, users wish to start the first or end the last pair with the earliest and latest value in the event log.
use_earliest_if_no_start and use_latest_if_no_end need to be added as optional parameters.
The initial presumption is that
add_event_delta_pairs()only needs to look for pairs, but it may be that in some cases, users wish to start the first or end the last pair with the earliest and latest value in the event log.use_earliest_if_no_startanduse_latest_if_no_endneed to be added as optional parameters.