def extract_msgs_segment(self, bgn_ts, end_ts=None):
    '[extract the messages between start/end time stamps]\n\n        Args:\n            bgn_ts ([type]): [description]\n            end_ts ([type], optional): [description]. Defaults to None.\n\n        Returns:\n            [type]: [description]\n        '
    msgs = []
    for m in reversed(self.msg_ringbuffer):
        if (m.timestamp <= bgn_ts):
            break
        if ((end_ts is None) or (m.timestamp < end_ts)):
            msgs.append(m)
    msgs.reverse()
    return msgs
[extract the messages between start/end time stamps]

Args:
    bgn_ts ([type]): [description]
    end_ts ([type], optional): [description]. Defaults to None.

Returns:
    [type]: [description]
def extract_msgs_segment(self, bgn_ts, end_ts=None):
    '[extract the messages between start/end time stamps]\n\n        Args:\n            bgn_ts ([type]): [description]\n            end_ts ([type], optional): [description]. Defaults to None.\n\n        Returns:\n            [type]: [description]\n        '
    msgs = []
    for m in reversed(self.msg_ringbuffer):
        if (m.timestamp <= bgn_ts):
            break
        if ((end_ts is None) or (m.timestamp < end_ts)):
            msgs.append(m)
    msgs.reverse()
    return msgs