onnela-lab / forest

Forest is a library for analyzing smartphone-based high-throughput digital phenotyping data
https://forest.beiwe.org
BSD 3-Clause "New" or "Revised" License
28 stars 16 forks source link

fix imputation code to not mix up x/y and times #197

Closed clementzach closed 1 year ago

clementzach commented 1 year ago

Previously, compute_future_flight_positions was using the incorrect indices to create start_x and start_y. This caused invalid latitude measurements to be introduced, and later introduced errors down the line. This fixes that issue.

GeorgeEfstathiadis commented 1 year ago

@clementzach looks good feel free to merge

clementzach commented 1 year ago

Thank you @GeorgeEfstathiadis !