Repository navigation
FIX: support phasespace v2.0 - #606
Merged
Merged
Conversation
redeboer
force-pushed
the
support-phasespace-2
branch
from
November 18, 2026 09:23
27aea40 to
20851d7
Compare
redeboer
force-pushed
the
support-phasespace-2
branch
from
November 19, 2026 10:33
ed79279 to
607668a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
phasespacev2.0 #605This PR extracts the non-breaking part of #599 for a 0.4.18 patch release. The
phspextra still installs TensorFlow, and the class names keep theirTFprefix.🐛 Bug fixes
TFPhaseSpaceGeneratorandTFWeightedPhaseSpaceGeneratorwork withphasespace2.0. They now select thephasespacebackend explicitly instead of relying on its default, which became NumPy in 2.0. With the default"tensorflow"backend, the generators produce exactly the same samples for the same seed as before.⚙️ Enhancements
backendargument that accepts"tensorflow"(default),"numpy", or"jax". The generators always return NumPy arrays. To support backend selection, thephspextra now requiresphasespace1.11 or higher instead of 1.7.RealNumberGenerator, instead of raising aTypeErrorfor anything other than aTFUniformRealNumberGenerator. A generator that does not belong to the selected backend provides an integer seed, so samples stay reproducible.📝 Documentation
RealNumberGenerator, and links to the published reports TR-036 and TR-037 that benchmark the backends and the weight maximum estimate.Squash commit messages