Skip to content

add notebooks and improve BS wav build readability#46

Merged
pablo-richard merged 1 commit into
masterfrom
fix-wavelet-norm
Jun 4, 2026
Merged

add notebooks and improve BS wav build readability#46
pablo-richard merged 1 commit into
masterfrom
fix-wavelet-norm

Conversation

@pablo-richard

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 4, 2026 07:28
@pablo-richard pablo-richard mentioned this pull request Jun 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the radial bump-window construction in the 2D bump steerable wavelet (Fourier-domain) to make the width_factor scaling explicit in the support definition, alongside a comment update intended to improve readability/traceability.

Changes:

  • Adjusts the bump-window support from r < 1 to r < 1/sqrt(width_factor) to match the subsequent r2 *= width_factor scaling.
  • Updates the inline comment that references where the width_factor choice was numerically validated (notebook name).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 445 to +448
# apply bump window over r: g(r) = exp(-r^2 / (1 - r^2)) * 1_{0<r<1}
r2 = r**2
support_r = (r >= 0.0) & (r < 1.0)
r2 *= width_factor # optimized parameter (for L=4) to follow at best Littlewood Paley condition, see numerical integration in the notebook "BS_wavelet_kernel.ipynb"
r2 *= width_factor # optimized parameter (for L=4) to follow at best Littlewood Paley condition, see numerical integration in the notebook "consistency_Kernel_FFT.ipynb"
support_r = (r >= 0.0) & (r < width_factor ** (-0.5))
@pablo-richard pablo-richard merged commit b19ecae into master Jun 4, 2026
5 checks passed
@pablo-richard pablo-richard deleted the fix-wavelet-norm branch June 4, 2026 07:36
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