(self, sigma=0.01, clip=None, p=1.)
| 194 | |
| 195 | class JitterPoints: |
| 196 | def __init__(self, sigma=0.01, clip=None, p=1.): |
| 197 | assert 0 < p <= 1. |
| 198 | assert sigma > 0. |
| 199 | |
| 200 | self.sigma = sigma |
| 201 | self.clip = clip |
| 202 | self.p = p |
| 203 | |
| 204 | def __call__(self, e): |
| 205 | """ Randomly jitter points. jittering is per point. |
nothing calls this directly
no outgoing calls
no test coverage detected