Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to focus the beam at arbitrary position #853

Merged
merged 4 commits into from
Jan 20, 2023

Conversation

MaxThevenet
Copy link
Member

@MaxThevenet MaxThevenet commented Jan 20, 2023

This PR adds the option to focus the beam at arbitrary position z_foc. Only implemented fix fixed-weight Gaussian beam, as it is the most useful in practice. For the rest, reformatting would be helpful anyway.

Plot: Beam width vs. z position.
Blue: old implementation (focused at z=0), the line is just shifted in z by 2 cm.
dashed Orange: new implementation, using z_foc.
Screenshot 2023-01-20 at 12 15 05

@MaxThevenet MaxThevenet added documentation Improvements or additions to documentation component: beam About the beam species labels Jan 20, 2023
Copy link
Member

@SeverinDiederichs SeverinDiederichs left a comment

Choose a reason for hiding this comment

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

Thanks for adding this feature

@MaxThevenet MaxThevenet merged commit a3fbc11 into Hi-PACE:development Jan 20, 2023
@MaxThevenet MaxThevenet deleted the z_foc branch January 20, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: beam About the beam species documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants