def write_trans(fname, trans):
 check_fname(fname, 'trans', ('-trans.fif', '-trans.fif.gz'))
 fid = start_file(fname)
 write_coord_trans(fid, trans)
 end_file(fid)

def write_trans ( fname , trans ) : check_fname ( fname , 'trans' , ( '-trans.fif' , '-trans.fif.gz' ) ) fid = start_file ( fname ) write_coord_trans ( fid , trans ) end_file ( fid )
write a -trans .