Changeset 8809e48 in sasview for sansmodels/src/release_notes.txt
- Timestamp:
- Oct 15, 2008 1:01:06 PM (16 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 00353b4
- Parents:
- ae60f86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/release_notes.txt
rb88c6e0 r8809e48 9 9 - Release date: ? 10 10 - C extension models now use new C++ classes that incorporate dispersity and averaging 11 functionality. 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 12 27 13 28 Version 0.4.1
Note: See TracChangeset
for help on using the changeset viewer.