Closed AntonReinhard closed 1 month ago
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 generate_momenta
actually works though, so it might be better if @szabo137 can do this?
@szabo137 Please review again and check if your comments are resolved
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