You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The relationship between the model + polydispersity and the number of calculation points + distribution width is complicated. For example, the lognormal distribution is highly skew and requires a large value for nsigma and npts to get an accurate estimate.
Users should try very large values for these at the end of the fit to verify that the answer does not change significantly. This needs to be mentioned in the documentation for the distribution, and more generally in the usage notes for polydispersity.
The following shows a 1% error at low q with 8-σ distribution width compared to 28-σ:
I've experimented with sampling more densely where the probability is highest (i.e., sampling linearly in the cdf rather than the pdf), but it doesn't work very well. That's because $I(Q,R)$ can change by orders of magnitude with $R$. Despite a small probability $P(R)$ the $I(Q,R)$ term may contribute a lot to the integral $\int_0^{\infty} P(R) I(Q, R) dR$ for distributions with long tails. I'm not sure if we can do better than linear sampling.
The text was updated successfully, but these errors were encountered:
The relationship between the model + polydispersity and the number of calculation points + distribution width is complicated. For example, the lognormal distribution is highly skew and requires a large value for
nsigma
andnpts
to get an accurate estimate.Users should try very large values for these at the end of the fit to verify that the answer does not change significantly. This needs to be mentioned in the documentation for the distribution, and more generally in the usage notes for polydispersity.
The following shows a 1% error at low q with 8-σ distribution width compared to 28-σ:
I've experimented with sampling more densely where the probability is highest (i.e., sampling linearly in the cdf rather than the pdf), but it doesn't work very well. That's because$I(Q,R)$ can change by orders of magnitude with $R$ . Despite a small probability $P(R)$ the $I(Q,R)$ term may contribute a lot to the integral $\int_0^{\infty} P(R) I(Q, R) dR$ for distributions with long tails. I'm not sure if we can do better than linear sampling.
The text was updated successfully, but these errors were encountered: