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
d85d97b7
Commit
d85d97b7
authored
Nov 03, 2021
by
Javier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bug md_sea
fluc_obs computed twice
parent
30a86546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/juobs_tools.jl
src/juobs_tools.jl
+1
-2
No files found.
src/juobs_tools.jl
View file @
d85d97b7
...
...
@@ -227,7 +227,6 @@ function md_sea(a::uwreal, md::Vector{Matrix{Float64}}, ws::ADerrors.wspace=ADer
md_aux
=
cat
(
md_aux
,
md
[
k
][
:
,
1
:
ivrep
[
k
]],
dims
=
2
)
end
fluc_obs
=
getfield
.
(
ws
.
fluc
[
p
],
:
delta
)
fluc_md
=
md_aux
.-
mean
(
md_aux
,
dims
=
2
)
uwerr
(
a
)
fluc_obs
=
mchist
(
a
,
id
)
...
...
@@ -277,7 +276,7 @@ derm = [[corr_pp_d1[k], corr_pp_d2[k]] for k = 1:length(pp_d1)]
m = meff(corr_pp[1], plat)
m_md1, m_md2 = md_val(m, corr_pp[1], derm[1])
m_shifted = m +
2 *
dm1 * m_md1 + dm2 * m_md2
m_shifted = m + dm1 * m_md1 + dm2 * m_md2
```
"""
function
md_val
(
a
::
uwreal
,
obs
::
Corr
,
derm
::
Vector
{
Corr
})
...
...
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