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
15dfff73
Commit
15dfff73
authored
Aug 21, 2024
by
Antonino D'Anna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
silly bugs
parent
1f21ecc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/juobs_obs.jl
src/juobs_obs.jl
+5
-4
No files found.
src/juobs_obs.jl
View file @
15dfff73
...
...
@@ -217,6 +217,7 @@ function mpcac(a0p::Vector{uwreal}, pp::Vector{uwreal}, plat::Vector{Int64}; ca:
x
=
[
_
for
_
in
eachindex
(
aux
)]
fig
,
ax
=
plot_data
(
aux
,
x
,
wpm
=
wpm
,
ylabel
=
L"
$
m_\mathrm{PCAC}
$
"
,
xlabel
=
L"
$
x_0
$
"
;
plot_kw
...
)
isnothing
(
wpm
)
?
uwerr
(
mass
)
:
uwerr
(
mass
,
wpm
)
v
,
e
=
value
(
mass
),
err
(
mass
);
fig
,
ax
=
plot_func
(
x
->
mass
,[
plat
[
1
]
:
plat
[
2
]
...
],
figs
=
(
fig
,
ax
);
plot_kw
...
)
...
...
@@ -583,25 +584,25 @@ function dec_const(vv::Vector{uwreal}, plat::Vector{Int64}, m::uwreal, y0::Int64
x
=
[
1
:
length
(
R
)
...
]
lbl
=
string
(
L"
$
af =
$
"
,
sprint
(
show
,
f
))
fig
,
ax
=
plot_data
(
R
,
x
,
label
=
lbl
;
plot_kw
...
)
fig
,
ax
=
plot_func
(
x
->
R_av
,
x
[
plat
[
1
]
:
plat
[
2
]],
label
=
L"
$
R
$
"
;
plot_kw
...
)
fig
,
ax
=
plot_func
(
x
->
R_av
,
x
[
plat
[
1
]
:
plat
[
2
]],
label
=
L"
$
R
$
"
,
figs
=
(
fig
,
ax
)
;
plot_kw
...
)
v
,
e
=
value
(
R_av
),
err
(
R_av
)
ax
.
set_xlim
(
left
=
y0
)
ax
.
set_ylim
(
v
-
10
*
e
,
v
+
10
*
e
)
if
!
haskey
(
plot_kw
,
:
ylabel
)
ylabel
(
L"
$
R_\mathrm{av}
$
"
)
ax
.
set_
ylabel
(
L"
$
R_\mathrm{av}
$
"
)
end
if
!
haskey
(
plot_kw
,
:
xlabel
)
ax
.
xlabel
(
L"
$
x_0
$
"
)
ax
.
set_
xlabel
(
L"
$
x_0
$
"
)
end
if
!
haskey
(
plot_kw
,
:
title
)
if
!
isnothing
(
kappa
)
fig
.
suptitle
(
string
(
L"
$
\kappa_1 =
$
"
,
kappa
[
1
],
L"
$
\kappa_2 =
$
"
,
kappa
[
2
]))
end
ax
.
title
(
L"
$
f_{B^*}
$
"
)
ax
.
set_
title
(
L"
$
f_{B^*}
$
"
)
end
if
savepl
...
...
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