Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • pygwinc pygwinc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gwincgwinc
  • pygwincpygwinc
  • Merge requests
  • !154

Improve residual gas scattering calculations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kevin Kuns requested to merge kevin.kuns/pygwinc:superGas into master Mar 28, 2022
  • Overview 0
  • Commits 2
  • Pipelines 4
  • Changes 5

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: superGas