voyager/move.py
def with_uncertainty(self, sigma=1):
        """Adds normal distributed noise to the current position.

        Args:
            sigma (float): The standard deviation of the added noise. Default: 1.

        Returns:
            Displacement: The Displacement object
        """

        self.dxy += np.random.normal(0, sigma, size=self.dxy.shape)
        
        return self
Adds normal distributed noise to the current position.

        Args:
            sigma (float): The standard deviation of the added noise. Default: 1.

        Returns:
            Displacement: The Displacement object
        
Adds normal distributed noise to the current position.
Adds normal distributed noise to the current position .
def with_uncertainty(self, sigma=1):
        self.dxy += np.random.normal(0, sigma, size=self.dxy.shape)
        return self
def with_uncertainty ( self , sigma = 1 ) : self . dxy += np . random . normal ( 0 , sigma , size = self . dxy . shape ) return self
Adds normal distributed noise to the current position.
Adds normal distributed noise to the current position .
"""Adds normal distributed noise to the current position.

        Args:
            sigma (float): The standard deviation of the added noise. Default: 1.

        Returns:
            Displacement: The Displacement object
        """
The Displacement object
The Displacement object
Displacement
self
sigma
The standard deviation of the added noise. Default: 1.
The standard deviation of the added noise . Default : 1 .