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
5c00c428
Commit
5c00c428
authored
Dec 22, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted post-UV manual adjustment control
parent
12670bc5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
FocusingField.java
src/main/java/FocusingField.java
+9
-4
No files found.
src/main/java/FocusingField.java
View file @
5c00c428
...
@@ -8645,10 +8645,15 @@ public boolean LevenbergMarquardt(
...
@@ -8645,10 +8645,15 @@ public boolean LevenbergMarquardt(
double
zErr
,
// positive - away from lens
double
zErr
,
// positive - away from lens
double
tXErr
,
// positive - 1,2 away from lens, 3 - to the lens
double
tXErr
,
// positive - 1,2 away from lens, 3 - to the lens
double
tYErr
){
// positive - 2 away from lens
double
tYErr
){
// positive - 2 away from lens
double
[][]
screws
={
// right, up, thread pitch (pull) !!! Inverting Y! - again invert? 1 - far left, 2 - near left, 3 - right
// double [][] screws={ // right, up, thread pitch (pull) !!! Inverting Y! - again invert? 1 - far left, 2 - near left, 3 - right
{
-
13.5
,
-
6.5
,
192.8
},
// -2.908571735}, // 192.8, ... for proto push-away fixture
// { 13.5, -6.5, 192.8}, // -2.908571735}, // 192.8, ... for proto push-away fixture
{
-
13.5
,
6.5
,
202.6
},
// -3.8198374024},
// { 13.5, 6.5, 202.6}, // -3.8198374024},
{
13.6
,
3.5
,
83.4
}};
// -2.4491867448}};
// { -13.6, 3.5, 83.4}}; // -2.4491867448}};
double
[][]
screws
={
// right, up, thread pitch (pull) 1 - far left, 2 - near left, 3 - right
{
-
13.5
,
6.5
,
-
300.0
},
//192.8}, // -2.908571735}, // 192.8, ... for proto push-away fixture
{
-
13.5
,
-
6.5
,
-
300.0
},
//202.6}, // -3.8198374024},
{
13.6
,
-
3.5
,
-
120.0
}};
//83.4}}; // -2.4491867448}};
if
(
umPerTurn
!=
null
)
for
(
int
i
=
0
;
i
<
umPerTurn
.
length
;
i
++)
screws
[
i
][
2
]=
umPerTurn
[
i
];
if
(
umPerTurn
!=
null
)
for
(
int
i
=
0
;
i
<
umPerTurn
.
length
;
i
++)
screws
[
i
][
2
]=
umPerTurn
[
i
];
double
[]
moveDownUm
=
new
double
[
screws
.
length
];
double
[]
moveDownUm
=
new
double
[
screws
.
length
];
double
[]
turnCW
=
new
double
[
screws
.
length
];
double
[]
turnCW
=
new
double
[
screws
.
length
];
...
...
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