Skip to content

Sliding stop implementation#222

Merged
andresmondragont merged 7 commits intomainfrom
caroline-sliding-stop
Mar 3, 2026
Merged

Sliding stop implementation#222
andresmondragont merged 7 commits intomainfrom
caroline-sliding-stop

Conversation

@carolineychen8
Copy link
Contributor

Added implementation in sliding.py and added tests to stop detection tests.

@carolineychen8
Copy link
Contributor Author

Add dbscan section to visit attribution
Sliding part: https://github.com/mie-lab/trackintel/blob/master/trackintel/preprocessing/positionfixes.py#L14
Postprocessing - merge_stops to merge stops that are consecutive and in the same location (delta, T_gap, location="loc_id" -- column name). Merge_staypoints implementation, so generate locations creates the location column and thn merge_staypoints combines

@paco-barreras paco-barreras self-requested a review January 23, 2026 18:28
Copy link
Contributor

@andresmondragont andresmondragont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same error as #216 nomad/tests/test_io.py::test_from_df_values_types_na

@andresmondragont andresmondragont added bug Something isn't working and removed bug Something isn't working labels Mar 1, 2026
@andresmondragont andresmondragont merged commit 7f222a5 into main Mar 3, 2026
@paco-barreras paco-barreras deleted the caroline-sliding-stop branch March 3, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants