(self, rot=np.pi / 4, p=1.)
| 841 | |
| 842 | class RandomRotateAligned(object): |
| 843 | def __init__(self, rot=np.pi / 4, p=1.): |
| 844 | self.rot = rot |
| 845 | self.p = p |
| 846 | |
| 847 | def __call__(self, coord, coord1=None): |
| 848 | if np.random.rand() < self.p: |
nothing calls this directly
no outgoing calls
no test coverage detected