[ae3ce4e] | 1 | Release Notes |
---|
| 2 | ============= |
---|
| 3 | |
---|
[70ba305] | 4 | SANS Models version 0.4.3 |
---|
[ae3ce4e] | 5 | |
---|
| 6 | Package name: sans.models |
---|
| 7 | |
---|
[70ba305] | 8 | 1- What's New in Version 0.4.3 |
---|
| 9 | - Release date: April 21, 2009 |
---|
[b88c6e0] | 10 | - C extension models now use new C++ classes that incorporate dispersity and averaging |
---|
[8809e48] | 11 | functionality. See utest_dispersity.py for examples of how to use the new dispersion |
---|
| 12 | classes. |
---|
| 13 | |
---|
| 14 | # Create a model |
---|
| 15 | model= CylinderModel() |
---|
| 16 | |
---|
| 17 | # Create a dispersion model |
---|
| 18 | disp = GaussianDispersion() |
---|
| 19 | |
---|
| 20 | # Set the dispersion for a chosen parameter |
---|
| 21 | model.set_dispersion('radius', disp) |
---|
| 22 | |
---|
| 23 | # Set the parameters of the dispersion model |
---|
| 24 | model.dispersion['radius']['width'] = 5.0 |
---|
| 25 | model.dispersion['radius']['npts'] = 100 |
---|
| 26 | |
---|
[70ba305] | 27 | |
---|
| 28 | Version 0.4.3 |
---|
| 29 | -P(Q)*S(Q) added for P(Q)=cylinder, sphere, ellipsoid |
---|
| 30 | -Array dispersion (user defined) added |
---|
| 31 | |
---|
| 32 | Version 0.4.2 |
---|
| 33 | -4 Structure factors added |
---|
[b88c6e0] | 34 | |
---|
| 35 | Version 0.4.1 |
---|
[a55fac1] | 36 | - Release date: 6/9/2008 |
---|
| 37 | - Modified non-shape models so that the 2D output is the 1D output for the length of Q |
---|
| 38 | |
---|
| 39 | Version 0.4.0 |
---|
[3de85b8] | 40 | - Release date: 4/15/2008 |
---|
| 41 | - Added shape-independent models. |
---|
| 42 | |
---|
| 43 | Version 0.3.2: |
---|
[ae3ce4e] | 44 | - Release date: 2/14/2008 |
---|
| 45 | - Added models to be used in magnetic analysis. |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | 2- Downloading and Installing |
---|
| 49 | |
---|
| 50 | 2.1- System Requirements: |
---|
| 51 | - Python version >= 2.4 should be running on the system |
---|
| 52 | |
---|
| 53 | 2.2- Installing: |
---|
[70ba305] | 54 | - Get the code from svn://danse.us/sans/releases/sansmodels-0.4.3 |
---|
[ae3ce4e] | 55 | - Execute the following: |
---|
| 56 | python setup.py install |
---|
| 57 | |
---|
| 58 | 3- Known Issues |
---|
| 59 | |
---|
| 60 | 3.1- All systems: |
---|
| 61 | - Q range validity of I(q) calculations. |
---|
| 62 | Our 1D models of I(q) use the function of the NCNR library |
---|
| 63 | for their IGOR package (Klein, 2006). That library uses a |
---|
[70ba305] | 64 | fast integration technique in some of its models (cylinders |
---|
[ae3ce4e] | 65 | and ellipsoids). Integration is done using 76 points in the |
---|
| 66 | angle between the axis of the object and the q-vector, which |
---|
| 67 | translates in a larger inaccuracy at high q. Integratiing |
---|
| 68 | the 2D model I(q,phi) over all orientations of the object |
---|
| 69 | will not yield the exact same result as the NCNR calculation |
---|
| 70 | for q > 0.3 A-1. |
---|
[b88c6e0] | 71 | - Refactoring needs to be done to update the model base class. |
---|
| 72 | We should get rid of the useless arithmetics and store the parameters |
---|
| 73 | as class objects rather than values. This would eliminate the multitude |
---|
| 74 | of dictionaries needed to store all the various aspects of a parameter |
---|
| 75 | (limits, units, dispersity information). The C++ design it relies |
---|
| 76 | on is much cleaner in that respect, but it still depends on the old |
---|
| 77 | C computation. Those should be incorporated in the C++ classes. |
---|
[ae3ce4e] | 78 | |
---|
| 79 | 3.2- Windows: |
---|
| 80 | - None |
---|
| 81 | |
---|
| 82 | 3.3- Linux: |
---|
| 83 | - None |
---|
| 84 | |
---|
| 85 | 4- Troubleshooting |
---|
| 86 | |
---|
| 87 | - None |
---|
| 88 | |
---|
| 89 | 5- Frequently Asked Questions |
---|
| 90 | |
---|
| 91 | - None |
---|
| 92 | |
---|
| 93 | 6- Other Resources |
---|
| 94 | |
---|
| 95 | - See: http://danse.us/trac/sans/wiki/8_2_2_1DModelFitting |
---|
| 96 | - See: http://danse.us/trac/sans/wiki/8_2_3_2DModeling |
---|
| 97 | - See: http://danse.us/trac/sans/wiki/8_2_6_model_extensions |
---|
[3de85b8] | 98 | - See: http://danse.us/trac/sans/wiki/8_2_1Nonshape_models |
---|
[ae3ce4e] | 99 | |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | |
---|