Opened 8 years ago

Last modified 8 years ago

#796 new enhancement

Polydispersity limited to 4 dimensions

Reported by: pkienzle Owned by:
Priority: major Milestone: SasView Next Release +1
Component: sasmodels Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Max 4 polydisperse parameters. Need warnings in GUI if more are selected.

Instead of increasing the number of PD loops in the kernel code, switch to Monte Carlo integration with importance sampling when more than 4 dimensions. Do not extend the code to contain one more loop. Not only will this be slower, but it will increase code size and possibly reduce the number of q values that can be evaluated in parallel.

Many 1D models are computed with numerical integrals over all orientations; these integrals can be incorporated into the Monte Carlo. Could also incorporate sampling from the resolution function.

Accuracy can be controlled by increasing the number of samples.

Change History (1)

comment:1 Changed 8 years ago by pkienzle

Pulled from ticket #665

Note: See TracTickets for help on using tickets.