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

Add radius and angle to event-based observations #294

Merged
merged 4 commits into from
Dec 22, 2023

Conversation

damianooldoni
Copy link
Member

@damianooldoni damianooldoni commented Dec 21, 2023

This PR fixes #291.

During conversion to older version, it takes for each eventID-individualID the values of individualPositionRadius and individualPositionAngle where the following holds true:

  • individualPositionRadius and individualPositionAngle are both not NA
  • eventStart is the lowest one. In case of multiple values with same eventStart, the first row is taken (this is more a safety move, as using individualID for grouping there shouldn't be multiple values of eventStart for each group)

This results in one and only one value of individualPositionRadius and individualPositionAngle for each eventID-individualID.

These values are joint to event-based observations based on eventID-individualID.

@damianooldoni damianooldoni self-assigned this Dec 21, 2023
radius and angle must be always NA if they are not filled in at media level obsrevations too.
@damianooldoni damianooldoni merged commit 4b2f513 into main Dec 22, 2023
@damianooldoni damianooldoni deleted the add-pos-angle-to-event-obs branch December 22, 2023 09:52
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.

Take radius/angle from first media-based observation and assign at event-level when down-converting
2 participants