pytrax/__RandomWalk__.py
def _get_starts(self, same_start=False):
        r'''
        Start walkers in the pore space at random location
        same_start starts all the walkers at the same spot if True and at
        different ones if False
        Parameters
        ----------
        same_start: bool
            determines whether to start all the walkers at the same coordinate
        '''
        if not same_start:
            walkers = self._rand_start(self.im, num=self.nw)
        else:
            w = self._rand_start(self.im, num=1).flatten()
            walkers = np.tile(w, (self.nw, 1))
        return walkers
r'''
        Start walkers in the pore space at random location
        same_start starts all the walkers at the same spot if True and at
        different ones if False
        Parameters
        ----------
        same_start: bool
            determines whether to start all the walkers at the same coordinate
        
r'''
Start walkers in the pore space at random location
same_start starts all the walkers at the same spot if True and at
different ones if False
Parameters

bool
determines whether to start all the walkers at the same coordinate
r ' ' ' Start walkers in the pore space at random location same_start starts all the walkers at the same spot if True and at different ones if False Parameters bool determines whether to start all the walkers at the same coordinate
def _get_starts(self, same_start=False):
        if not same_start:
            walkers = self._rand_start(self.im, num=self.nw)
        else:
            w = self._rand_start(self.im, num=1).flatten()
            walkers = np.tile(w, (self.nw, 1))
        return walkers
def _get_starts ( self , same_start = False ) : if not same_start : walkers = self . _rand_start ( self . im , num = self . nw ) else : w = self . _rand_start ( self . im , num = 1 ) . flatten ( ) walkers = np . tile ( w , ( self . nw , 1 ) ) return walkers
r'''
Start walkers in the pore space at random location
same_start starts all the walkers at the same spot if True and at
different ones if False
Parameters
r ' ' ' Start walkers in the pore space at random location same_start starts all the walkers at the same spot if True and at different ones if False Parameters
r'''
        Start walkers in the pore space at random location
        same_start starts all the walkers at the same spot if True and at
        different ones if False
        Parameters
        ----------
        same_start: bool
            determines whether to start all the walkers at the same coordinate
        '''
self
same_start