- Timestamp:
- Jul 19, 2018 11:12:48 AM (6 years ago)
- Branches:
- master
- Children:
- d0fdba2
- Parents:
- 7609046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/guide/pd/polydispersity.rst
r7609046 rf41027b 405 405 the volume fraction to lie between zero and one. 406 406 407 To activate a user-defined distribution, set the following environment variable: 408 409 SASMODELS_WEIGHTS=path/to/folder/name_of_distribution.py 407 To activate a user-defined distribution, put it in a file such as *distname.py* 408 in the *SAS_WEIGHTS_PATH* folder. This is defined with an environment 409 variable, defaulting to:: 410 411 SAS_WEIGHTS_PATH=~/.sasview/weights 412 413 The weights path is loaded on startup. To update the distribution definition 414 in a running application you will need to enter the following python commands:: 415 416 import sasmodels.weights 417 sasmodels.weights.load_weights('path/to/distname.py') 410 418 411 419 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Note: See TracChangeset
for help on using the changeset viewer.