-
Notifications
You must be signed in to change notification settings - Fork 8
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
#73 Add Kicktime to kick_$.tfs #77
#73 Add Kicktime to kick_$.tfs #77
Conversation
JoschD
commented
Jul 31, 2019
- Refactored kick.py to use only constants as Column names
- harpy/handler.py: added TIME to headers.
- accelerator.py: refactored strings of element types to AccElementTypes class
* Refactored kick.py to use only constants as Column names * harpy/handler.py: added TIME to headers. * accelerator.py: refactored strings of element types to AccElementTypes class
Lines 145 to 158 in 4ad993a
why not use instead of just date as argument a dict containing additional headers, would allow to easily implement more headers at a later point if needed |
omc3/omc3/optics_measurements/kick.py Lines 47 to 50 in 4ad993a
maybe change to RESCALE_FACTOR{plane}, kick files could then be merged without name clash |
should optic_measurements/constants.py be put in definitions as other scripts (kmod, amp. det script, ..) should also rely on the conventions established there? |
A dict would make sense if the headers are added automatically. But as there is some formatting going on, one has to handle each entry individually anyway (most likely). Changing |
Yes... but we need come to some convetion later. New issue, I guess |
Maybe. Also new issue to talk about. |
Closes #13, follow-ups: #30, #87, #88. * #73 Add Kicktime to kick_$.tfs (#77) * harpy/handler.py: added TIME to headers of lin-files * Refactored kick.py to use only constants as Column names, added time from lin-files * accelerator.py: refactored strings of element types to AccElementTypes class * #64 Cleaned .gitignore * #78 Added plane to RescaleFactor in kick.py * #83 renamed --accelerator to --tbt_datatype * #80: Squashed commit from bug/80/free_kick_compensation * #69 Fixing bug in outliers * #84 Added debug message for no combinations in N-BPM method