Uh oh!
There was an error while loading. Please reload this page.
add example for srfit parallel - #57
Conversation
| for recipe in recipe_list: | ||
| recipe = fit_wrapper(recipe) | ||
| res = FitResults(recipe) | ||
| print(res.rw) |
| rv = p.map(fit_wrapper, recipe_list) | ||
| for recipe in rv: | ||
| res = FitResults(recipe) | ||
| print(res.rw) |
| recipe.clearFitHooks() | ||
| res = FitResults(recipe) | ||
| print(res.rw) | ||
There was a problem hiding this comment.
print rw before refinement
Codecov Report
@@ Coverage Diff @@## master #57 +/- ##
=======================================
Coverage 81.14% 81.14% =======================================
Files 91 91 Lines 7577 7577 =======================================
Hits 6148 6148 Misses 1429 1429Continue to review full report at Codecov.
|
cadenmyers13
commented
Aug 14, 2026
@sbillinge Can we either merge or close this? |
sbillinge
commented
Aug 14, 2026
This is probably a valuable example. We may want to add it to the |
cadenmyers13
commented
Aug 14, 2026
@sbillinge Moving over is no problem. I'll duplicate the work on this PR with the new API. Then I can put it in cmi |
@sbillinge this can be closed now. Created this cmi issue diffpy/diffpy.cmi#113 |
sbillinge
commented
Aug 14, 2026
closing. replaced by diffpy/diffpy.cmi#113 |
@pavoljuhas This PR is just for the ease of sharing my test on this behavior, please feel free to close if needed.
Main result from this test: