def _convert_coil_trans(coil_trans, dev_ctf_t, bti_dev_t):
 t = combine_transforms(invert_transform(dev_ctf_t), bti_dev_t, 'ctf_head', 'meg')
 t = np.dot(t['trans'], coil_trans)
 return t

def _convert_coil_trans ( coil_trans , dev_ctf_t , bti_dev_t ) : t = combine_transforms ( invert_transform ( dev_ctf_t ) , bti_dev_t , 'ctf_head' , 'meg' ) t = np . dot ( t [ 'trans' ] , coil_trans ) return t
convert the coil trans .