(self)
| 80 | self.actual_number_of_points = pts |
| 81 | |
| 82 | def randomize(self): |
| 83 | self.actual_number_of_points = min( |
| 84 | max( |
| 85 | np.random.randint(self.num_points * 0.8, self.num_points * 1.2), |
| 86 | 1 |
| 87 | ), self.points.shape[1] |
| 88 | ) |
| 89 | |
| 90 | |
| 91 | if __name__ == "__main__": |