def write_info(fname, info, data_type=None, reset_range=True):
 fid = start_file(fname)
 start_block(fid, FIFF.FIFFB_MEAS)
 write_meas_info(fid, info, data_type, reset_range)
 end_block(fid, FIFF.FIFFB_MEAS)
 end_file(fid)

def write_info ( fname , info , data_type = None , reset_range = True ) : fid = start_file ( fname ) start_block ( fid , FIFF . FIFFB_MEAS ) write_meas_info ( fid , info , data_type , reset_range ) end_block ( fid , FIFF . FIFFB_MEAS ) end_file ( fid )
write measurement info in fif file .