Home | History | Annotate | Download | only in oopif

Lines Matching refs:jitter

73     #  jitter is the amount of randomness applied to nframes and nsites.
74 # Should be from [0,1]. 0.0 means no jitter.
75 # size_jitter is like jitter, but for width and height.
79 self.jitter = float(query_dict.get('jitter', [0] )[0])
116 host = rand.randint(1, apply_jitter(rand, params.jitter, params.nsites))
120 def apply_jitter(rand, jitter, n):
121 """Reduce n by random amount from [0, jitter]. Ensures result is >=1."""
122 if jitter <= 0.001:
124 v = n - int(n * rand.uniform(0, jitter))
193 for frame in xrange(0, apply_jitter(rand, params.jitter, params.nframes)):