-
Notifications
You must be signed in to change notification settings - Fork 2
Photon peak tutorial for sector alignment #566
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
Conversation
394b273
to
d75b072
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed your configs etc. now, but honestly I don't understand what you are doing here. You don't actually aligne the DLD sectors, as along as I can tell, nor generate the parameters for it...
Ideally, add a routine to the processor to generate those parameters (semi) automatically.
Pull Request Test Coverage Report for Build 14502539411Details
💛 - Coveralls |
@zain-sohail @kutnyakhov The pulserSignAdc channel seems to cause problems for these files. What is it good for anyways? It is not being used anywhere in the tutorials. @steinnymir added it here: 0ef68d5 |
I agree that it is not needed for tutorials, but we have it from time to time in the datastream, e.g. last time it was used for the magnetic pulser during spin-resolved beamtime. A long time ago, that channel was used for the I0 monitor of an optical laser, but now it has its own channel |
This is basically my problem, that I was not able to understand what |
It works quite correctly, however it is being applied to the dldTimeSteps, i.e. you have to call it before conversion to ns (actually not needed at all). See updated example. |
5ecb3ff
to
81f5c23
Compare
Thanks for the details and updates. Now I see that it is doing something. The point with the ns conversion was to show some meaningful values, which everyone can understand and have direct comparison to, e.g. DLD time resolution. |
If you don't provide values, it takes those from the config file, if they exist. Otherwise it does nothing. |
I guess it can be merged. |
See the logs:
Your latest changes overwrote the kernel line, and I overlooked it. Will fix it here. |
I disabled this now in the general config, if it is needed it can be undocumented per experiment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go now
Added photon peak tutorial and new
Photon_peak
dataset (available on Zenodo) to fix #565