(x)
| 473 | if param_info == (True, False, 0): |
| 474 | |
| 475 | def error(x): |
| 476 | rx, ry, rz = x |
| 477 | trans = rotation3d(rx, ry, rz) |
| 478 | est = np.dot(src_pts, trans.T) |
| 479 | d = tgt_pts - est |
| 480 | if weights is not None: |
| 481 | d *= weights |
| 482 | return d.ravel() |
| 483 | |
| 484 | if x0 is None: |
| 485 | x0 = (0, 0, 0) |
nothing calls this directly
no test coverage detected