Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
5c802d75
Commit
5c802d75
authored
Aug 28, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed fwhm scale
parent
e4ac0da9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
FocusingField.java
src/main/java/FocusingField.java
+2
-2
No files found.
src/main/java/FocusingField.java
View file @
5c802d75
...
@@ -4487,10 +4487,10 @@ public boolean LevenbergMarquardt(
...
@@ -4487,10 +4487,10 @@ public boolean LevenbergMarquardt(
int
sampleIndex
,
// -1 for center
int
sampleIndex
,
// -1 for center
boolean
corrected
//
boolean
corrected
//
){
){
int
r0Index
=
2
;
// index of "r0" parameter
int
r0Index
=
2
;
// index of "r0" parameter
(fwhm is twice that)
double
[]
corrPars
=
corrected
?
getCorrPar
(
channel
,
sampleIndex
):
null
;
double
[]
corrPars
=
corrected
?
getCorrPar
(
channel
,
sampleIndex
):
null
;
double
r
=(
sampleIndex
>=
0
)?
getSampleRadius
(
sampleIndex
):
0.0
;
double
r
=(
sampleIndex
>=
0
)?
getSampleRadius
(
sampleIndex
):
0.0
;
double
fwhm
=
curvatureModel
[
channel
].
getAr
(
r
,
corrPars
)[
r0Index
];
double
fwhm
=
2.0
*
curvatureModel
[
channel
].
getAr
(
r
,
corrPars
)[
r0Index
];
return
fwhm
;
return
fwhm
;
}
}
...
...
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