Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _extract_significant_points(self):
significant_points = []
for traj in self.traj_collection.trajectories:
a = _PtsExtractor(traj, self.max_distance, self.min_distance, self.min_stop_duration, self.min_angle)
significant_points = significant_points + a.find_significant_points()
return significant_points