Giter Club home page Giter Club logo

Comments (1)

cemitch99 avatar cemitch99 commented on September 17, 2024 1

Verifying the evolution of the reference particle is a good check. However, in many cases (all the straight magnetic elements), all components of the momentum (including pt) will be unchanged. In the IOTA ring example, (x,y,z,px,py,pz,pt) are all periodic. If we want to exclude the trivial solution, I suggest looking at the reference particle quantities arc length s and the time t, which will always change (unless the lattice has only zero-length elements).

Because the beam particles are defined relative to the reference particle, the expected average position of the particle beam usually does not change more than a small amount (resulting from noise associated with the statistics due to the finite number of particles).

In order to verify that the beam particles have moved, one simple solution is to check that the initial and final values of the second moments are not identical to all digits (as they should not be), but that they agree within the specified tolerance. Another possibility is to check explicitly that the first particle in the distribution has moved to a different position.

from impactx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.