I think the issue is that the vesicle model defines volfraction, and this is colliding with the definition of volfraction in the structure factor, which then gets turned into volfraction_S.
Vescicle and sphere match if volfraction_S is set to the same value as volfraction.
{
"status": "new",
"changetime": "2019-03-25T21:00:59",
"_ts": "2019-03-25 21:00:59.327232+00:00",
"description": "Comparing vesicle@S with no core to sphere@S I get different answers. Repeat using:\n{{{\n $ sascomp vesicle@hardsphere,sphere@hardsphere radius=0,thickness thickness=40 -pars -midq -double\n}}}\n\nThis is not true for hollow_cylinder with no core vs cylinder:\n{{{\n $ sascomp hollow_cylinder@hardsphere,cylinder@hardsphere radius=0,thickness thickness=40 -pars -double\n}}}\n\nI think the issue is that the vesicle model defines volfraction, and this is colliding with the definition of volfraction in the structure factor, which then gets turned into volfraction_S.\n\nVescicle and sphere match if volfraction_S is set to the same value as volfraction.\n{{{\n $ sascomp vesicle@hardsphere,sphere@hardsphere volfraction_S=0.05 scale=20,1 radius=0,thickness thickness=40 -pars -midq -double\n}}}\n\nShould update product model to use volfraction if it exists in the model.\n\nThis will require changes to `sasmodels/product.py`, both when constructing the model and when splitting the parameter set into P and S parameters.\n",
"reporter": "pkienzle",
"cc": "",
"resolution": "",
"workpackage": "SasView Bug Fixing",
"time": "2019-03-25T21:00:59",
"component": "SasView",
"summary": "vesicle @ structure_factor incorrect",
"priority": "major",
"keywords": "",
"milestone": "SasView 4.3.0",
"owner": "",
"type": "defect"
}
Comparing vesicle@S with no core to sphere@S I get different answers. Repeat using:
This is not true for hollow_cylinder with no core vs cylinder:
I think the issue is that the vesicle model defines volfraction, and this is colliding with the definition of volfraction in the structure factor, which then gets turned into volfraction_S.
Vescicle and sphere match if volfraction_S is set to the same value as volfraction.
Should update product model to use volfraction if it exists in the model.
This will require changes to
sasmodels/product.py
, both when constructing the model and when splitting the parameter set into P and S parameters.Migrated from http://trac.sasview.org/ticket/1257