Skip to content
Snippets Groups Projects

Improve residual gas scattering calculations

Merged Kevin Kuns requested to merge kevin.kuns/pygwinc:superGas into master

This allows you to specify the partial pressure of each species as a function of position along the beamtubes instead of assuming that they are constant. An example is given in test/noise/residualgas/AplusSuperGas.

The original gas scattering calculation also approximated the integral by expanding the exponential to first order. This approximation is suspect and has been replaced with the same numerical integral that is needed for arbitrary pressure profiles. The following two plots show the difference between the new exact calculations and the old approximate ones for A+

resgas

resgas_approx

Merge request reports

Merge request pipeline #482950 passed

Merge request pipeline passed for a70b5787

Approval is optional
Ready to merge by members who can write to the target branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading