def _pick_leadfield(leadfield, forward, ch_names):
 picks_fwd = pick_channels(forward['sol']['row_names'], ch_names)
 return leadfield[picks_fwd]

def _pick_leadfield ( leadfield , forward , ch_names ) : picks_fwd = pick_channels ( forward [ 'sol' ] [ 'row_names' ] , ch_names ) return leadfield [ picks_fwd ]
pick out correct lead field components .