Changeset aa9e4e3 in sasmodels
- Timestamp:
- May 18, 2016 10:49:52 AM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- a7a5ff3, 88b92e1
- Parents:
- 821a9c6
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
rda7af35 raa9e4e3 2 2 Core model handling routines. 3 3 """ 4 __all__ = [5 "list_models", "load_model_info", "precompile_dll",6 "build_model", "make_kernel", "call_kernel", "call_ER_VR",7 ]4 #__all__ = [ 5 # "list_models", "load_model_info", "precompile_dll", 6 # "build_model", "make_kernel", "call_kernel", "call_ER_VR", 7 # ] 8 8 9 9 import os … … 59 59 files = sorted(glob(joinpath(root, 'models', "[a-zA-Z]*.py"))) 60 60 if not files and os.name=='nt': 61 62 61 # Look inside library.zip on windows, 62 # being careful as the library stores only .pyc. 63 63 import zipfile 64 64 location = root[:root.find('.zip')+4] 65 65 zf = zipfile.ZipFile(location,'r') 66 66 for filepath in zf.namelist(): 67 67 # directory structure in library.zip uses "/" 68 68 models_loc = "sasmodels/models" 69 69 if models_loc in filepath: 70 70 base = basename(filepath)[:-4] 71 71 # Careful with non-models. 72 72 if base[0] != "_": 73 73 available_models.append(base) -
sasmodels/models/squarewell.py
rec45c4f raa9e4e3 14 14 The interaction potential is: 15 15 16 .. image:: img \squarewell.png16 .. image:: img/squarewell.png 17 17 18 18 .. math::
Note: See TracChangeset
for help on using the changeset viewer.