-
Notifications
You must be signed in to change notification settings - Fork 3
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
Introduce InPhaseSpacePoint #68
Conversation
…ests, rearranged files
Co-authored-by: Anton Reinhard <anton.reinhard@proton.me>
…into 58-ps-improve
…acePoints into interfaces
It might be good to have some more tests for the generation of PSPs and InPSPs from coordinates. They're currently only tested through usage in other higher-level tests like the Compton tests, but it might be good to have some unit tests for them as well. I'm not completely sure how the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good for me, just some small comments.
Regarding the unit tests involving _generate_momenta
, I will send in something later.
@szabo137 Please review again and check if your comments are resolved |
As discussed here: QEDjl-project/QEDprocesses.jl#68 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for me! All comments are addressed and the issues are solved. Thank you very much for the contribution, nice work!
Edit: my bad, there was one little comment which slipped through. However, feel free to resolve it by yourself and merge.
This PR adds a type
InPhaseSpacePoint
, which is a partially specialized version of aPhaseSpacePoint
. It can be used to dispatch in places where only the incoming part of a phase space is required. Construction of PhaseSpacePoints now allows empty tuples for either incoming or outgoing phase spaces.Left to do:
InPhaseSpacePoint
InPhaseSpacePoint
s