Project

General

Profile

Bug #795

Error when setting a new sample

Added by Saroun, Jan almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
13/11/2010
Due date:
% Done:

0%


Description

model.MBSpectrometerModel.resetQ raises exception:
safeQrlu=getVectorA() is not safe if |safeQrlu| > |Ki| + |Kf| or |safeQrlu| < ||Ki| - |Kf||.
Suggested solution:
1) in resetQ(), re-normalize Q so that |Q| corresponds to the current |Ki|,|Kf| and A4.
2) Make UB matrix available immediately upon setting a new current sample, in model.MBSpectrometerModel.setCurrentSample.

History

#1 Updated by Saroun, Jan almost 10 years ago

  • Status changed from New to Resolved

model.MBSpectrometerModel.resetQ raises exception:
safeQrlu=getVectorA() is not safe if |safeQrlu| > |Ki| + |Kf| or |safeQrlu| < ||Ki| - |Kf||.
Solution:
1) in resetQ(), re-normalize Q so that |Q| corresponds to the current |Ki|,|Kf| and A4.
2) Make UB matrix available immediately upon setting a new current sample, in model.MBSpectrometerModel.setCurrentSample.

Also available in: Atom PDF