Detector.remove_duplicates

giant.ufo.detector:

Detector.remove_duplicates()[source]

Removes duplicates from the dataframe.

Occasionally if many points are close to each other we might end up with duplicate detections. This method gets rid of them by looking for pairs of detections that are within 2 pixels of each other and only keeping the one with the better quality_code.