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
6890a5be
Commit
6890a5be
authored
Jan 14, 2026
by
Antonino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in fit routine
parent
becb20c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/juobs_fit.jl
src/juobs_fit.jl
+5
-4
No files found.
src/juobs_fit.jl
View file @
6890a5be
...
@@ -351,7 +351,7 @@ function fit_routine(models::AbstractArray{Function},
...
@@ -351,7 +351,7 @@ function fit_routine(models::AbstractArray{Function},
println
(
logfile
,
"
\t\t
Global fit with
$
Nmodel functions"
)
println
(
logfile
,
"
\t\t
Global fit with
$
Nmodel functions"
)
for
nm
in
1
:
Nmodel
for
nm
in
1
:
Nmodel
println
(
logfile
,
"---Model
$(nm)---
"
)
println
(
logfile
,
"---Model
$(nm)---
"
)
println
(
logfile
,
"
\t\t
Fit routine in [
$
(xdata[nm][1]
.mean),...,
$
(xdata[nm][end].mean
)]"
)
println
(
logfile
,
"
\t\t
Fit routine in [
$
(xdata[nm][1]
),...,
$
(xdata[nm][end]
)]"
)
end
end
println
(
logfile
,
"
\t\t
Fit parameters:"
)
println
(
logfile
,
"
\t\t
Fit parameters:"
)
for
i
in
1
:
npar
for
i
in
1
:
npar
...
@@ -369,9 +369,10 @@ function fit_routine(models::AbstractArray{Function},
...
@@ -369,9 +369,10 @@ function fit_routine(models::AbstractArray{Function},
off
+=
npar
+
length
(
xdata
[
nm
])
off
+=
npar
+
length
(
xdata
[
nm
])
end
end
end
end
println
(
logfile
,
"
\t\t
chi2: "
,
chi2
)
println
(
logfile
,
"
\t\t
chi2: "
,
fit
.
chi2
)
println
(
logfile
,
"
\t\t
chiexp: "
,
chiexp
)
println
(
logfile
,
"
\t\t
chiexp: "
,
fit
.
chiexp
)
println
(
logfile
,
"
\t\t
pvalue: "
,
pval
)
println
(
logfile
,
"
\t\t
pvalue: "
,
fit
.
pval
)
end
end
flush
(
logfile
)
return
fit
return
fit
end
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