Changeset 98f60fc in sasmodels
- Timestamp:
- Mar 30, 2016 4:30:35 PM (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:
- b7172bb
- Parents:
- 364d8f7
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
re79f0a5 r98f60fc 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 ] 8 4 9 5 10 from os.path import basename, dirname, join as joinpath, splitext … … 24 29 HAVE_OPENCL = False 25 30 26 __all__ = [ 27 "list_models", "load_model_info", "precompile_dll", 28 "build_model", "make_kernel", "call_kernel", "call_ER_VR", 29 ] 31 try: 32 np.meshgrid([]) 33 meshgrid = np.meshgrid 34 except ValueError: 35 # CRUFT: np.meshgrid requires multiple vectors 36 def meshgrid(*args): 37 if len(args) > 1: 38 return np.meshgrid(*args) 39 else: 40 return [np.asarray(v) for v in args] 41 30 42 31 43 def list_models(): -
sasmodels/models/raspberry.py
r2c1bbcdd r98f60fc 129 129 Ref: J. coll. inter. sci. (2010) vol. 343 (1) pp. 36-41.""" 130 130 category = "shape:sphere" 131 #single = False 131 132 132 133 # [ "name", "units", default, [lower, upper], "type", "description"],
Note: See TracChangeset
for help on using the changeset viewer.