@@ -711,7 +711,7 @@ def in_range(point, extent):
711711 :param extent: tuple of four integers (2D case) (y_start, y_stop, x_tart, x_stop)
712712 or six integers (3D case)
713713 (z_start, z_stop, y_start, y_stop, x_tart, x_stop) representing the range of
714- valid indices
714+ valid indices
715715 :return: True if point belongs to extent, False otherwise
716716 """
717717 # check parameters
@@ -773,8 +773,8 @@ def linecut(array, point, direction, direction_basis="voxel", voxel_size=1):
773773 :param direction_basis: 'orthonormal' if the vector direction is expressed in
774774 an orthonormal basis. In that case it
775775 will be corrected for the different voxel sizes in each direction. 'voxel' if
776- direction is expressed in the non-orthonormal basis defined by the voxel sizes
777- in each direction.
776+ direction is expressed in the non-orthonormal basis defined by the voxel sizes
777+ in each direction.
778778 :param voxel_size: real positive number or tuple of 2 (for 2D) or 3 (for 3D)
779779 real positive numbers representing the voxel size in each dimension.
780780 :return: distances (1D array, distance along the linecut in the unit given by
@@ -1635,7 +1635,7 @@ def rotate_vector(
16351635 reference_axis will be discarded.
16361636 :return: tuple of three ndarrays in CXI convention z y x, each of shape
16371637 (vectors[0].size, vectors[1].size, vectors[2].size). If a single vector is
1638- provided, returns a 1D array of size 3.
1638+ provided, returns a 1D array of size 3.
16391639 """
16401640 # check parameters
16411641 if isinstance (vectors , np .ndarray ):
0 commit comments