-
Notifications
You must be signed in to change notification settings - Fork 0
KEMM37_Lab1A
<html><body><h1 id="Exercise9-SANSDataAnalysisusingSasView">Exercise 9 - SANS Data Analysis using SasView</h1>
<tbody>
Table of Contents
1. Familiarisation with SasView
2. Exploring geometrical models
</tbody>
<h2 id="Introduction"><span class="wikianchor" id="intro">Introduction</span></h2>
This exercise will introduce you to analysing SANS data using geometrical models in SasView. In the first lab session you will look at how different shapes produce different scattering patterns, and how the model parameters affect the scattering pattern. In the second lab session you will then load some real SANS data and attempt to fit models to the data in SasView.
This first exercise is divided into 2 sections:
Before beginning the exercise, you must first ensure that SasView is installed. If you have not done so already, follow these installation instructions .
Tasks you should perform are shown thus:
<div style="background: lightblue" class="wikipage">
TASK 0: Install SasView. Installation instructions can be found here: KEMM37/InstallSasView
</div><h2 id="a1.FamiliarisationwithSasView"><span class="wikianchor" id="section1">1.</span> Familiarisation with SasView</h2> <div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task1"> TASK 1: </span> Start SasView. The application should open and look something like the images below.
</div>
<tbody>
SasView 4.1.2 on Mac OS
SasView 4.1.2 on Windows 10
</tbody>
The SasView user interface contains 4 main areas:
- The Data Explorer
- This is where data is loaded and can then be plotted or sent to the various types of analysis.
- Models not associated with data (called "Theories" in SasView) can be plotted and converted to datasets.
- The Analysis Panel (which defaults to showing Fitting)
- This is where you do the work of analysing data or generating theories
- SasView currently supports four analysis tools:
- Fitting - for theory generation or model fitting to 1D and 2D SANS, SAXS, or SESANS data
- P(r) Inversion - for converting I(Q) to P(r)
- Invariant - for calculating the scattering invariant from a 1D data set
- Correlation Function - for performing a correlation function analysis of a 1D data set
- The plot windows (which appear when something is plotted)
- The menus, toolbar, and status area.
The capabilities of SasView are described in more detail in the <span class="icon"></span>application documentation with links to the relevant parts of the documentation available as "Help" buttons in each part of the GUI.
<div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task2"> TASK 2: </span> Briefly familiarise yourself with SasView panels, menus and documentation. Try changing to different analysis tools.
</div><h2 id="a2.Exploringgeometricalmodels"><span class="wikianchor" id="section2">2. Exploring geometrical models</span></h2>
In this part of the exercise, you will plot the scattering patterns calculated using different geometrical models and explore the effect that the model parameters have on the scattering.
<div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task3"> TASK 3: </span> Restart SasView
Before starting this part of the exercise, you should have a clean SasView instance. Quit SasView and restart it.
</div><h3 id="a2.1Spheres"><span class="wikianchor" id="section21">2.1 Spheres</span></h3> <div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task4"> TASK 4: </span> Plot the scattering from a collection of spherical particles
In the Fit Panel, there should be a single tab labelled "Fitpage1". In that tab, choose the model category "Sphere" and the model "sphere".
</div>
The fit panel and a plot panel that appears should look like the following:
<img width="500px" src="http://trac.sasview.org/raw-attachment/wiki/KEMM37/Lab1A/kemm37_fitpage1_1.png" /> <img width="500px" src="http://trac.sasview.org/raw-attachment/wiki/KEMM37/Lab1A/kemm37_sphere.png" />
<div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task5"> TASK 5: </span> Change the parameters and note the changes in the scattering pattern.
In the "Fitpage1" tab, scroll down to the bottom and:
- Increase "Npts" to 200
- Check the "Log" box
Next, click "Compute"
This will improve the fidelity of the modelled curve.
Now scroll back up and try adjusting the various model parameters one at a time. Pressing enter after changing a value should recalculate the scattering. If not, use the Compute button.
What effect do the each of the parameters have on the scattering curve?
- scale
- background
- sld and sld_solvent
- radius
</div><h3 id="a2.2Cylinders"><span class="wikianchor" id="section22">2.2 Cylinders</span></h3> <div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task6"> TASK 6: </span> Plot the scattering from a collection of cylindrical particles
From the "Fitting" menu, select "New Fit Page".
In the Fit panel, a new tab labelled "Fitpage2" should appear. In that tab, choose the model category "Cylinder" and the model "cylinder".
</div>
The fit panel and a plot panel that appears should look like the following:
<img width="500px" src="http://trac.sasview.org/raw-attachment/wiki/KEMM37/Lab1A/kemm37_fitpage2_1.png" /> <img width="500px" src="http://trac.sasview.org/raw-attachment/wiki/KEMM37/Lab1A/kemm37_cylinder.png" />
<div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task7"> TASK 7: </span> Change the parameters and note the changes in the scattering pattern.
In the "Fitpage2" tab, scroll down to the bottom and:
- Increase "Npts" to 200
- Check the "Log" box
Next, click "Compute"
This will improve the fidelity of the modelled curve.
Now scroll back up and try adjusting the various model parameters one at a time. Pressing enter after changing a value should recalculate the scattering. If not, use the Compute button.
What effect do the each of the parameters have on the scattering curve?
- scale
- background
- sld and sld_solvent
- radius
- length
</div><h3 id="a2.3Polydispersity"><span class="wikianchor" id="section23">2.3 Polydispersity</span></h3> <div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task8"> TASK 8: </span> Apply polydispersity to model parameters
Select the "Fitpage1" tab that contains the sphere model.
Find the section labelled "Polydispersity and Orientational Distribution"
- Click the "On" radio button and a new section should appear labelled "Distribution of radius".
- Enter a value for "PD[ratio]" between 0.0 and 1.0 - this is the polydispersity defined as sigma_r/r.
What effect does varying the polydispersity have on the scattering curve?
Repeat the exercise for the cylinder model in "Fitpage2"
</div><h3 id="a2.4Resolution"><span class="wikianchor" id="section24">2.4 Resolution</span></h3> <div style="background: lightblue" class="wikipage">
<span class="wikianchor" id="task9"> TASK 9: </span> Apply resolution functions to your model
Select the "Fitpage1" tab that contains the sphere model.
Find the section labelled "Polydispersity and Orientational Distribution"
- Click the "Off" radio button and the polydispersity section should disappear
Find the section labelled "Set Instrumental Smearing"
- Click on the "Custom Pinhole Smear" radio button and a data entry box should appear.
- Enter a value for the percentage dQ/Q that is applied to the model - start with a value of 10.
- Try various values of dQ/Q ranging from 1% to 50%.
What effect does this have on the scattering curve?
</div><h2 id="WhatsNext">What's Next?</h2>
You can now move on to the second lab session looking at fitting of data : Lab 1B Data Fitting
</body></html>