<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.elementtoproof, li.elementtoproof, div.elementtoproof
{mso-style-name:elementtoproof;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Dear Rini,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Ok, that’s good to hear!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Does that new model now work in 6.0.0a1? If it does not, please could you make a copy of the file, rename it to .txt instead of .py
and send it to us.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Rini P R <rinipr@stud.ntnu.no>
<br>
<b>Sent:</b> 18 April 2024 13:28<br>
<b>To:</b> King, Stephen (STFC,RAL,ISIS) <stephen.king@stfc.ac.uk><br>
<b>Cc:</b> users@sasview.org<br>
<b>Subject:</b> Re: [SasView Users] Inquiry regarding fitting the SAXS data<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Dear Stephen,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Thank you very much. It works now! I created a new python file for the new model instead of saving it into the older one. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><img width="605" height="476" style="width:6.302in;height:4.9583in" id="image_0" src="cid:image001.png@01DA9194.CFD15200"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Kind regards,<o:p></o:p></span></p>
</div>
<p class="elementtoproof" style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Rini PR</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">PhD candidate</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Institute for Energy Technology (IFE)</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Kjeller, Norway</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Workplace:</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Soft and Complex matter lab</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Department of Physics</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Norwegian University of Science and Technology (NTNU)</span><o:p></o:p></p>
<p class="elementtoproof" style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Trondheim, Norway</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Stephen King - STFC UKRI <<a href="mailto:stephen.king@stfc.ac.uk">stephen.king@stfc.ac.uk</a>><br>
<b>Sent:</b> Thursday, April 18, 2024 12:10<br>
<b>To:</b> Rini P R <<a href="mailto:rinipr@stud.ntnu.no">rinipr@stud.ntnu.no</a>><br>
<b>Cc:</b> <a href="mailto:users@sasview.org">users@sasview.org</a> <<a href="mailto:users@sasview.org">users@sasview.org</a>><br>
<b>Subject:</b> RE: [SasView Users] Inquiry regarding fitting the SAXS data<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Dear Rini,</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Your file is called example1 but the model name is called example2. Please can you make them the same and try again. In the tutorial example (p9) it does say save the file as example2.
The actual names are less important than the need for them to be the same. This is a bug we haven’t gotten around to fixing yet.</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Kind regards,<br>
Steve</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Rini P R <<a href="mailto:rinipr@stud.ntnu.no">rinipr@stud.ntnu.no</a>><br>
<b>Sent:</b> 18 April 2024 10:53<br>
<b>To:</b> King, Stephen (STFC,RAL,ISIS) <<a href="mailto:stephen.king@stfc.ac.uk">stephen.king@stfc.ac.uk</a>><br>
<b>Cc:</b> <a href="mailto:users@sasview.org">users@sasview.org</a><br>
<b>Subject:</b> Re: [SasView Users] Inquiry regarding fitting the SAXS data</span><o:p></o:p></p>
</div>
<p> <o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Dear Stephen,</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Thank you for the email. I downloaded the latest version from the website and tried again. But I am getting a different error message. </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><img border="0" width="673" height="260" style="width:7.0104in;height:2.7083in" id="x__x005f_x0000_i1025" src="cid:image002.png@01DA9194.CFD15200"></span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><img border="0" width="1071" height="205" style="width:11.1562in;height:2.1354in" id="x__x005f_x0000_i1026" src="cid:image003.png@01DA9194.CFD15200"></span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Best regards,</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Rini PR</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">PhD candidate</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Institute for Energy Technology (IFE)</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Kjeller, Norway</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Workplace:</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Soft and Complex matter lab</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Department of Physics</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Norwegian University of Science and Technology (NTNU)</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Trondheim, Norway</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<p><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Stephen King - STFC UKRI <</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:stephen.king@stfc.ac.uk" id="OWAe2a864d6-af27-63d7-3671-956cbe44652f">stephen.king@stfc.ac.uk</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Thursday, April 18, 2024 11:18<br>
<b>To:</b> Rini P R <</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:rinipr@stud.ntnu.no" id="OWA647c5bfb-e773-9818-ce84-baac23b64e06">rinipr@stud.ntnu.no</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Cc:</b> </span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:users@sasview.org" id="OWA17c7a881-be3b-29d3-aa10-c002d793cda3">users@sasview.org</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:users@sasview.org" id="OWA3d492110-7fb9-7263-3b3f-c4f27aebb102">users@sasview.org</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> RE: [SasView Users] Inquiry regarding fitting the SAXS data</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Dear Rini,</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Please could you install release version 5.0.6 and try that.</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Kind regards,</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Steve King</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">On behalf of the Development Team</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">SasView is a not-for-profit collaboration. If you would like to get involved, please visit
</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="https://www.sasview.org/contribute/" id="OWA4fab595d-7dc9-688d-fab8-b7cf8074c0fb">https://www.sasview.org/contribute/</a></span></u><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> users <<u><span style="color:blue"><a href="mailto:users-bounces@lists.sasview.org" id="OWA14065379-bb34-55bb-b790-15ac8338c93f">users-bounces@lists.sasview.org</a></span></u>>
<b>On Behalf Of </b>Rini P R via users<br>
<b>Sent:</b> 18 April 2024 10:12<br>
<b>To:</b> Paul Butler <<u><span style="color:blue"><a href="mailto:butlerpd@udel.edu" id="OWAc2304620-3b28-bb90-4c0b-e236dcf829c6">butlerpd@udel.edu</a></span></u>><br>
<b>Cc:</b> <u><span style="color:blue"><a href="mailto:users@sasview.org" id="OWA0de7b184-e421-88fe-b82e-bd1caaa5499e">users@sasview.org</a></span></u><br>
<b>Subject:</b> Re: [SasView Users] Inquiry regarding fitting the SAXS data</span><o:p></o:p></p>
</div>
<p> <o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Hi Paul,</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Thank you very much for your email and for providing all the helpful links. It helps a lot!</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I have found that the Raspberry model is not suitable for my systems, so I have created a plugin model using the power law and a cylinder. However, I needed to include the hayter_msa as structure
factor. The tutorial showed how to include the structure factor in these plugin models, and I tried to follow the same steps.</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><img border="0" width="390" height="240" style="width:4.0625in;height:2.5in" id="x_x_image_0" src="cid:image004.png@01DA9194.CFD15200"></span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><img border="0" width="684" height="230" style="width:7.125in;height:2.3958in" id="x_x__x005f_x0000_i1026" src="cid:image005.png@01DA9194.CFD15200"></span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">But when I tried to do that I am getting an error message in Sasview as </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><img border="0" width="1884" height="78" style="width:19.625in;height:.8125in" id="x_x_image_1" src="cid:image006.png@01DA9194.CFD15200"></span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I tried to multiply the plugin model with structure factor, but I do not get the screen that I am supposed to get. </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I am using sasview 6.0.0a1 which I downloaded from the github. </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Could you please look into it and tell me what is the source of the error?</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Best regards,</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Rini PR</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">PhD candidate</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Institute for Energy Technology (IFE)</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Kjeller, Norway</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Workplace:</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Soft and Complex matter lab</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Department of Physics</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Norwegian University of Science and Technology (NTNU)</span><o:p></o:p></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Trondheim, Norway</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<p><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Paul Butler <</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:butlerpd@udel.edu" id="OWAc6d4c7c1-2aa3-8c6e-1cce-146b9b933ecd">butlerpd@udel.edu</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Wednesday, April 17, 2024 16:46<br>
<b>To:</b> Rini P R <</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:rinipr@stud.ntnu.no" id="OWA69891d71-a725-ffaf-f901-c841671ca9d4">rinipr@stud.ntnu.no</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Cc:</b> </span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:users@sasview.org" id="OWAbdfeb476-a185-c244-1c22-a64237bcc3c8">users@sasview.org</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <</span><u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><a href="mailto:users@sasview.org" id="OWAd88baa3e-faab-d7ca-c0b9-dd0f7ea7b80b">users@sasview.org</a></span></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> Re: [SasView Users] Inquiry regarding fitting the SAXS data</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Hi Rini,</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Just to clarify your question. I assume you are saying that the “raspberry model,” which was developed by the Pozzo group at the University of Washington to model pickering emulsions
is not suitable for your case and you have developed your own plugin model?</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Or is the question how to write a plugin model based on a model you have developed theoretically? Or is the question that your plugin does not allow you to multiply a structure factor
with it?. Or are you wanting to write your own structure factor plugin? If in fact that next to last is what you are looking for, that should be pretty straightforward. Basically you will need to define the effective radius for interactions in your plugin
model as described here: </span><u><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html#form-factors" id="OWA6e1820f4-e95d-3b38-73c3-0b95071eb420">https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html#form-factors</a></span></u><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">If you also want to be able to include the beta approximation option you will also need to calculate the F(Q) in your model (currently would require a c model) and declare that Fq
is available in the python part of your model as described here: </span><u><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html#structure-factors" id="OWAed01d1f1-b2d6-3d5e-70d3-044cd3fdc5dd">https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html#structure-factors</a></span></u><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Finally, if you want to create a structure factor you just need to include that flag (structure_factor=true) as explained here:
</span><u><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html#model-definition" id="OWAef55cb00-b2e6-581f-bfdd-d8310049aea8">https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html#model-definition</a></span></u><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Also we now have a tutorial on writing custom models available here:
</span><u><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://www.sasview.org/downloads/creating_custom_fitting_models_in_sasview_v5.pdf" id="OWAb1e56d95-4c69-8929-ac85-dc9e34c96055">https://www.sasview.org/downloads/creating_custom_fitting_models_in_sasview_v5.pdf</a></span></u><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Let me know if any of this helps, if you need more information, or if you are looking for something completely different</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Stay safe</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Paul Butler</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">developer team member</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p>On Wed, Apr 17, 2024 at 5:11 AM Rini P R via users <<u><span style="color:blue"><a href="mailto:users@lists.sasview.org" id="OWA1d32b1bf-7ecd-3d44-2cb5-99f4e116fa03">users@lists.sasview.org</a></span></u>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p><span style="font-family:"Calibri",sans-serif;color:black">Dear SasView Team,</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I hope this message finds you well. My name is Rini and I am a PhD candidate in the Department of Physics at the Norwegian University of Science and Technology, Trondheim, Norway.</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I have a specific question and I'm not sure who to contact. We are working with Pickering emulsions made with food-grade materials and have encountered challenges in fitting the data from our recent
SAXS experiment with the available models. We have concluded that combining a structure factor with our current plugin model will enable us to fit our data and extract the information we need.</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Could you please direct me to the right person or help me get in touch with someone who can assist us with modifying the model as described?</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Thank you in advance for your time and support.</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Best regards,</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Rini PR</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">PhD candidate</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Institute for Energy Technology (IFE)</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Kjeller, Norway</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Workplace:</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Soft and Complex matter lab</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Department of Physics</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Norwegian University of Science and Technology (NTNU)</span><o:p></o:p></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Trondheim, Norway</span><o:p></o:p></p>
<p>_______________________________________________<br>
users mailing list<br>
<u><span style="color:blue"><a href="mailto:users@lists.sasview.org" id="OWAcca41914-9874-22c7-6180-f26f4283f247">users@lists.sasview.org</a></span></u><br>
<u><span style="color:blue"><a href="http://lists.sasview.org/cgi-bin/mailman/listinfo/users" id="OWAa5663648-61e4-9baa-8e3a-4ab1a7032cb8">http://lists.sasview.org/cgi-bin/mailman/listinfo/users</a></span></u><o:p></o:p></p>
</blockquote>
</div>
</body>
</html>