[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 | |
---|
[a910c788] | 57 | These are all implemented in SasView as *number-average* distributions. |
---|
| 58 | |
---|
[a0637de] | 59 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 60 | |
---|
| 61 | Rectangular Distribution |
---|
[892a2cc] | 62 | ^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 63 | |
---|
[f256d9b] | 64 | The Rectangular Distribution is defined as |
---|
| 65 | |
---|
[da53353] | 66 | .. image:: pd_image001.png |
---|
| 67 | |
---|
[f256d9b] | 68 | where *xmean* is the mean of the distribution, *w* is the half-width, and *Norm* is a |
---|
| 69 | normalization factor which is determined during the numerical calculation. |
---|
| 70 | |
---|
| 71 | Note that the standard deviation and the half width *w* are different! |
---|
[da53353] | 72 | |
---|
| 73 | The standard deviation is |
---|
| 74 | |
---|
| 75 | .. image:: pd_image002.png |
---|
| 76 | |
---|
[f256d9b] | 77 | whilst the polydispersity is |
---|
[da53353] | 78 | |
---|
| 79 | .. image:: pd_image003.png |
---|
| 80 | |
---|
| 81 | .. image:: pd_image004.jpg |
---|
| 82 | |
---|
[a0637de] | 83 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 84 | |
---|
| 85 | Gaussian Distribution |
---|
[892a2cc] | 86 | ^^^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 87 | |
---|
[f256d9b] | 88 | The Gaussian Distribution is defined as |
---|
| 89 | |
---|
[da53353] | 90 | .. image:: pd_image005.png |
---|
| 91 | |
---|
[f256d9b] | 92 | where *xmean* is the mean of the distribution and *Norm* is a normalization factor |
---|
[da53353] | 93 | which is determined during the numerical calculation. |
---|
| 94 | |
---|
[f256d9b] | 95 | The polydispersity is |
---|
[da53353] | 96 | |
---|
| 97 | .. image:: pd_image003.png |
---|
| 98 | |
---|
[f256d9b] | 99 | |
---|
[da53353] | 100 | .. image:: pd_image006.jpg |
---|
| 101 | |
---|
[a0637de] | 102 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 103 | |
---|
| 104 | Lognormal Distribution |
---|
[892a2cc] | 105 | ^^^^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 106 | |
---|
[f256d9b] | 107 | The Lognormal Distribution is defined as |
---|
| 108 | |
---|
[da53353] | 109 | .. image:: pd_image007.png |
---|
| 110 | |
---|
[f256d9b] | 111 | where |mu|\ =ln(*xmed*), *xmed* is the median value of the distribution, and |
---|
| 112 | *Norm* is a normalization factor which will be determined during the numerical |
---|
| 113 | calculation. |
---|
| 114 | |
---|
| 115 | The median value for the distribution will be the value given for the respective |
---|
| 116 | size parameter in the *Fitting Perspective*, for example, radius = 60. |
---|
[da53353] | 117 | |
---|
[f256d9b] | 118 | The polydispersity is given by |sigma| |
---|
[da53353] | 119 | |
---|
| 120 | .. image:: pd_image008.png |
---|
| 121 | |
---|
| 122 | For the angular distribution |
---|
| 123 | |
---|
| 124 | .. image:: pd_image009.png |
---|
| 125 | |
---|
[f256d9b] | 126 | The mean value is given by *xmean*\ =exp(|mu|\ +p\ :sup:`2`\ /2). The peak value |
---|
| 127 | is given by *xpeak*\ =exp(|mu|-p\ :sup:`2`\ ). |
---|
[da53353] | 128 | |
---|
| 129 | .. image:: pd_image010.jpg |
---|
| 130 | |
---|
[f256d9b] | 131 | This distribution function spreads more, and the peak shifts to the left, as *p* |
---|
| 132 | increases, requiring higher values of Nsigmas and Npts. |
---|
[da53353] | 133 | |
---|
[a0637de] | 134 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[da53353] | 135 | |
---|
| 136 | Schulz Distribution |
---|
[892a2cc] | 137 | ^^^^^^^^^^^^^^^^^^^ |
---|
[da53353] | 138 | |
---|
[f256d9b] | 139 | The Schulz distribution is defined as |
---|
| 140 | |
---|
[da53353] | 141 | .. image:: pd_image011.png |
---|
| 142 | |
---|
[f256d9b] | 143 | where *xmean* is the mean of the distribution and *Norm* is a normalization factor |
---|
| 144 | which is determined during the numerical calculation, and *z* is a measure of the |
---|
| 145 | width of the distribution such that |
---|
[da53353] | 146 | |
---|
[f256d9b] | 147 | z = (1-p\ :sup:`2`\ ) / p\ :sup:`2` |
---|
[da53353] | 148 | |
---|
[f256d9b] | 149 | The polydispersity is |
---|
[da53353] | 150 | |
---|
| 151 | .. image:: pd_image012.png |
---|
| 152 | |
---|
[f256d9b] | 153 | Note that larger values of PD might need larger values of Npts and Nsigmas. |
---|
| 154 | For example, at PD=0.7 and radius=60 |Ang|, Npts>=160 and Nsigmas>=15 at least. |
---|
[da53353] | 155 | |
---|
| 156 | .. image:: pd_image013.jpg |
---|
| 157 | |
---|
[f256d9b] | 158 | For further information on the Schulz distribution see: |
---|
| 159 | M Kotlarchyk & S-H Chen, *J Chem Phys*, (1983), 79, 2461. |
---|
| 160 | |
---|
[da53353] | 161 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[f256d9b] | 162 | |
---|
| 163 | Array Distribution |
---|
| 164 | ^^^^^^^^^^^^^^^^^^ |
---|
| 165 | |
---|
| 166 | This user-definable distribution should be given as as a simple ASCII text file |
---|
| 167 | where the array is defined by two columns of numbers: *x* and *f(x)*. The *f(x)* |
---|
| 168 | will be normalized by SasView during the computation. |
---|
| 169 | |
---|
| 170 | Example of what an array distribution file should look like: |
---|
| 171 | |
---|
| 172 | ==== ===== |
---|
| 173 | 30 0.1 |
---|
| 174 | 32 0.3 |
---|
| 175 | 35 0.4 |
---|
| 176 | 36 0.5 |
---|
| 177 | 37 0.6 |
---|
| 178 | 39 0.7 |
---|
| 179 | 41 0.9 |
---|
| 180 | ==== ===== |
---|
| 181 | |
---|
| 182 | SasView only uses these array values during the computation, therefore any mean |
---|
| 183 | value of the parameter represented by *x* present in the *Fitting Perspective* |
---|
| 184 | will be ignored. |
---|
| 185 | |
---|
| 186 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 187 | |
---|
| 188 | Note about DLS polydispersity |
---|
| 189 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
| 190 | |
---|
| 191 | Many commercial Dynamic Light Scattering (DLS) instruments produce a size |
---|
| 192 | polydispersity parameter, sometimes even given the symbol *p*! This parameter is |
---|
| 193 | defined as the relative standard deviation coefficient of variation of the size |
---|
| 194 | distribution and is NOT the same as the polydispersity parameters in the Lognormal |
---|
| 195 | and Schulz distributions above (though they all related) except when the DLS |
---|
| 196 | polydispersity parameter is <0.13. |
---|
| 197 | |
---|
| 198 | For more information see: |
---|
| 199 | S King, C Washington & R Heenan, *Phys Chem Chem Phys*, (2005), 7, 143 |
---|
| 200 | |
---|
| 201 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 202 | |
---|
| 203 | .. note:: This help document was last changed by Steve King, 01May2015 |
---|