corrected help text of as_Rodrigues_vector

This commit is contained in:
Philip Eisenlohr 2021-03-02 16:26:18 +01:00
parent e7979c2223
commit 109ad378c2
1 changed files with 8 additions and 6 deletions

View File

@ -475,15 +475,17 @@ class Rotation:
Parameters Parameters
---------- ----------
vector : bool, optional compact : bool, optional
Return as actual Rodrigues-Frank vector, i.e. axis Return as actual Rodrigues-Frank vector,
and angle argument are not separated. i.e. axis and angle argument are not separated.
Returns Returns
------- -------
rho : numpy.ndarray of shape (...,4) unless vector == True: rho : numpy.ndarray of shape (...,4) containing
numpy.ndarray of shape (...,3) [n_1, n_2, n_3, tan(ω/2)], ǀnǀ = 1 and ω [0,π]
Rodrigues-Frank vector: [n_1, n_2, n_3, tan(ω/2)], ǀnǀ = 1 and ω [0,π]. unless compact == True:
numpy.ndarray of shape (...,3) containing
tan(ω/2) [n_1, n_2, n_3], ω [0,π].
""" """
ro = Rotation._qu2ro(self.quaternion) ro = Rotation._qu2ro(self.quaternion)