-
Notifications
You must be signed in to change notification settings - Fork 2
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
Caching harmonic sums #202
Closed
Closed
Changes from 25 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c14b43e
Split math of status quo
felixhekhorn 85c2da6
Move ads to new layout
felixhekhorn 10d2240
Add pytest coverage
felixhekhorn 8fd5436
fix init name
giacomomagni 4678da7
Start reshuffling OME
felixhekhorn 694a239
Move ad benchmark
felixhekhorn ec04696
Move OME
felixhekhorn febd415
Add missing init file
felixhekhorn bb6af22
propagate polarized and time-like from op card to op.__init__
giacomomagni 3db8696
Add switch for OME
felixhekhorn 7a74ddb
Fix function names
felixhekhorn 1126089
Fix runcard translation
felixhekhorn 9226ccc
Init cache at LO
felixhekhorn 45b95a5
Update src/ekore/harmonics/cache.py
felixhekhorn 764d876
added all harmonic sums that are currently implemented to new cache, …
t7phy d2fd535
with pre-commit
t7phy 3d766ba
change imports to use eko.constants
t7phy 26f1ddb
added fractional harmonic sums and g functions to cache
t7phy 611f3bb
harmonic sums Smx using cache
t7phy e88edf9
removal of recursive imports while preserving use of already computed…
t7phy 0168fa1
g3p1 and g3p2 added to cache
t7phy 65fee8a
sm21 and pylint error fixes for cache file
t7phy 0d2c8d2
additional cache error fixes
t7phy 51d8ec8
merge master in harmonic-sums-cache
t7phy 0cf143d
merge master in harmonic-sums-cache
t7phy 5de8a74
resolve merge conflicts
t7phy 07eec29
resolve merge conflicts
t7phy 12fbe7a
complete implementation of new harmonic sums cachefor spacelike case
t7phy 1f4e9b5
some error fixes
t7phy 1e3adf9
new cache consistency fixes
t7phy 483107c
fixed some tests to work with new cache
t7phy 0d5fd14
Merge branch 'master' into harmonic-sums-cache
giacomomagni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
21 changes: 21 additions & 0 deletions
21
src/ekore/anomalous_dimensions/polarized/time_like/__init__.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
r"""The polarized, time-like Altarelli-Parisi splitting kernels. | ||
|
||
Normalization is given by | ||
|
||
.. math:: | ||
\mathbf{P}(x) = \sum\limits_{j=0} a_s^{j+1} \mathbf P^{(j)}(x) | ||
|
||
with :math:`a_s = \frac{\alpha_S(\mu^2)}{4\pi}`. | ||
""" | ||
|
||
import numba as nb | ||
|
||
|
||
@nb.njit(cache=True) | ||
def gamma_ns(_order, _mode, _n, _nf): | ||
raise NotImplementedError("Polarised, time-like is not yet implemented") | ||
|
||
|
||
@nb.njit(cache=True) | ||
def gamma_singlet(_order, _n, _nf): | ||
raise NotImplementedError("Polarised, time-like is not yet implemented") |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
now you have some nice merge conflicts - that you need to resolve ;-) (and might it be that you're still not running pre-commit? because that should have prevented you from committing thing ...)
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.
I have been using pre commit for the time_like branch but not here because pydocs requires imperative statements in docstrings(for instance, it needs to be Compute xyz instead of Computes xyz), however a lot of the previous functions (such as in as2, as3, etc.) do not implement it so I just skip pre commit for this branch for the time being. Will get to it soon enough ;)
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.
I know - but for new code you should, of course, do it and then you are only allowed to skip pre-commit in the very last step, i.e. when no one, but pydocstyle is complaining
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.
right, noted!