Skip to content
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

Support for range in couplings restriction #37

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ValentinHirschi
Copy link
Member

Modified coupling restriction specification so as to be able to supply a valid range.

@lcnbr I have updated the python end and some of the rust part, you can take it off from:

NodeColor::passes_amplitude_filter(&cut.0, graph, amp_couplings)
                    && NodeColor::passes_amplitude_filter(&cut.2, graph, amp_couplings)

(currently not compiling).

Then update the syntax in the python tests (QCD= -> QCD== and QED=->QED==) as well as add some for this new range options (for the case where you know how many diagrams you expect, or set it to whatever number you currently get when visual inspection looks good.
Also update the wiki! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants