Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding in continuity checking functions #25

Merged
merged 14 commits into from
Nov 6, 2024
Merged

Adding in continuity checking functions #25

merged 14 commits into from
Nov 6, 2024

Conversation

thomaszwagerman
Copy link
Collaborator

Closes #24

Adds in new functions:

  • timeline() - checks whether a timeseries is continuous by a given expected lag e.g. we expect no more than 1 seconds between timestamps.
  • timeline_group() - returns a dataframe identical to the one it was given, with the addition of timelag and timeline_group column. This divides the timeseries in distinct continuous sequences.

@thomaszwagerman thomaszwagerman changed the title Adding in continuity checking functions. Adding in continuity checking functions Nov 6, 2024
@thomaszwagerman thomaszwagerman marked this pull request as ready for review November 6, 2024 17:40
@thomaszwagerman thomaszwagerman merged commit 0c2e6ee into main Nov 6, 2024
7 checks passed
@thomaszwagerman thomaszwagerman deleted the timelines branch November 6, 2024 17:44
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.

Add continuity check function used in the penguin weighbridge analysis
1 participant