UFO.track¶
- UFO.track()[source]¶
This method packages the possible UFO detections for the
Tracker, passes them to the tracker, and then attempts to track the UFOs from image to image.The packaging of the detections essentially boils down to building a scipy.spatial
cKDTreeon the(x_raw, y_raw)pixel locations for each detection, and retrieving the id for each UFO detection (the index of theDetector.detection_data_frame). This data is then passed to thetracker, and theTracker.track()method is called. The results are then stored in theTracker.confirmed_filtersandTracker.confirmed_standard_deviationsattributes.You can filter which possible detections are fed to the tracker using the
tracking_quality_code_minimumattribute.Note that this method can take a while to run, will use multi-processing, and will likely take up a lot of memory (depending on the number of images/number of detections per image).