@@ -18,15 +18,16 @@ def __init__(self, ellipsoid_dict, sample_surface=False):
1818 :param dict ellipsoid_dict: A dictionary where the keys are the variable
1919 names and the values are the domain extrema.
2020 :param bool sample_surface: A flag to choose the sampling strategy.
21- If ``True``, samples are taken only from the surface of the ellipsoid.
21+ If ``True``, samples are taken from the surface of the ellipsoid.
2222 If ``False``, samples are taken from the interior of the ellipsoid.
2323 Default is ``False``.
2424 :raises TypeError: If the input dictionary is not correctly formatted.
2525
2626 .. warning::
2727 Sampling for dimensions greater or equal to 10 could result in a
2828 shrinkage of the ellipsoid, which degrades the quality of the
29- samples. For dimensions higher than 10, use other sampling algorithms.
29+ samples. For dimensions higher than 10, use other sampling
30+ algorithms.
3031 .. seealso::
3132 **Original reference**: Dezert, Jean, and Musso, Christian.
3233 *An efficient method for generating points uniformly distributed
@@ -101,7 +102,8 @@ def is_inside(self, point, check_border=False):
101102 the ellipsoid. Default is ``False``.
102103 :raises ValueError: If the labels of the point are different from those
103104 passed in the ``__init__`` method.
104- :return: ``True`` if the point is inside the domain, ``False`` otherwise.
105+ :return: ``True`` if the point is inside the domain,
106+ ``False`` otherwise.
105107 :rtype: bool
106108
107109 .. note::
@@ -147,7 +149,6 @@ def is_inside(self, point, check_border=False):
147149 return bool (eqn < 0 )
148150
149151 def _sample_range (self , n , mode , variables ):
150- """"""
151152 """
152153 Rescale the samples to fit within the specified bounds.
153154
0 commit comments