-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CSX] HKL problems with calculations #101
Comments
From the above trace, it looks like the calculations succeed once the energy has been reset: In [118]: tardis.calc.energy
Out[118]: 0.07769768884
In [119]: tardis.calc.energy = (pgm_en.readback.value+7)/10000 Any idea what the "energy" is after this calculation? It seems possible that 0.0777 keV could lead to the failure of the equation solver to converge on a solution. Is csx1 really capable of going down to 78 eV? |
Also, I wonder if the axes that are 'fixed' (phi, chi, omega) and not included in the fitting of solutions should be included in the fit...? |
Should that not be:
i.e. the energy is in keV? |
@stuwilkins, yes, AFAIU the energies are expected in keV and wavelengths in Angstroms. |
Guys, About the conversion: the program uses SI internally so we need to cheat a bit if we want to use Angstrom and keV, from where the conversion factor (10^4). So, the numbers I reported READ as 770 eV, exactly where I wanted to be. Indeed I found the reflections.. Sorry, I should have been more detailed but you should consider that I was performing an experiment (funny behavior = problem) and it was already quite late in the night. Let’s concentrate on the problem then: This is the thing that we should sort out because at the moment it is difficult to trust the program (that actually works perfectly if you have the patience of driving it to an acceptable solution..). About the “fitting” parameters: if they are fixed by the geometry, you need to required them to stay fixed. This is the way in which the solutions are managed (i.e. the system stays constrained.. otherwise would be extra redundant and potentially infinite sets of solutions would be found). Does it make sense? now I don’t know if for some reasons the syntax of the libraries may require something different but ,as a matter of fact, several times we correctly found solutions and tested them as correct in the experimental geometry. Cla. On Apr 18, 2016, at 10:35 AM, dchabot notifications@github.com wrote:
|
@cmazzoli, I understand that some of the axes need to be constrained to fixed values, but my question was whether we can can constrain them and still include them in the fitting algorithm. At the moment, chi, phi, and omega are fixed to zero and excluded from the fit (eg: AFAIU == 'as far as i understand' :-) |
Hi Daron, Thank you for the additional explanation :) Claudio On Apr 19, 2016, at 10:26 AM, dchabot notifications@github.com wrote:
|
By now we repeatedly tested the implementation of @klauer in a number of cases and it works beautifully. Thanks! |
Great! |
@dchabot, @klauer
HKL libs somtimes cannot calculate accessible positions. If suitably guided, then a reasonable solution is proposed.
The text was updated successfully, but these errors were encountered: