minor type adjustment to rotation module removed superfluous Sequence type from orientation module
This commit is contained in:
parent
aabeee9de1
commit
25513d572b
|
@ -8,7 +8,7 @@ from . import Crystal
|
||||||
from . import util
|
from . import util
|
||||||
from . import tensor
|
from . import tensor
|
||||||
|
|
||||||
from typing import Union, Callable, Sequence, Dict, Any, Tuple, List
|
from typing import Union, Callable, Dict, Any, Tuple, List
|
||||||
from ._typehints import FloatSequence, IntSequence
|
from ._typehints import FloatSequence, IntSequence
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -535,7 +535,7 @@ class Rotation:
|
||||||
|
|
||||||
def as_axis_angle(self,
|
def as_axis_angle(self,
|
||||||
degrees: bool = False,
|
degrees: bool = False,
|
||||||
pair: bool = False) -> Union[Tuple[float, ...], np.ndarray]:
|
pair: bool = False) -> Union[Tuple[np.ndarray, np.ndarray], np.ndarray]:
|
||||||
"""
|
"""
|
||||||
Represent as axis–angle pair.
|
Represent as axis–angle pair.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue