As noted in #719 (comment), the aggregation structure factors are different from those from liquid state theory and volume fraction is an irrelevant parameter.
For structure factor calculations, the P@S form checks that all structure factor models have radius_effective and volfraction parameters. This is because the structure factor calculation can transmit average radius of the particle to the radius_effective parameter of the structure factor (use radius_effective_mode != 0). Similarly, for hollow models like vesicle` the volume fraction of the enclosed volume is larger than the volume fraction of the shell. Computing the effective volume fraction also requires an average over the polydispersity.
We need to modify sasmodels/product.py to allow structure factor models with optional radius_effective and volfraction.
As noted in #719 (comment), the aggregation structure factors are different from those from liquid state theory and volume fraction is an irrelevant parameter.
For structure factor calculations, the
P@Sform checks that all structure factor models haveradius_effectiveandvolfractionparameters. This is because the structure factor calculation can transmit average radius of the particle to theradius_effectiveparameter of the structure factor (useradius_effective_mode != 0). Similarly, for hollow models likevesicle` the volume fraction of the enclosed volume is larger than the volume fraction of the shell. Computing the effective volume fraction also requires an average over the polydispersity.We need to modify
sasmodels/product.pyto allow structure factor models with optionalradius_effectiveandvolfraction.