def _read_channel(fid):
 out = {'chan_label': read_str(fid, 16), 'chan_no': read_int16(fid), 'attributes': read_int16(fid), 'scale': read_float(fid), 'yaxis_label': read_str(fid, 16), 'valid_min_max': read_int16(fid)}
 fid.seek(6, 1)
 out.update({'ymin': read_double(fid), 'ymax': read_double(fid), 'index': read_int32(fid), 'checksum': read_int32(fid), 'off_flag': read_str(fid, 16), 'offset': read_float(fid)})
 fid.seek(12, 1)
 return out

def _read_channel ( fid ) : out = { 'chan_label' : read_str ( fid , 16 ) , 'chan_no' : read_int16 ( fid ) , 'attributes' : read_int16 ( fid ) , 'scale' : read_float ( fid ) , 'yaxis_label' : read_str ( fid , 16 ) , 'valid_min_max' : read_int16 ( fid ) } fid . seek ( 6 , 1 ) out . update ( { 'ymin' : read_double ( fid ) , 'ymax' : read_double ( fid ) , 'index' : read_int32 ( fid ) , 'checksum' : read_int32 ( fid ) , 'off_flag' : read_str ( fid , 16 ) , 'offset' : read_float ( fid ) } ) fid . seek ( 12 , 1 ) return out
read bti pdf channel .