Opened 6 years ago

#1257 new defect

vesicle @ structure_factor incorrect

Reported by: pkienzle Owned by:
Priority: major Milestone: SasView 4.3.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Comparing vesicle@S with no core to sphere@S I get different answers. Repeat using:

    $ sascomp vesicle@hardsphere,sphere@hardsphere radius=0,thickness thickness=40 -pars -midq -double

This is not true for hollow_cylinder with no core vs cylinder:

    $ sascomp hollow_cylinder@hardsphere,cylinder@hardsphere radius=0,thickness thickness=40 -pars -double

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.

    $ sascomp vesicle@hardsphere,sphere@hardsphere volfraction_S=0.05 scale=20,1 radius=0,thickness thickness=40 -pars -midq -double

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.

Change History (0)

Note: See TracTickets for help on using tickets.