def _coil_trans_to_loc(coil_trans):
 coil_trans = coil_trans.astype(np.float64)
 return np.roll(coil_trans.T[:, :3], 1, 0).flatten()

def _coil_trans_to_loc ( coil_trans ) : coil_trans = coil_trans . astype ( np . float64 ) return np . roll ( coil_trans . T [ : , : 3 ] , 1 , 0 ) . flatten ( )
convert coil_trans to loc .