def write_proj(fname, projs):
 check_fname(fname, 'projection', ('-proj.fif', '-proj.fif.gz'))
 fid = io.write.start_file(fname)
 io.proj._write_proj(fid, projs)
 io.write.end_file(fid)

def write_proj ( fname , projs ) : check_fname ( fname , 'projection' , ( '-proj.fif' , '-proj.fif.gz' ) ) fid = io . write . start_file ( fname ) io . proj . _write_proj ( fid , projs ) io . write . end_file ( fid )
write projections to a fif file .