-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix!: use es.FormFactor in _RelativisticBreitWigner #187
Conversation
@spflueger It seems that the pre-factor for relativistic Breit-Wigners was converted incorrectly form the v0.1.3 (see here) this branch (generated locally with c35f270) Is this the expected behaviour when adding a form-factor? |
#187 (comment) So actually there are three separate problems:
These three problems can be addressed by separate PRs (more transparent). This PR will need to fix some of the test values and rethink the example parameter values of the workflow notebook. |
22d5eba fixes the tests, apart form I can fix this tests quickly, but we may have to think of a fix here (@spflueger)? |
The last optimize call is currently not written to the fit traceback. Fixing this requires more work and is better handled in #186
Codecov Report
@@ Coverage Diff @@
## master #187 +/- ##
==========================================
- Coverage 83.66% 82.24% -1.43%
==========================================
Files 13 13
Lines 704 704
Branches 97 97
==========================================
- Hits 589 579 -10
- Misses 83 90 +7
- Partials 32 35 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Small fix for a bug that was forgotten to be changed in #134 (the change was correctly implemented for
_NonDynamic
tensorwaves/src/tensorwaves/physics/helicity_formalism/amplitude.py
Lines 456 to 461 in c35f270
Not sure why this wasn't spotted before. Long-term, this is better addressed through #162.
To-do list
AmplitudeModel
for a relativistic BW