(self, index)
return cap_info
Returns a dictionary containing all the capture information at sample
        'index'.
Returns a dictionary containing all the capture information at sample
        'index'.
Returns a dictionary containing all the capture information at sample index .
def get_capture_info(self, index):
        """
        Returns a dictionary containing all the capture information at sample
        'index'.
        """
        assert index >= self._get_start_offset()
        captures = self._metadata.get(self.CAPTURE_KEY, [])
        assert len(captures) > 0
        cap_info = captures[0]
        for capture in captures:
            if capture[self.START_INDEX_KEY] > index:
                break
            cap_info = capture
        return cap_info
def get_capture_info ( self , index ) : assert index >= self . _get_start_offset ( ) captures = self . _metadata . get ( self . CAPTURE_KEY , [ ] ) assert len ( captures ) > 0 cap_info = captures [ 0 ] for capture in captures : if capture [ self . START_INDEX_KEY ] > index : break cap_info = capture return cap_info