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
dbb76004
Commit
dbb76004
authored
Dec 09, 2021
by
Alessandro
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'alessandro' of gitlab.ift.uam-csic.es:jugarrio/juobs into alessandro
parents
6c421225
d9ceeeba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
constants/juobs_const.jl
constants/juobs_const.jl
+9
-2
src/juobs.jl
src/juobs.jl
+1
-0
No files found.
constants/juobs_const.jl
View file @
dbb76004
...
@@ -12,6 +12,9 @@ const ZM_tm_error = [42, 33, 42, 48, 55] .* 1e-4
...
@@ -12,6 +12,9 @@ const ZM_tm_error = [42, 33, 42, 48, 55] .* 1e-4
# 1808.09236
# 1808.09236
const
ZA_data
=
[
0.75642
,
0.76169
,
0.76979
,
0.78378
,
0.79667
]
const
ZA_data
=
[
0.75642
,
0.76169
,
0.76979
,
0.78378
,
0.79667
]
const
ZA_err
=
[
72
,
93
,
43
,
47
,
47
]
.*
1e-5
const
ZA_err
=
[
72
,
93
,
43
,
47
,
47
]
.*
1e-5
#2005.01352
const
ZS_over_ZP_data
=
[
1.3497
,
1.2914
,
1.2317
,
1.1709
,
1.1343
]
const
ZS_over_ZP_err
=
[
83
,
64
,
48
,
23
,
25
]
.*
1e-4
#1608.08900
#1608.08900
const
b_values2
=
[
3.40
,
3.46
,
3.55
,
3.70
]
const
b_values2
=
[
3.40
,
3.46
,
3.55
,
3.70
]
const
t0_data
=
[
2.86
,
3.659
,
5.164
,
8.595
]
const
t0_data
=
[
2.86
,
3.659
,
5.164
,
8.595
]
...
@@ -25,12 +28,14 @@ const C2 = zeros(5, 5)
...
@@ -25,12 +28,14 @@ const C2 = zeros(5, 5)
const
C3
=
zeros
(
4
,
4
)
const
C3
=
zeros
(
4
,
4
)
const
C4
=
zeros
(
6
,
6
)
const
C4
=
zeros
(
6
,
6
)
const
C5
=
zeros
(
5
,
5
)
const
C5
=
zeros
(
5
,
5
)
const
C6
=
zeros
(
5
,
5
)
for
i
=
1
:
6
for
i
=
1
:
6
C4
[
i
,
i
]
=
M_error
[
i
]
^
2
C4
[
i
,
i
]
=
M_error
[
i
]
^
2
if
i
<=
5
if
i
<=
5
C1
[
i
,
i
]
=
ZM_error
[
i
]
^
2
C1
[
i
,
i
]
=
ZM_error
[
i
]
^
2
C2
[
i
,
i
]
=
ZM_tm_error
[
i
]
^
2
C2
[
i
,
i
]
=
ZM_tm_error
[
i
]
^
2
C5
[
i
,
i
]
=
ZA_err
[
i
]
^
2
C5
[
i
,
i
]
=
ZA_err
[
i
]
^
2
C6
[
i
,
i
]
=
ZS_over_ZP_err
[
i
]
^
2
if
i
<=
4
if
i
<=
4
C3
[
i
,
i
]
=
t0_error
[
i
]
^
2
C3
[
i
,
i
]
=
t0_error
[
i
]
^
2
end
end
...
@@ -44,9 +49,11 @@ const t0_ph = cobs(t0_ph_value, t0_ph_error .^ 2, "sqrt(8 t0) (fm)")
...
@@ -44,9 +49,11 @@ const t0_ph = cobs(t0_ph_value, t0_ph_error .^ 2, "sqrt(8 t0) (fm)")
const
a_
=
t0_ph
./
sqrt
.
(
8
.*
t0_
)
const
a_
=
t0_ph
./
sqrt
.
(
8
.*
t0_
)
const
M
=
cobs
(
M_values
,
C4
,
"charmed meson masses"
)
const
M
=
cobs
(
M_values
,
C4
,
"charmed meson masses"
)
const
Za
=
cobs
(
ZA_data
,
C5
,
"ZA"
)
const
Za
=
cobs
(
ZA_data
,
C5
,
"ZA"
)
const
ZS_over_ZP
=
cobs
(
ZS_over_ZP_data
,
C6
,
"ZS over ZP"
)
zm
(
beta
::
Float64
)
=
ZM
[
b_values
.==
beta
][
1
]
zm
(
beta
::
Float64
)
=
ZM
[
b_values
.==
beta
][
1
]
zm_tm
(
beta
::
Float64
)
=
ZM_tm
[
b_values
.==
beta
][
1
]
zm_tm
(
beta
::
Float64
)
=
ZM_tm
[
b_values
.==
beta
][
1
]
t0
(
beta
::
Float64
)
=
t0_
[
b_values2
.==
beta
][
1
]
t0
(
beta
::
Float64
)
=
t0_
[
b_values2
.==
beta
][
1
]
a
(
beta
::
Float64
)
=
a_
[
b_values2
.==
beta
][
1
]
a
(
beta
::
Float64
)
=
a_
[
b_values2
.==
beta
][
1
]
za
(
beta
::
Float64
)
=
Za
[
b_values
.==
beta
][
1
]
za
(
beta
::
Float64
)
=
Za
[
b_values
.==
beta
][
1
]
\ No newline at end of file
zs_over_zp
(
beta
::
Float64
)
=
ZS_over_ZP
[
b_values
.==
beta
][
1
]
\ No newline at end of file
src/juobs.jl
View file @
dbb76004
module
juobs
module
juobs
using
Base
:
Float64
using
ADerrors
,
PyPlot
,
LaTeXStrings
,
LinearAlgebra
,
LsqFit
,
LeastSquaresOptim
using
ADerrors
,
PyPlot
,
LaTeXStrings
,
LinearAlgebra
,
LsqFit
,
LeastSquaresOptim
import
Statistics
:
mean
import
Statistics
:
mean
...
...
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