Skip to content

Add interp_method to all the interpolators - #486

Open
huixingjian wants to merge 4 commits into
LASY-org:developmentfrom
huixingjian:profile_interpolation
Open

Add interp_method to all the interpolators#486
huixingjian wants to merge 4 commits into
LASY-org:developmentfrom
huixingjian:profile_interpolation

Conversation

@huixingjian

Copy link
Copy Markdown
Contributor

This PR adds an interp_method option to array-based laser profile interpolation.
Previously, RegularGridInterpolator used its default interpolation method, which is "linear". While linear interpolation is robust and efficient, it can introduce noticeable interpolation errors for smooth or highly structured laser fields. This PR exposes the interpolation method as a user-configurable argument, allowing users to select higher-order interpolation schemes when needed.

@huixingjian
huixingjian requested a review from MaxThevenet June 9, 2026 10:29
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