-
Notifications
You must be signed in to change notification settings - Fork 7
Prepare extension of DGLAP to QED #95
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c633602
Implement QED lo AD
niclaurenti 38e1146
Change labels
niclaurenti 90b26fe
Merge branch 'feature/qed' into feature/qed-ad
niclaurenti d0bd345
Start changing ad names
niclaurenti 2c13df5
Start fixing tests
niclaurenti 4447825
Merge branch 'feature/qed' into feature/qed-ad
niclaurenti 7ce13e2
Change non-singlet marker to empty string
niclaurenti f2c703b
Fic matching conditions
niclaurenti 6cdb94c
Merge branch 'feature/qed' into feature/qed-ad
niclaurenti 615c9a4
Fix heading
niclaurenti d38f7bb
Merge branch 'develop' into feature/qed-ad
niclaurenti e9bd255
Replace labels with integers
niclaurenti 2432674
Replace string with pids in matching
niclaurenti 4addb86
Change mode to u2
niclaurenti 9b8c131
Remove previous debug print
niclaurenti de4d4eb
Fix benchmark_evol_to_unity.py
niclaurenti 0ff06cb
Test aem1.py and NotImplementedError in anomalous_dimensions/__init__.py
niclaurenti b88ab72
Add the description of mode0 and mode1
niclaurenti 7291449
Change non_singlet_pids_map into non_singlet_labels
niclaurenti 4cce325
Change nlo and nnlo into as2 and as3 in anomalous_dimensions
niclaurenti 8e2f554
Merge branch 'develop' into feature/qed-ad
niclaurenti 3d24bc2
Apply some pylint suggestions
niclaurenti b28395a
Fix quad_ker signature
niclaurenti 846e550
Fix documentation of gamma_ns in anomalous_dimensions/__init__.py
niclaurenti 3552d01
Add function update_colors in constants.py
niclaurenti d7397f7
Remove index 0 from QED LO splitting functions
niclaurenti f535c91
Remove indices 0,1,2 from lo,nlo,nnlo QCD AD
niclaurenti 5c52866
Test function update_colors
niclaurenti e2aebc0
Add doc string in update_colors
niclaurenti 50ac858
Fix test_ad_nlo.py
niclaurenti 26ae80c
Revert anomalous_dimensions/__init__.py
niclaurenti 5283db7
Fix TR doc in constants.py
niclaurenti ad574e6
Fix warning global-statement
niclaurenti 5861c6a
Change elif with if in kernels/non_singlet.py
niclaurenti f0c123b
Fix def of gamma_phph
niclaurenti acd65aa
Fix again def of gamma_phph
niclaurenti 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 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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| # -*- coding: utf-8 -*- | ||
| import numba as nb | ||
|
|
||
| from .. import constants | ||
| from . import as1 | ||
|
giacomomagni marked this conversation as resolved.
|
||
|
|
||
|
|
||
| @nb.njit("c16(c16)", cache=True) | ||
| def gamma_phq(N): | ||
| """ | ||
| Computes the leading-order photon-quark anomalous dimension | ||
|
|
||
| Implements Eq. (2.5) of :cite:`Carrazza:2015dea`. | ||
|
|
||
| Parameters | ||
| ---------- | ||
| N : complex | ||
| Mellin moment | ||
|
|
||
| Returns | ||
| ------- | ||
| gamma_phq : complex | ||
| Leading-order photon-quark anomalous dimension :math:`\\gamma_{\\gamma q}^{(0)}(N)` | ||
| """ | ||
|
|
||
| return as1.gamma_gq(N) / constants.CF | ||
|
|
||
|
|
||
| @nb.njit("c16(c16,u1)", cache=True) | ||
| def gamma_qph(N, nf): | ||
| """ | ||
| Computes the leading-order quark-photon anomalous dimension | ||
|
|
||
| Implements Eq. (2.5) of :cite:`Carrazza:2015dea`. | ||
| But adding the :math:`N_C` and the :math:`2n_f` factors from :math:`\\theta` inside the | ||
| definition of :math:`\\gamma_{q \\gamma}^{(0)}(N)`. | ||
|
|
||
| Parameters | ||
| ---------- | ||
| N : complex | ||
| Mellin moment | ||
| nf : int | ||
| Number of active flavors | ||
|
|
||
| Returns | ||
| ------- | ||
| gamma_qph : complex | ||
| Leading-order quark-photon anomalous dimension :math:`\\gamma_{q \\gamma}^{(0)}(N)` | ||
| """ | ||
| return as1.gamma_qg(N, nf) / constants.TR * constants.NC | ||
|
|
||
|
|
||
| @nb.njit("c16(u1)", cache=True) | ||
| def gamma_phph(nf): | ||
| """ | ||
| Computes the leading-order photon-photon anomalous dimension | ||
|
|
||
| Implements Eq. (2.5) of :cite:`Carrazza:2015dea`. | ||
|
|
||
| Parameters | ||
| ---------- | ||
| nf : int | ||
| Number of active flavors | ||
|
|
||
| Returns | ||
| ------- | ||
| gamma_phph : complex | ||
| Leading-order phton-photon anomalous dimension :math:`\\gamma_{\\gamma \\gamma}^{(0)}(N)` | ||
| """ | ||
|
|
||
| return 2 / 3 * constants.NC * 2 * nf | ||
|
|
||
|
|
||
| @nb.njit("c16(c16,c16)", cache=True) | ||
| def gamma_ns(N, s1): | ||
| """ | ||
| Computes the leading-order non-singlet QED anomalous dimension. | ||
|
|
||
| Implements Eq. (2.5) of :cite:`Carrazza:2015dea`. | ||
|
|
||
| Parameters | ||
| ---------- | ||
| N : complex | ||
| Mellin moment | ||
| s1 : complex | ||
| S1(N) | ||
|
|
||
| Returns | ||
| ------- | ||
| gamma_ns : complex | ||
| Leading-order non-singlet QED anomalous dimension :math:`\\gamma_{ns}^{(0)}(N)` | ||
| """ | ||
| return as1.gamma_ns(N, s1) / constants.CF | ||
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.
Uh oh!
There was an error while loading. Please reload this page.