-
Notifications
You must be signed in to change notification settings - Fork 2
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
SXP loader #264
SXP loader #264
Conversation
This should more or less work now, needs to be tested with a full run. For test data upload, I am waiting for David's approval. |
44f0697
to
498d979
Compare
Pull Request Test Coverage Report for Build 6909677854
💛 - Coveralls |
This works for now. It has only a few modifications to the flash loader, but probably too many to become a single loader. |
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.
Generally I have seen the git blame so I got the idea where you made changes.
Is this going to be a permenant loader or it's just for your beamtime?
Because adapting flash loaders structure makes this confusing and likely unmaintainable. We should later definitely think of a solution to this.
tutorial/5_sxp_workflow.ipynb
Outdated
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.
Lets wait for data approval before merging, I'd suggest
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.
Not sue there will be a public example dataset soon, but I'd still like to merge this and make it usable easily.
Well, In gerneral the requirements for FLASH and SXP are very similar, i.e. the train /micro/macrobunch structure etc., so it does not make sense to me to deviate too much from what we have. But I agree we need to find a way to maintain this. Either we outsource the common code into utils files, or build an intermedate FEL loader, where FLASH and SXP loader inherit from. |
I think best solution is to define different classes for these different aspects and create the actual loaders to instantiate these classes |
PR for drafting an SXP loader