def _dipole_forwards(fwd_data, whitener, rr, n_jobs=1):
 B = _compute_forwards_meeg(rr, fwd_data, n_jobs, verbose=False)
 B = np.concatenate(B, axis=1)
 B_orig = B.copy()
 B = np.dot(B, whitener.T)
 scales = np.ones(3)
 return (B, B_orig, scales)

def _dipole_forwards ( fwd_data , whitener , rr , n_jobs = 1 ) : B = _compute_forwards_meeg ( rr , fwd_data , n_jobs , verbose = False ) B = np . concatenate ( B , axis = 1 ) B_orig = B . copy ( ) B = np . dot ( B , whitener . T ) scales = np . ones ( 3 ) return ( B , B_orig , scales )
compute the forward solution and do other nice stuff .