Changeset e1ace4d in sasmodels
- Timestamp:
- Nov 25, 2015 9:25:28 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:
- 3a45c2c
- Parents:
- 7f7f99f
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r5edfe12 re1ace4d 254 254 255 255 # modelling accuracy is determined by dtype and cutoff 256 dtype = ('longdouble' if '- longdouble' in opts256 dtype = ('longdouble' if '-quad' in opts 257 257 else 'double' if '-double' in opts 258 258 else 'single') … … 379 379 380 380 -plot*/-noplot plots or suppress the plot of the model 381 -single*/-double/- longdouble uses doubleprecision for comparison381 -single*/-double/-quad use single/double/quad precision for comparison 382 382 -lowq*/-midq/-highq/-exq use q values up to 0.05, 0.2, 1.0, 10.0 383 383 -Nq=128 sets the number of Q points in the data set -
sasmodels/generate.py
r5edfe12 re1ace4d 206 206 C_KERNEL_TEMPLATE_PATH = joinpath(dirname(__file__), 'kernel_template.c') 207 207 208 F 128 = np.dtype('float128')208 F32 = np.dtype('float32') 209 209 F64 = np.dtype('float64') 210 F32 = np.dtype('float32') 210 try: # CRUFT: older numpy does not support float128 211 F128 = np.dtype('float128') 212 except TypeError: 213 F128 = None 214 211 215 212 216 # Scale and background, which are parameters common to every form factor
Note: See TracChangeset
for help on using the changeset viewer.