diff --git a/python/damask/_rotation.py b/python/damask/_rotation.py index db780c0b9..6446067f8 100644 --- a/python/damask/_rotation.py +++ b/python/damask/_rotation.py @@ -1091,6 +1091,11 @@ class Rotation: A seed to initialize the BitGenerator. Defaults to None, i.e. unpredictable entropy will be pulled from the OS. + Returns + ------- + samples : damask.Rotation + Array of rotations sampled from the spherical component. + """ rng = np.random.default_rng(rng_seed) sigma = np.radians(sigma) if degrees else sigma @@ -1132,6 +1137,11 @@ class Rotation: A seed to initialize the BitGenerator. Defaults to None, i.e. unpredictable entropy will be pulled from the OS. + Returns + ------- + samples : damask.Rotation + Array of rotations sampled from the fiber component. + """ rng = np.random.default_rng(rng_seed) sigma_,alpha_,beta_ = (np.radians(coordinate) for coordinate in (sigma,alpha,beta)) if degrees else \