apoluekt / AmpliTF

Library of primitives for amplitude analyses in high-energy physics using TensorFlow v2
6 stars 4 forks source link

feat: add separate Breit-Wigner decay lineshape #5

Closed spflueger closed 4 years ago

spflueger commented 4 years ago

Adds a function is almost identical to the existing breit_wigner_lineshape. The only difference is the excluded production form factor.

I did not yet change any of the existing lineshape functions to call the new breit_wigner_decay_lineshape. It would be good to have the other functions call that to be more DRY. However the logic with the barrier_factor option is quite a bit different. Hence I did not modify any code there. This would need a small discussion first on how to solve that first.

Closes #3