Skip to content

Commit

Permalink
Fixed a typo in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk committed Mar 23, 2024
1 parent 2a7d728 commit d8f34cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tcutility/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def RMSD(X: np.ndarray, Y: np.ndarray, axis: Union[int, None] = None, use_kabsch

def random_points_on_sphere(shape: Tuple[int], radius: float = 1) -> np.ndarray:
"""
Generate a random points on a sphere with a specified radius.
Generate random points on a sphere with a specified radius.
Args:
shape: The shape of the resulting points, generally shape[0] coordinates with shape[1] dimensions
Expand All @@ -407,7 +407,8 @@ def random_points_on_sphere(shape: Tuple[int], radius: float = 1) -> np.ndarray:

def random_points_in_anular_sphere(shape: Tuple[int], min_radius: float = 0, max_radius: float = 1):
"""
Generate a random points in a sphere with specified radii.
Generate random points in an sphere or anular sphere with specified radii.
An anular sphere is a hollow sphere of a certain thickness.
Args:
shape: The shape of the resulting points, generally shape[0] coordinates with shape[1] dimensions
Expand Down

0 comments on commit d8f34cc

Please sign in to comment.