def _read_event(fid):
 out = {'event_name': read_str(fid, 16), 'start_lat': read_float(fid), 'end_lat': read_float(fid), 'step_size': read_float(fid), 'fixed_event': read_int16(fid), 'checksum': read_int32(fid)}
 fid.seek(32, 1)
 _correct_offset(fid)
 return out

def _read_event ( fid ) : out = { 'event_name' : read_str ( fid , 16 ) , 'start_lat' : read_float ( fid ) , 'end_lat' : read_float ( fid ) , 'step_size' : read_float ( fid ) , 'fixed_event' : read_int16 ( fid ) , 'checksum' : read_int32 ( fid ) } fid . seek ( 32 , 1 ) _correct_offset ( fid ) return out
read bti pdf event .