[SasView Users] Model building in sasview

IMPEROR Marianne via users users at lists.sasview.org
Thu Jul 2 06:34:51 EDT 2026


Dear Harrison, 

My understanding is that you need to save each elementary summation/multiplication in an intermediate model with a new name, because brackets is not working. 

And combine models step by step using only A+B or A*B operations. 

This should work if one reads the documentation. 

Another solution is to do it from a jupyter notebook. 
>From my own experience, calling a sum of 3 or 4 models works directly ! :) 
But I never tried a similar situation to yours when both + and * are combined. 

Good luck ! 
Marianne 


De: "Paul Butler via users" <users at lists.sasview.org> 
À: "Harrison Laurent" <H.Laurent at leeds.ac.uk>, "Maling list for users of SasView" <users at lists.sasview.org> 
Envoyé: Mercredi 1 Juillet 2026 21:39:28 
Objet: Re: [SasView Users] Model building in sasview 

Hi Harrison, 
I cannot say that I've every tried that but note that the documentation does suggest (or at least imply) it is possible. So I tried and failed. I've forwarded your message to the developers mailing list. Hopefully somebody will know the answer? 

Cheers 
Paul 


On Wed, Jul 1, 2026 at 2:44 PM Harrison Laurent via users < [ mailto:users at lists.sasview.org | users at lists.sasview.org ] > wrote: 



Hello, 

I hope you are well. I am currently trying to build a reasonably complex model within sasview and have gone to the guide on how to manage this. I see in the documentation (SasView-6.1.3/sas/docs/user/qtgui/Perspectives/Fitting/fitting_help.html) that to achieve this one creates a 'simple' model combining two established models, then opens the model in the model editor. One can then add/multiply several different functions together by editing the text after 'load_model_info'. 

My question is how do I account for multiplying several summed models by a single other model, as brackets seemingly cannot be used. AKA how do I achieve the following sort of functions: 

(sphere + gaussian_peak + sphere)*user_defined_fractal_model 

((sphere + gaussian_peak) + sphere)*user_defined_fractal_model 

((sphere + sphere)*user_defined_fractal_model) + gaussian_peak 

Any insight you have would be extremely helpful. Thank you so much. 

All the best, 

Harrison Laurent 

_______________________________________________ 
users mailing list 
[ mailto:users at lists.sasview.org | users at lists.sasview.org ] 
[ http://lists.sasview.org/cgi-bin/mailman/listinfo/users | http://lists.sasview.org/cgi-bin/mailman/listinfo/users ] 




_______________________________________________ 
users mailing list 
users at lists.sasview.org 
http://lists.sasview.org/cgi-bin/mailman/listinfo/users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sasview.org/pipermail/users/attachments/20260702/7c8cc9cc/attachment.html>


More information about the users mailing list