[da53353] | 1 | .. pd_help.rst |
---|
| 2 | |
---|
| 3 | .. This is a port of the original SasView html help file to ReSTructured text |
---|
| 4 | .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. |
---|
| 5 | |
---|
| 6 | .. |beta| unicode:: U+03B2 |
---|
| 7 | .. |gamma| unicode:: U+03B3 |
---|
| 8 | .. |mu| unicode:: U+03BC |
---|
| 9 | .. |sigma| unicode:: U+03C3 |
---|
| 10 | .. |phi| unicode:: U+03C6 |
---|
| 11 | .. |theta| unicode:: U+03B8 |
---|
| 12 | .. |chi| unicode:: U+03C7 |
---|
[f256d9b] | 13 | .. |Ang| unicode:: U+212B |
---|
[da53353] | 14 | |
---|
| 15 | .. |inlineimage004| image:: sm_image004.gif |
---|
| 16 | .. |inlineimage005| image:: sm_image005.gif |
---|
| 17 | .. |inlineimage008| image:: sm_image008.gif |
---|
| 18 | .. |inlineimage009| image:: sm_image009.gif |
---|
| 19 | .. |inlineimage010| image:: sm_image010.gif |
---|
| 20 | .. |inlineimage011| image:: sm_image011.gif |
---|
| 21 | .. |inlineimage012| image:: sm_image012.gif |
---|
| 22 | .. |inlineimage018| image:: sm_image018.gif |
---|
| 23 | .. |inlineimage019| image:: sm_image019.gif |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 27 | |
---|
| 28 | Polydispersity Distributions |
---|
| 29 | ---------------------------- |
---|
| 30 | |
---|
[f256d9b] | 31 | With some models SasView can calculate the average form factor for a population |
---|
| 32 | of particles that exhibit size and/or orientational polydispersity. The resultant |
---|
| 33 | form factor is normalized by the average particle volume such that |
---|
[da53353] | 34 | |
---|
[f256d9b] | 35 | *P(q) = scale* * \ <F*\F> / *V + bkg* |
---|
[da53353] | 36 | |
---|
[f256d9b] | 37 | where F is the scattering amplitude and the \<\> denote an average over the size |
---|
| 38 | distribution. |
---|
[da53353] | 39 | |
---|
[f256d9b] | 40 | Users should note that this computation is very intensive. Applying polydispersion |
---|
| 41 | to multiple parameters at the same time, or increasing the number of *Npts* values |
---|
| 42 | in the fit, will require patience! However, the calculations are generally more |
---|
| 43 | robust with more data points or more angles. |
---|
[da53353] | 44 | |
---|
[f256d9b] | 45 | SasView uses the term *PD* for a size distribution (and not to be confused with a |
---|
| 46 | molecular weight distributions in polymer science) and the term *Sigma* for an |
---|
| 47 | angular distribution. |
---|
| 48 | |
---|
| 49 | The following five distribution functions are provided: |
---|
[da53353] | 50 | |
---|
[a0637de] | 51 | * *Rectangular Distribution* |
---|
| 52 | * *Gaussian Distribution* |
---|
| 53 | * *Lognormal Distribution* |
---|
| 54 | * *Schulz Distribution* |
---|
[f256d9b] | 55 | * *Array Distribution* |
---|
[da53353] | 56 | |
---|
[a0637de] | 57 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 58 | |
---|
| 59 | Rectangular Distribution |
---|
[892a2cc] | 60 | ^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 61 | |
---|
[f256d9b] | 62 | The Rectangular Distribution is defined as |
---|
| 63 | |
---|
[da53353] | 64 | .. image:: pd_image001.png |
---|
| 65 | |
---|
[f256d9b] | 66 | where *xmean* is the mean of the distribution, *w* is the half-width, and *Norm* is a |
---|
| 67 | normalization factor which is determined during the numerical calculation. |
---|
| 68 | |
---|
| 69 | Note that the standard deviation and the half width *w* are different! |
---|
[da53353] | 70 | |
---|
| 71 | The standard deviation is |
---|
| 72 | |
---|
| 73 | .. image:: pd_image002.png |
---|
| 74 | |
---|
[f256d9b] | 75 | whilst the polydispersity is |
---|
[da53353] | 76 | |
---|
| 77 | .. image:: pd_image003.png |
---|
| 78 | |
---|
| 79 | .. image:: pd_image004.jpg |
---|
| 80 | |
---|
[a0637de] | 81 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 82 | |
---|
| 83 | Gaussian Distribution |
---|
[892a2cc] | 84 | ^^^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 85 | |
---|
[f256d9b] | 86 | The Gaussian Distribution is defined as |
---|
| 87 | |
---|
[da53353] | 88 | .. image:: pd_image005.png |
---|
| 89 | |
---|
[f256d9b] | 90 | where *xmean* is the mean of the distribution and *Norm* is a normalization factor |
---|
[da53353] | 91 | which is determined during the numerical calculation. |
---|
| 92 | |
---|
[f256d9b] | 93 | The polydispersity is |
---|
[da53353] | 94 | |
---|
| 95 | .. image:: pd_image003.png |
---|
| 96 | |
---|
[f256d9b] | 97 | |
---|
[da53353] | 98 | .. image:: pd_image006.jpg |
---|
| 99 | |
---|
[a0637de] | 100 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 101 | |
---|
| 102 | Lognormal Distribution |
---|
[892a2cc] | 103 | ^^^^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 104 | |
---|
[f256d9b] | 105 | The Lognormal Distribution is defined as |
---|
| 106 | |
---|
[da53353] | 107 | .. image:: pd_image007.png |
---|
| 108 | |
---|
[f256d9b] | 109 | where |mu|\ =ln(*xmed*), *xmed* is the median value of the distribution, and |
---|
| 110 | *Norm* is a normalization factor which will be determined during the numerical |
---|
| 111 | calculation. |
---|
| 112 | |
---|
| 113 | The median value for the distribution will be the value given for the respective |
---|
| 114 | size parameter in the *Fitting Perspective*, for example, radius = 60. |
---|
[da53353] | 115 | |
---|
[f256d9b] | 116 | The polydispersity is given by |sigma| |
---|
[da53353] | 117 | |
---|
| 118 | .. image:: pd_image008.png |
---|
| 119 | |
---|
| 120 | For the angular distribution |
---|
| 121 | |
---|
| 122 | .. image:: pd_image009.png |
---|
| 123 | |
---|
[f256d9b] | 124 | The mean value is given by *xmean*\ =exp(|mu|\ +p\ :sup:`2`\ /2). The peak value |
---|
| 125 | is given by *xpeak*\ =exp(|mu|-p\ :sup:`2`\ ). |
---|
[da53353] | 126 | |
---|
| 127 | .. image:: pd_image010.jpg |
---|
| 128 | |
---|
[f256d9b] | 129 | This distribution function spreads more, and the peak shifts to the left, as *p* |
---|
| 130 | increases, requiring higher values of Nsigmas and Npts. |
---|
[da53353] | 131 | |
---|
[a0637de] | 132 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 133 | |
---|
| 134 | Schulz Distribution |
---|
[892a2cc] | 135 | ^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 136 | |
---|
[f256d9b] | 137 | The Schulz distribution is defined as |
---|
| 138 | |
---|
[da53353] | 139 | .. image:: pd_image011.png |
---|
| 140 | |
---|
[f256d9b] | 141 | where *xmean* is the mean of the distribution and *Norm* is a normalization factor |
---|
| 142 | which is determined during the numerical calculation, and *z* is a measure of the |
---|
| 143 | width of the distribution such that |
---|
[da53353] | 144 | |
---|
[f256d9b] | 145 | z = (1-p\ :sup:`2`\ ) / p\ :sup:`2` |
---|
[da53353] | 146 | |
---|
[f256d9b] | 147 | The polydispersity is |
---|
[da53353] | 148 | |
---|
| 149 | .. image:: pd_image012.png |
---|
| 150 | |
---|
[f256d9b] | 151 | Note that larger values of PD might need larger values of Npts and Nsigmas. |
---|
| 152 | For example, at PD=0.7 and radius=60 |Ang|, Npts>=160 and Nsigmas>=15 at least. |
---|
[da53353] | 153 | |
---|
| 154 | .. image:: pd_image013.jpg |
---|
| 155 | |
---|
[f256d9b] | 156 | For further information on the Schulz distribution see: |
---|
| 157 | M Kotlarchyk & S-H Chen, *J Chem Phys*, (1983), 79, 2461. |
---|
| 158 | |
---|
[da53353] | 159 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[f256d9b] | 160 | |
---|
| 161 | Array Distribution |
---|
| 162 | ^^^^^^^^^^^^^^^^^^ |
---|
| 163 | |
---|
| 164 | This user-definable distribution should be given as as a simple ASCII text file |
---|
| 165 | where the array is defined by two columns of numbers: *x* and *f(x)*. The *f(x)* |
---|
| 166 | will be normalized by SasView during the computation. |
---|
| 167 | |
---|
| 168 | Example of what an array distribution file should look like: |
---|
| 169 | |
---|
| 170 | ==== ===== |
---|
| 171 | 30 0.1 |
---|
| 172 | 32 0.3 |
---|
| 173 | 35 0.4 |
---|
| 174 | 36 0.5 |
---|
| 175 | 37 0.6 |
---|
| 176 | 39 0.7 |
---|
| 177 | 41 0.9 |
---|
| 178 | ==== ===== |
---|
| 179 | |
---|
| 180 | SasView only uses these array values during the computation, therefore any mean |
---|
| 181 | value of the parameter represented by *x* present in the *Fitting Perspective* |
---|
| 182 | will be ignored. |
---|
| 183 | |
---|
| 184 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 185 | |
---|
| 186 | Note about DLS polydispersity |
---|
| 187 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
| 188 | |
---|
| 189 | Many commercial Dynamic Light Scattering (DLS) instruments produce a size |
---|
| 190 | polydispersity parameter, sometimes even given the symbol *p*! This parameter is |
---|
| 191 | defined as the relative standard deviation coefficient of variation of the size |
---|
| 192 | distribution and is NOT the same as the polydispersity parameters in the Lognormal |
---|
| 193 | and Schulz distributions above (though they all related) except when the DLS |
---|
| 194 | polydispersity parameter is <0.13. |
---|
| 195 | |
---|
| 196 | For more information see: |
---|
| 197 | S King, C Washington & R Heenan, *Phys Chem Chem Phys*, (2005), 7, 143 |
---|
| 198 | |
---|
| 199 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 200 | |
---|
| 201 | .. note:: This help document was last changed by Steve King, 01May2015 |
---|