-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support new detector at SixS and new alias dict #279
Conversation
I also wonder about the horizontal configuration. Now at SixS we mostly use the vertical configuration, so I flip the data before preprocessing as you had adviced before (the detail is in But the rocking curve is perfomed outofplane for most of the scans;
However bcdi does not support outofplane for the rocking_angle parameter. And in strain.py, the value of omega and gamma are switched (we are at mu ~ 19 deg and gamma ~ 38 deg) INFO:bcdi.preprocessing.process_scan:Detector angles before correction: inplane 37.44 deg, outofplane 0.17 deg
INFO:bcdi.preprocessing.process_scan:Corrected detector angles: inplane 37.77 deg, outofplane 0.32 deg
INFO:bcdi.preprocessing.process_scan:Wavevector transfer of Bragg peak: [-0.90276104 0.0242599 2.63858146], Qnorm=2.7888 I'm not sure everything is right ? I can put the data on the esrf if you would like to test ? |
Hi David. Please request the review when all pipelines are passing. I have no time to debug it myself. Regarding the geometry, I'm pretty sure that we already discussed about it. I'm against flipping the data. The package is built around two absolute reference frames (laboratory frame z downstream, y vertical up and x outboard) and the 'usual' reciprocal space frame (qx downstream, qz vertical up, qy outboard). The sample orientation is not relevant when deciding whether this is an inplane or outofplane rocking curve. Only the rocking motor matters. So if the rocking motor is phi (rotation axis around the vertical axis) then this is an inplane rocking curve, and you should setup your config file as such. If for a specific experiment, the sample substrate was vertical, then the sample will be correctly reconstructed in its absolute orientation (i.e. it will be vertical as well). You can post-process this if you wish to use another frame, but at least there is no ambiguity about its orientation at the output of the |
Hi, Oh ok I thought you had said it was best to rotate the diffraction pattern prior to the analysis, otherwise I'm not sure why I would have included that, I will try both approach and see the differences. Thank you! |
What I introduced
bcdi_utils.py, line 1155
So maybe we need to move the binning in the rocking curve before so that the tests make more sense ? |
Ok in principle for adding the detector and the new alias_dict. Please remove the part about the method |
The Bragg peak position can be determined by other methods than the COM (e.g. MAX, MAXCOM)
…or direct and reciprocal space
several methods are used to find the bragg peak
… different methods
Hi, |
I created a new detector for SixS, added a new alias dict and fixed a pb in the rocking curve function.
This was tested locally but before the big id 27 changes
Type of change
How has this been tested?
Multiple scan processed during beamtime with gwaihir
Test Configuration:
Debian 11
Checklist:
doit
and all tasks have passed