How do you epoch data from one event marker to the next when the events are not equally spaced?

This topic was already discussed here: