Skip to content

Analysis Test Scripts: Check <z> and pt #232

@ax3l

Description

@ax3l

We should check if our beam particles actually moved, instead of only checking 2nd moments.

We often check stationary and periodic solutions. If we only check the 2nd moments, we will not notice if particles did not move at all. For instance, in the development of #214 we accidentally did a zero-element simulation which passed all tests and only failed during plotting.

Thus, we should check:

  • the expected phase change on pt (and/or pz) of the reference particle
  • the expected average position of the particle beam.

cc @cemitch99 @n01r and me

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions