Closed mcb64 closed 1 year ago
Right, didn't assign anyone, did I?
So glad to see flake8 re-added 👍
This flake8 config might be of interest - we use it in other projects to make things a bit more lenient: https://github.com/pcdshub/cookiecutter-pcds-python/blob/master/%7B%7B%20cookiecutter.folder_name%20%7D%7D/.flake8
Yeah, I had figured out the E501, which is why I took out flake to begin with. Might as well make things standard though...
Somewhat unrelated to this code itself: is there any easy way to feed generated images to camviewer to check out the curve fitting? We're a bit lacking in real beam to try gaussian fits on.
Not any more. I used to be able to use random XTC files, but I removed this.
When I tested, I typically just used a bright spot on a random cam image and zoomed in the ROI. I trust lmfit is doing the right fit... the only question is if I am displaying it properly, and it certainly looks like something is being fitted.
Just FYI, the jira ticket (https://jira.slac.stanford.edu/browse/LCLSECSD-1752) has a lot of fitted screenshots using this approach.
I agree, in those images it 100% looks like it's doing the right thing
Is this ready for review?