def _empty_info(sfreq):
 from ..transforms import Transform
 _none_keys = ('acq_pars', 'acq_stim', 'buffer_size_sec', 'ctf_head_t', 'description', 'dev_ctf_t', 'dig', 'experimenter', 'file_id', 'highpass', 'hpi_subsystem', 'kit_system_id', 'line_freq', 'lowpass', 'meas_date', 'meas_id', 'proj_id', 'proj_name', 'subject_info', 'xplotter_layout')
 _list_keys = ('bads', 'chs', 'comps', 'events', 'hpi_meas', 'hpi_results', 'projs')
 info = Info()
 for k in _none_keys:
  info[k] = None
 for k in _list_keys:
  info[k] = list()
 info['custom_ref_applied'] = False
 info['dev_head_t'] = Transform('meg', 'head')
 info['highpass'] = 0.0
 info['sfreq'] = float(sfreq)
 info['lowpass'] = (info['sfreq'] / 2.0)
 info._update_redundant()
 info._check_consistency()
 return info

def _empty_info ( sfreq ) : from . . transforms import Transform _none_keys = ( 'acq_pars' , 'acq_stim' , 'buffer_size_sec' , 'ctf_head_t' , 'description' , 'dev_ctf_t' , 'dig' , 'experimenter' , 'file_id' , 'highpass' , 'hpi_subsystem' , 'kit_system_id' , 'line_freq' , 'lowpass' , 'meas_date' , 'meas_id' , 'proj_id' , 'proj_name' , 'subject_info' , 'xplotter_layout' ) _list_keys = ( 'bads' , 'chs' , 'comps' , 'events' , 'hpi_meas' , 'hpi_results' , 'projs' ) info = Info ( ) for k in _none_keys : info [ k ] = None for k in _list_keys : info [ k ] = list ( ) info [ 'custom_ref_applied' ] = False info [ 'dev_head_t' ] = Transform ( 'meg' , 'head' ) info [ 'highpass' ] = 0.0 info [ 'sfreq' ] = float ( sfreq ) info [ 'lowpass' ] = ( info [ 'sfreq' ] / 2.0 ) info . _update_redundant ( ) info . _check_consistency ( ) return info
create an empty info dictionary .