(self, times, abs=0)
return path
abs is a boolean: true if desire nonzero probability of absorption at 0, false else.
abs is a boolean: true if desire nonzero probability of absorption at 0, false else.
abs is a boolean : true if desire nonzero probability of absorption at 0 false else .
def generate_sample_path(self, times, abs=0):
        "abs is a boolean: true if desire nonzero probability of absorption at 0, false else."
        #first, transform times:
        transformedTimes = [self._time_transformation(t) for t in times]
        path = self.SqB.generate_sample_path(transformedTimes,abs)
        tpath = [self._space_transformation(times[i],p[1]) for i,p in enumerate(path) ]
        path=[]
        for i in xrange(len(tpath)):
            path.append((times[i],tpath[i]))
        return path
def generate_sample_path ( self , times , abs = 0 ) : #first, transform times: transformedTimes = [ self . _time_transformation ( t ) for t in times ] path = self . SqB . generate_sample_path ( transformedTimes , abs ) tpath = [ self . _space_transformation ( times [ i ] , p [ 1 ] ) for i , p in enumerate ( path ) ] path = [ ] for i in xrange ( len ( tpath ) ) : path . append ( ( times [ i ] , tpath [ i ] ) ) return path