@verbose
def _read_coil_defs(elekta_defs=False, verbose=None):
 coil_dir = op.join(op.split(__file__)[0], '..', 'data')
 coils = list()
 if elekta_defs:
  coils += _read_coil_def_file(op.join(coil_dir, 'coil_def_Elekta.dat'))
 coils += _read_coil_def_file(op.join(coil_dir, 'coil_def.dat'))
 return coils

@ verbose def _read_coil_defs ( elekta_defs = False , verbose = None ) : coil_dir = op . join ( op . split ( __file__ ) [ 0 ] , '..' , 'data' ) coils = list ( ) if elekta_defs : coils += _read_coil_def_file ( op . join ( coil_dir , 'coil_def_Elekta.dat' ) ) coils += _read_coil_def_file ( op . join ( coil_dir , 'coil_def.dat' ) ) return coils
read a coil definition file .