MCPcopy
hub / github.com/mne-tools/mne-python / _changes

Method _changes

mne/coreg.py:1828–1837  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1826
1827 @property
1828 def _changes(self):
1829 move = np.linalg.norm(self._last_translation - self._translation) * 1e3
1830 angle = np.rad2deg(
1831 _angle_between_quats(
1832 rot_to_quat(rotation(*self._rotation)[:3, :3]),
1833 rot_to_quat(rotation(*self._last_rotation)[:3, :3]),
1834 )
1835 )
1836 percs = 100 * (self._scale - self._last_scale) / self._last_scale
1837 return move, angle, percs
1838
1839 @property
1840 def _nearest_transformed_high_res_mri_idx_hsp(self):

Callers

nothing calls this directly

Calls 4

_angle_between_quatsFunction · 0.85
rot_to_quatFunction · 0.85
rotationFunction · 0.85
normMethod · 0.80

Tested by

no test coverage detected