Data module added, TwoPotentialModel implemented, refactored, bugs fixed, new tests generated, coverage reports incorporated.#1
Merged
giochanturia merged 1 commit intomainfrom Mar 7, 2026
Conversation
refactor: added type hints to several functions refactor: globally removed wildcard imports test: coverage reports added with a custom style file test: added more tests all-around to increase coverage feat(constants): E_almost_zero introduced for consistency feat(constants): added radiative widths and branching ratios build(constants): uncertainties package added as a dependency fix(constants): more precise values for alpha_fs, to_nb, and kaon masses fix(constants): the width of the kstar corrected refactor(constants): functions moved to the utils and dynamics modules feat(utils): added a sheet specifier for square roots feat(utils): added functions for (un)citing LaTeX style feat(utils): added a custom save_to_json function refactor(utils): chi2 functions moved to the new data module feat(dynamics): added VAP_T1 and VAP_T2 vertex functions refactor(dynamics): radiative_width_to_normalisation has been renamed feat(dynamics): added radiative_width_to_normalisation_squared_error refactor(dynamics): TwoBodyChannel turned into an abstract class Channel feat(dynamics): vertex and taming functions are passed already squared feat(dynamics): added the PrecomputedChannel class feat(dynamics): added integration_split_points to SemiStableTwoBodyCut fix(dynamics): vectorized kinematic functions in StableTwoBodyChannel fix(dynamics): SemiStableTwoBodyCut excludes taming_factor now fix(dynamics): masks fixed in SemiStableTwoBodyCut.ImPI_integral_RE feat(dynamics): added the class SemiStableTwoBodyChannel feat(dynamics): added the class TwoPotentialModel feat(integrals): added a subtraction point warning to DispersionIntegralRHC feat(data): added check_pd to check positive-definiteness feat(data): added functions to switch betweenc cov, corr, and std feat(data): added a Datablock class (main functionality) feat(data): added Datareader/Datawriter classes to read/write Datablocks
mpenners
approved these changes
Mar 7, 2026
Collaborator
mpenners
left a comment
There was a problem hiding this comment.
Checked and approved for new release
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.
Common
refactor: added type hints to several functions
refactor: globally removed wildcard imports
test: coverage reports added with a custom style file
test: added more tests all-around to increase coverage
Constants module
feat(constants): E_almost_zero introduced for consistency
feat(constants): added radiative widths and branching ratios
build(constants): uncertainties package added as a dependency
fix(constants): more precise values for alpha_fs, to_nb, and kaon masses
fix(constants): the width of the kstar corrected
refactor(constants): functions moved to the utils and dynamics modules
Utilities module
feat(utils): added a sheet specifier for square roots
feat(utils): added functions for (un)citing LaTeX style
feat(utils): added a custom save_to_json function
refactor(utils): chi2 functions moved to the new data module
Dynamics module
feat(dynamics): added VAP_T1 and VAP_T2 vertex functions
refactor(dynamics): radiative_width_to_normalisation has been renamed
feat(dynamics): added radiative_width_to_normalisation_squared_error
refactor(dynamics): TwoBodyChannel turned into an abstract class Channel
feat(dynamics): vertex and taming functions are passed already squared
feat(dynamics): added the PrecomputedChannel class
feat(dynamics): added integration_split_points to SemiStableTwoBodyCut
fix(dynamics): vectorized kinematic functions in StableTwoBodyChannel
fix(dynamics): SemiStableTwoBodyCut excludes taming_factor now
fix(dynamics): masks fixed in SemiStableTwoBodyCut.ImPI_integral_RE
feat(dynamics): added the class SemiStableTwoBodyChannel
feat(dynamics): added the class TwoPotentialModel
Integrals module
feat(integrals): added a subtraction point warning to DispersionIntegralRHC
Data module (NEW)
feat(data): added check_pd to check positive-definiteness
feat(data): added functions to switch betweenc cov, corr, and std
feat(data): added a Datablock class (main functionality)
feat(data): added Datareader/Datawriter classes to read/write Datablocks