Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
juobs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Javier Ugarrio
juobs
Commits
ccc2635a
Commit
ccc2635a
authored
Mar 25, 2024
by
Antonino D'Anna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added function ca(beta)
parent
600369da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
1 deletion
+36
-1
constants/juobs_const.jl
constants/juobs_const.jl
+36
-1
No files found.
constants/juobs_const.jl
View file @
ccc2635a
...
...
@@ -99,4 +99,39 @@ zv(beta::Float64) = Zv[b_values .== beta][1]
zs_over_zp
(
beta
::
Float64
)
=
ZS_over_ZP
[
b_values
.==
beta
][
1
]
rm
(
beta
::
Float64
)
=
RM
[
b_values
.==
beta
][
1
]
ba_bp
(
beta
::
Float64
)
=
BA_BP
[
b_values
.==
beta
][
1
]
Z
(
beta
::
Float64
)
=
ZZ
[
b_values
.==
beta
][
1
]
\ No newline at end of file
Z
(
beta
::
Float64
)
=
ZZ
[
b_values
.==
beta
][
1
]
@doc
raw
"""
ca(beta:Float64; verbose::Bool = true, acceptance:Float64=10^-2)
it compute the ca coefficient of the axial vector current improvement
As of now, check whether g_0^2 < 1.8+acceptance and if true give ca according to arXiv:1502.04999
otherwise it gives 0
The default value of acceptance has no real justification at the moment
If verbose = true, it prints a warning if the g_0^2 is > 1.8
"""
function
ca
(
beta
::
Float64
;
verbose
::
Bool
=
true
,
acceptance
::
Float64
=
10
^-
2
)
g02
=
6
/
beta
;
if
(
1.8
-
g02
)
>-
acceptance
# for g_0^2 about 1.8 and below it work. I decided on a 10^-2 acceptance range
p0
=
9.2056
p1
=
-
13.9847
e
=
exp
(
p0
+
p1
/
g02
)
return
-
0.006033
*
g02
*
(
1
+
e
)
end
if
verbose
@warn
raw
"""
no valid expression for g_0^2>1.8
your g_0^2 =
$(g02)
return value set to 0.
If you want to use this formula, then modify the acceptance value by calling
```@example
ca(beta, acceptance=<your value>)
```
"""
end
return
0.0
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment