MS plugin: fixed a bug in calculation of the motor positions in txt files.
This commit is contained in:
@@ -409,7 +409,7 @@ while(repeatFlag == 1) {
|
||||
}
|
||||
//Y position of each of the other volumes in stage coords
|
||||
for (l = 1; l<ScansInY[0]; l++) {
|
||||
centresYreal[l] = centresYreal[l-1] - ScansInY[1];
|
||||
centresYreal[l] = centresYreal[l-1] + ScansInY[1];
|
||||
if (abs(centresYreal[l]) < 0.001) {centresYreal[l] = 0;} //avoid extremely low exponential values
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user