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
16052740
Commit
16052740
authored
1 year ago
by
Antonino D'Anna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stupid bug
parent
77dbd501
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
31 deletions
+6
-31
constants/juobs_const.jl
constants/juobs_const.jl
+5
-30
src/juobs_obs.jl
src/juobs_obs.jl
+1
-1
No files found.
constants/juobs_const.jl
View file @
16052740
...
...
@@ -101,36 +101,11 @@ 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
]
@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
)
function
ca
(
beta
::
Float64
)
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
p0
=
9.2056
p1
=
-
13.9847
e
=
exp
(
p0
+
p1
/
g02
)
return
-
0.006033
*
g02
*
(
1
+
e
)
end
This diff is collapsed.
Click to expand it.
src/juobs_obs.jl
View file @
16052740
...
...
@@ -327,7 +327,7 @@ function mpcac_ren(a0p::Corr, pp::Corr, plat::Vector{Int64}; ca::Float64=0.0,ba_
error("mu or kappa values does not match")
end
end
=#
## Decay constants
@doc
raw
"""
dec_const(a0p::Vector{uwreal}, pp::Vector{uwreal}, plat::Vector{Int64}, m::uwreal, y0::Int64; ca::Float64=0.0, pl::Bool=true, data::Bool=false, wpm::Union{Dict{Int64,Vector{Float64}},Dict{String,Vector{Float64}}, Nothing}=nothing)
...
...
This diff is collapsed.
Click to expand it.
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