-
Notifications
You must be signed in to change notification settings - Fork 10
demo working ds1 refinement through annulus worker #14
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
base: master
Are you sure you want to change the base?
Conversation
|
Let's leave this as a pull request for now pending the following:
|
… psii_spread branch exercise_ds1.
|
Nick, some updates:
|
|
Dan, thanks, this looks great. This seems like a big step forward. It is a lot to take in so it will take me some time to look it over. One thing I'd like to understand is whether the branch to cctbx_project is really necessary. I've spoken to Derek in the past about redirecting the logger to stdout, and he has a way of doing it. That is, without modifying the library code. |
|
The cctbx_project branch is necessary to add logging of refined parameters while computing the functional and gradients. I think this has to be done where it is because the loop over refinement cycles is in Scipy code and we just provide the target function. I haven't discussed this with @dermen though. The logging is pretty rough at present. I think it gets configured and re-configured repeatedly. It will have to be cleaned up. For now the ds1 per-cycle output ends up in |
|
Sorry, I misunderstood your question about the cctbx branch. The purpose is to add logging of parameter values using the existing logger. I did seem to recall using some similar functionality a while ago, but I couldn't find it. @dermen can you weigh in? The code in question is here: cctbx/cctbx_project@9012469 |
|
Before If this is just a way to optionally dump the parameters to the refinement debug log, it looks good. Maybe we could add customizable print formatters to each parameter (that would be added in |
|
Hi @dermen I'm just getting back to this after a couple hectic beamtimes. I think you're right about all of this. The logging that I remember must have been in the old script. I agree that custom print formatting would be nice but this already gets us most of what we need. Yes currently these are written to files, which I think is setup by calling |
No description provided.