Skip to content

fix: epsilon and gamma calculations in KinematicsFactory - #1580

Open
c-dilks wants to merge 1 commit into
developmentfrom
fix-kinematicsfactory
Open

c-dilks wants to merge 1 commit into
developmentfrom
fix-kinematicsfactory

Conversation

@c-dilks

@c-dilks c-dilks commented Nov 11, 2026

Copy link
Copy Markdown
Member

No one uses this, as far as I can tell, but might as well fix it anyway. This is a breaking change.

  • getEpsilon is wrong, rather it almost returns $\gamma$
  • the denominator of the $\gamma$ calculation should be $Q$, not $Q^2$
  • the correct getEpsilon also needs an energy parameter (to calculate $y$)

No one uses this, as far as I can tell, but might as well fix it anyway. This is a breaking change.

- `getEpsilon` is wrong, rather it _almost_ returns $\gamma$
- the denominator of the $\gamma$ calculation should be $Q$, not $Q^2$
- the correct `getEpsilon` also needs an energy parameter (to calculate $y$)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants