@verbose
def read_cov(fname, verbose=None):
 check_fname(fname, 'covariance', ('-cov.fif', '-cov.fif.gz'))
 (f, tree) = fiff_open(fname)[:2]
 with f as fid:
  return Covariance(**_read_cov(fid, tree, FIFF.FIFFV_MNE_NOISE_COV, limited=True))

@ verbose def read_cov ( fname , verbose = None ) : check_fname ( fname , 'covariance' , ( '-cov.fif' , '-cov.fif.gz' ) ) ( f , tree ) = fiff_open ( fname ) [ : 2 ] with f as fid : return Covariance ( ** _read_cov ( fid , tree , FIFF . FIFFV_MNE_NOISE_COV , limited = True ) )
read a noise covariance from a fif file .