Ptychography-4-0 / ptychography

Code repository for Ptychography 4.0 project.
https://ptychography-4-0.github.io/ptychography/
GNU General Public License v3.0
26 stars 14 forks source link

Efficient distributed forward model #15

Open uellue opened 4 years ago

uellue commented 4 years ago

Solvers require calculating a next sample vector from evaluating the error and/or local gradient of the forward model with respect to the measured data.

In LiberTEM, the data and computation can be distributed, parallelized and serialized as desired. Using this approach for solvers requires a forward model that can be distributed in the same fashion so that parts of the sample can be evaluated separately and the new sample vector resp. delta is merged from partial sample vector results.

sk1p commented 4 years ago

Is this something where we could plug in diffsims?

uellue commented 4 years ago

Yes, good point! For sure if we don't have to provide the Hessian and Jacobian for an optimizer. It would be interesting to see if diffsims can do that too or if it can/should be added.