-
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
Time-like Anomalous dimensions #200
Closed
Closed
Changes from 6 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d434cd7
fc
t7phy 5a85aec
Merge remote-tracking branch 'origin/split-math-in-module' into time_…
t7phy 8df49c0
leading order
t7phy 78a0739
leading order
t7phy 6d31c8b
leading order
t7phy 86614dc
leading order
t7phy d995a0e
formatting changes for consistency
t7phy 7f0ee3f
formatting changes for consistency 2
t7phy 5ccbcd5
NLO ADs, citations and formatting
t7phy 3016d63
code formatting
t7phy 569c615
code cosnsistency
t7phy 0b93753
update import
t7phy fe0a49a
consistency with new harmonic sums cache
t7phy 98b3e24
Update pre-commit hooks
alecandido 9558e22
time-like NNLO ADs
t7phy 53356ae
pylint test
t7phy 561648e
pylint test 2
t7phy 2d8bede
time_like ADs init file
t7phy 6bdd487
LO benchmark
t7phy b4e8bb9
merge master to current this branch
t7phy feb2dce
removal of tests with NotImplementedError
t7phy 7307c6e
backup commit
t7phy 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
21 changes: 0 additions & 21 deletions
21
src/ekore/anomalous_dimensions/unpolarized/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 |
---|---|---|
@@ -1,21 +0,0 @@ | ||
r"""The unpolarized, 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 is not yet implemented") | ||
|
||
|
||
@nb.njit(cache=True) | ||
def gamma_singlet(_order, _n, _nf): | ||
raise NotImplementedError("Polarised is not yet implemented") | ||
117 changes: 117 additions & 0 deletions
117
src/ekore/anomalous_dimensions/unpolarized/time_like/as1.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,117 @@ | ||
# -*- coding: utf-8 -*- | ||
"""The following are the unpolarized time-like leading order Altarelli-Parisi splitting kernels.""" | ||
|
||
import numba as nb | ||
import numpy as np | ||
from eko import constants | ||
|
||
|
||
|
||
@nb.njit(cache=True) | ||
def gamma_qq(N, s1): | ||
""" | ||
Computes the LO quark-quark anomalous dimension | ||
Implements Eqn. (B.3) from hep-ph/0604160 | ||
t7phy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Input parameters | ||
---------------- | ||
t7phy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
N : Mellin moment (type: complex) | ||
t7phy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
s1 : harmonic sum $S_{1}$ (type: complex) | ||
|
||
Returns | ||
------- | ||
gamma_qq : LO quark-quark anomalous dimension $\gamma_{qq}^{(0)}(N)$ (type: complex) | ||
t7phy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
t7phy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
result = constants.CF * (-3.0 + (4.0 * s1) - 2.0 / (N * (N + 1.0))) | ||
return result | ||
t7phy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
@nb.njit(cache=True) | ||
def gamma_qg(N): | ||
""" | ||
Computes the LO quark-gluon anomalous dimension | ||
Implements Eqn. (B.4) from hep-ph/0604160 and Eqn. (A1) from PhysRevD.48.116 | ||
|
||
Input parameters | ||
---------------- | ||
N : Mellin moment (type: complex) | ||
|
||
Returns | ||
------- | ||
gamma_qg : LO quark-gluon anomalous dimension $\gamma_{qg}^{(0)}(N)$ (type: complex) | ||
""" | ||
result = - (N**2 + N + 2.0) / (N * (N + 1.0) * (N + 2.0)) | ||
return result | ||
|
||
@nb.njit(cache=True) | ||
def gamma_gq(N, nf): | ||
""" | ||
Computes the LO gluon-quark anomalous dimension | ||
Implements Eqn. (B.5) from hep-ph/0604160 and Eqn. (A1) from PhysRevD.48.116 | ||
|
||
Input parameters | ||
---------------- | ||
N : Mellin moment (type: complex) | ||
nf : No. of active flavors (type: int) | ||
|
||
Returns | ||
------- | ||
gamma_qg : LO quark-gluon anomalous dimension $\gamma_{gq}^{(0)}(N)$ (type: complex) | ||
""" | ||
result = -4.0 * nf * constants.CF * (N**2 + N + 2.0) / (N * (N - 1.0) * (N + 1.0)) | ||
return result | ||
|
||
@nb.njit(cache=True) | ||
def gamma_gg(N, s1, nf): | ||
""" | ||
Computes the LO gluon-gluon anomalous dimension | ||
Implements Eqn. (B.6) from hep-ph/0604160 | ||
|
||
Input parameters | ||
---------------- | ||
N : Mellin moment (type: complex) | ||
s1 : harmonic sum $S_{1}$ (type: complex) | ||
nf : No. of active flavors (type: int) | ||
|
||
Returns | ||
------- | ||
gamma_qq : LO quark-quark anomalous dimension $\gamma_{gg}^{(0)}(N)$ (type: complex) | ||
""" | ||
result = (2.0 * nf - 11.0 * constants.CA) / 3.0 + 4.0 * constants.CA * (s1 - 1.0 / (N * (N - 1.0)) - 1.0 / ((N + 1.0) * (N + 2.0))) | ||
return result | ||
|
||
@nb.njit(cache=True) | ||
def gamma_ns(N, s1): | ||
""" | ||
Computes the LO non-singlet anomalous dimension | ||
At LO, $\gamma_{ns}^{(0)} = \gamma_{qq}^{(0)}$ | ||
|
||
Input parameters | ||
---------------- | ||
N : Mellin moment (type: complex) | ||
s1 : harmonic sum $S_{1}$ (type: complex) | ||
|
||
Returns | ||
------- | ||
gamma_ns : LO quark-quark anomalous dimension $\gamma_{ns}^{(0)}(N)$ (type: complex) | ||
""" | ||
result = gamma_qq(N, s1) | ||
return result | ||
|
||
@nb.njit(cache=True) | ||
def gamma_singlet(N, s1, nf): | ||
""" | ||
Computes the LO singlet anomalous dimension matrix | ||
Implements Eqn. (2.13) from PhysRevD.48.116 | ||
|
||
Input Parameters | ||
---------------- | ||
N : Mellin moment (type: complex) | ||
s1 : harmonic sum $S_{1}$ (type: complex) | ||
nf : No. of active flavors (type: int) | ||
|
||
Returns | ||
------- | ||
gamma_singlet : LO singlet anomalous dimension matrix $\gamma_{s}^{(0)}$ (type: numpy.array) | ||
""" | ||
result = np.array([[gamma_qq(N, s1), gamma_gq(N, nf)], [gamma_qg(N), gamma_gg(N, s1, nf)]], np.complex_) | ||
return result |
Empty file.
Empty file.
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.
this file you need for sure since it is the entry point to your implementation - so instead of deleting it you should adjust it (take a look to the space-like counterpart)
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.
yes indeed, I had only removed it so I could add the actual functions once I am done with the as2 and as3 modules.
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.
but you don't need to delete the file because of that, no? and for sure we start with LO first and once we established that we step forward ...
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.
the file is still there, I had removed the functions which stated it is not implemented, to make way for the actual functions implementing the splitting functions. I will add the functions asap.