-
Notifications
You must be signed in to change notification settings - Fork 19
Implement the LEFT beta functions and their solutions #93
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
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
3813b36
adapt to left betafunctions
jackypheno b7e2160
Adapting to new changes from PR#92
jackypheno 953a63e
adapt to PR#92
jackypheno f3549a5
resolve conflicts with PR#92
jackypheno 2bc7c63
resolve conflicts to pass the unittests
jackypheno b7cccfc
Implement running from WFT-x to WET-y
jackypheno a26e834
Implement running from WET-x to WET-y
jackypheno d9e8f12
Delete leftutil.py
jackypheno 81c905c
Delete .DS_Store
jackypheno 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
Binary file not shown.
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 |
|---|---|---|
|
|
@@ -10,3 +10,4 @@ | |
| from . import classes | ||
| from . import rge | ||
| from .classes import SMEFT | ||
| from .classes import LEFT | ||
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,20 @@ | ||
| """Solving the LEFT RGEs.""" | ||
| from wilson.run.wet import beta | ||
| from copy import deepcopy | ||
| from math import pi, log | ||
| from scipy.integrate import solve_ivp | ||
| import numpy as np | ||
| # | ||
| # | ||
| def left_evolve_leadinglog(C_in, scale_in, scale_out, Nu,Nd): | ||
| """Solve the LEFT RGEs in the leading log approximation. | ||
| Input C_in and output C_out are dictionaries of arrays.""" | ||
| C_out = deepcopy(C_in) | ||
| b = beta.beta(C_out, Nu, Nd) | ||
| for k, C in C_in.items(): # look for loopholes C_in vs C_out | ||
| C_out[k] = C + b[k] / (16 * pi**2) * log(scale_out / scale_in) | ||
| return C_out | ||
|
|
||
|
|
||
|
|
||
|
|
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.
Since the new
wet_methodwould define a new option that is exposed to the user, I think we should think a bit about how we can extend the interface in a way that makes it possible to later combine the SMEFT and WET options without changing this interface again.My suggestion would be to use a name for the option that can, at a later point, be used for both WET and SMEFT, e.g. something like
rge_solutionorrge_methodinstead ofwet_method.For the options themselves, I would stick to the names that are already used so far. I.e. instead of
'betafunctions'I would use'integrate'(making it possible to also add a'leadinglog'option that is based on the betafunctions as well). Since'integrate'and'leadinglog'specify the way the RGEs are solved rather than the way they are represented (in terms of either betafunctions or adms), I would suggest to use a name describing the solution by an evolution matrix instead of using'adms'. Maybe we could use'matrix'to keep it short, or'evolutionmatrix'or'evolution_matrix'.Any comments on these suggestions and better ideas are also very welcome from @jasonaebischerGIT, @dvandyk, and @DavidMStraub.
Uh oh!
There was an error while loading. Please reload this page.
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.
@peterstangl sure we can invent better names, for the moment I just gave any tentative names, since the PR is currently work in progress. I have not even decided on the names etc and for the moment my focus is to just produce correct solutions to new beta functions #94.
I have already implemented
leadinglogandintegrateoption for WET and will update it soon.It would be great idea to go through it in details once the implementation is completed.