Skip to content

fix: make patch motion groups the sum of the underlying frame data - #1359

Merged
biochem-fan merged 1 commit into
3dem:ver5.0from
fullerjamesr:motiongroup
Aug 14, 2026
Merged

biochem-fan merged 1 commit into
3dem:ver5.0from
fullerjamesr:motiongroup

Conversation

@fullerjamesr

Copy link
Copy Markdown
Contributor

I noticed while playing around with motion correcting movies with intentionally inadvisably high fractionation that grouping was not having the expected result. I think there is a bug here where currently a patch's group actually just ends up set to the contents of the last frame in the group, whereas I assume what I have in this pull request was/is the actual intent: sum the contents of the frames within each group/patch?

When I tested this change, grouping gave better/more successful local motion results than the existing code.

@biochem-fan
biochem-fan changed the base branch from master to ver5.1 August 14, 2026 21:13
@biochem-fan
biochem-fan changed the base branch from ver5.1 to ver5.0 August 14, 2026 21:14
@biochem-fan

Copy link
Copy Markdown
Member

Oops! You are right. This was a terrible mistake.

Thank you very much for catching it!

@biochem-fan
biochem-fan merged commit 31c220e into 3dem:ver5.0 Aug 14, 2026
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