Open ajj opened 9 months ago
Just copy & paste P(r)?
We should clarify that we are trying to use the maximum entropy method implemented in Irena instead of using the least square fit of the Fourier transform of P(r). I think we did talk about where to put our new code, and the idea of integrating it into P(r) did come up at one point. But because we are also trying to make our method work with more than one form factor in the future, we think it may be a good idea to do a separate perspective. @ajj and @murphyryanp can probably add to this.
We should clarify that we are trying to use the maximum entropy method implemented in Irena instead of using the least square fit of the Fourier transform of P(r).
I wasn't saying use the same calculation, it's just that P(r) is very similar and it would save a lot of work to start from a copy of that. Lots of things to hook up that would just be a matter of swapping a few things over.
But because we are also trying to make our method work with more than one form factor in the future,
Might be nice to have P(r) calculated though maxent too, as its essentially just a different form factor (hollow spheres instead of solid spheres).
Write perspective code that can take Data1d objects and maxent parameters and call the GSAS II methods for doing the maxent calculation of size distribution. Discussion of how this should work is needed - what should be returned for example? @AnitaZhang0526