SICS-720 Add autofocussing on Taipan using the following energy relations,

Avfocus = 115 + 2.13 * Ef
Mvfocus = 102.2 + 1.78 * Ei

Ahfocus = 45.68 - (-105.7) * (0.945) ^ Ef
Mhfocus = 184.42 - (60.1) * (0.951) ^ Ei

NOTE: Parameters are set via tasub mono/ana  VB1/VB2/HB1/HB2/HB3
This commit is contained in:
Ferdi Franceschini
2014-03-10 14:05:46 +11:00
parent 879a573e05
commit 9b19ddf4e6
5 changed files with 96 additions and 32 deletions

View File

@@ -24,6 +24,8 @@
tasQEPosition current;
int tasMode;
int outOfPlaneAllowed;
int autofocus;
int focusfn;
double targetEn, actualEn;
int mustRecalculate;
int mustDrive;
@@ -34,7 +36,7 @@
tasReflection r1, r2;
int ubValid;
int silent;
int stopFixed; /* flag to stop multiple fixed messages in scans*/
int stopFixed; /* flag to stop multiple fixed messages in scans*/
char *updater;
}tasUB, *ptasUB;