Skip to content

Implement temporal_smooth in pytorch#1255

Open
ethanbb wants to merge 1 commit into
MouseLand:mainfrom
proektlab:temporal-smooth-torch
Open

Implement temporal_smooth in pytorch#1255
ethanbb wants to merge 1 commit into
MouseLand:mainfrom
proektlab:temporal-smooth-torch

Conversation

@ethanbb

@ethanbb ethanbb commented Jul 1, 2026

Copy link
Copy Markdown

This implements temporal_smooth for the smooth_sigma_time registration option, which is currently broken since it doesn't handle torch input. To get the same reflect-padding behavior as the scipy default (technically this matches the 'mirror' mode), and to avoid depending on torchimage, I first pad and then convolve with a Gaussian kernel using conv1d.

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.

1 participant