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
e71ca5a3
Commit
e71ca5a3
authored
Sep 10, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added screw rotation in degrees
parent
2dc8453f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Aberration_Calibration.java
src/main/java/Aberration_Calibration.java
+5
-2
No files found.
src/main/java/Aberration_Calibration.java
View file @
e71ca5a3
...
...
@@ -8901,8 +8901,11 @@ if (MORE_BUTTONS) {
System.out.println("Suggested for motor "+(i+1)+" "+newMotors[i]+" ("+currentMotors[i]+")");
}
if (manualScrewsCW!=null) for (int i=0;i<manualScrewsCW.length;i++){
if
(
manualScrewsCW
[
i
]>=
0
)
System
.
out
.
println
(
"Suggested rotation for screw # "
+(
i
+
1
)+
" "
+
IJ
.
d2s
(
manualScrewsCW
[
i
],
3
)+
" (CW)"
);
else
System
.
out
.
println
(
"Suggested rotation for screw # "
+(
i
+
1
)+
" "
+
IJ
.
d2s
(
manualScrewsCW
[
i
],
3
)+
" (CCW)"
);
double deg=360*Math.abs(manualScrewsCW[i]);
if (manualScrewsCW[i]>=0) System.out.println("Suggested rotation for screw # "+(i+1)+
" "+IJ.d2s(manualScrewsCW[i],3)+" ("+IJ.d2s(deg,0)+"deg CW)");
else System.out.println("Suggested rotation for screw # "+(i+1)+
" "+IJ.d2s(manualScrewsCW[i],3)+" ("+IJ.d2s(deg,0)+"deg CCW)");
}
System.out.println("----- end of Focus/tilt measurement results -----");
...
...
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