Skip to content

Support periodic parameters#127

Merged
cmbant merged 6 commits into
masterfrom
periodic
Aug 18, 2025
Merged

Support periodic parameters#127
cmbant merged 6 commits into
masterfrom
periodic

Conversation

@cmbant

@cmbant cmbant commented Aug 8, 2025

Copy link
Copy Markdown
Owner

No description provided.

@cmbant cmbant linked an issue Aug 8, 2025 that may be closed by this pull request
cmbant added 2 commits August 8, 2025 12:10
- Add convolve2D_periodic() function for 2D periodic convolution
- Support periodic_x, periodic_y, periodic_both convolution modes
- Update get2DDensity() to detect parameter periodicity and select appropriate convolution mode
- Fix edge mask handling to skip boundary corrections on periodic axes
- Add comprehensive test case for periodic 2D density calculations
- Ensure perfect boundary continuity for periodic parameters while preserving edge effects for non-periodic parameters
@cmbant

cmbant commented Aug 8, 2025

Copy link
Copy Markdown
Owner Author

The 2D case was mainly by iteration with AI, is assuming same bandwidth as before (both 1D and 2D). Sample plots look OK, but not extensively tested and no real-world test case to hand.

@cmbant cmbant changed the title WIP: Support periodic parameters Support periodic parameters Aug 13, 2025
@cmbant cmbant merged commit ff477be into master Aug 18, 2025
8 checks passed
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.

Periodic boundary option

1 participant