<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
@font-face
{font-family:"Amasis MT Pro Light";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{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="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Dear Constantina,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you for your email.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">By emailing the SasView Users list you are reaching out to all those Users signed up to that list, as well as members of the SasView development team. So you may get multiple replies.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You can modify the raspberry model yourself.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You will find the files in C:\SasView-5.0.6\sasmodels\models (or the equivalent path for where you have installed SasView). There are two files:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> raspberry.py<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> raspberry.c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Copy these to your plugin models folder (eg: C:\Users\<yourusername>\.sasview\plugin_models, and rename them; maybe core_shell_raspberry?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Edit core_shell_raspberry.py and change these two lines to reflect the name changes:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> name = "<span style="background:yellow;mso-highlight:yellow">raspberry</span>" #the name of the model must match the name of the file<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> source = ["lib/sas_3j1x_x.c", "<span style="background:yellow;mso-highlight:yellow">raspberry.c</span>"]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">At this point, if you save the files and start SasView you should be able to load a model called core_shell_raspberry from the Plugin category and use it (although, of course, at this point it is still the normal
raspberry model). If this works, then you can modify these two files to meet your requirements.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">There is information on what these files contain, and therefore what you may need to change, here:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> <a href="https://www.sasview.org/downloads/creating_custom_fitting_models_in_sasview_v5.pdf">
https://www.sasview.org/downloads/creating_custom_fitting_models_in_sasview_v5.pdf</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> <a href="https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html">
https://www.sasview.org/docs/user/qtgui/Perspectives/Fitting/plugin.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Does this help answer your query?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Steve King<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-ligatures:none;mso-fareast-language:EN-GB">On behalf of the Development Team<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-ligatures:none;mso-fareast-language:EN-GB">SasView is a not-for-profit collaboration. If you would like to get involved, please visit
<a href="https://www.sasview.org/contribute/"><span style="color:blue">https://www.sasview.org/contribute/</span></a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><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="mso-ligatures:none;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-ligatures:none;mso-fareast-language:EN-GB"> users <users-bounces@lists.sasview.org>
<b>On Behalf Of </b>Constantina Sofroniou via users<br>
<b>Sent:</b> 08 January 2024 11:57<br>
<b>To:</b> users@sasview.org<br>
<b>Subject:</b> [SasView Users] Inquiry Regarding Model Fitting<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear SasView team, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope this email finds you well. My name is Constantina, and I am a post-doc at the Department of Materials, Loughborough University.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a specific inquiry and am uncertain about the appropriate contact person. We are currently researching liposome-gold nanoparticle interactions and have acquired recent SANS data that poses challenges when fitting it with existing
models. Our hypothesis is that gold nanoparticles penetrate the liposome phospholipid bilayer. After reviewing available models, we believe that the raspberry model, with a modification to incorporate a core in the large particle, would be the most suitable
for our data (https://www.sasview.org/docs/user/models/raspberry.html).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could you please direct me to the right person or provide assistance in connecting with someone who can help us modify the model as described?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you in advance for your time and support.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Constantina <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">Constantina Sofroniou, PhD (she/her)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">Postdoctoral Research Associate<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">Department of Materials<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">Loughborough University<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">LE11 3TU Loughborough
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">Leicesterhire
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Amasis MT Pro Light";mso-ligatures:none;mso-fareast-language:EN-GB">United Kingdom
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>