Changeset ff7119b in sasmodels for sasmodels/gpu.py
- Timestamp:
- Aug 26, 2014 10:27:06 PM (10 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:
- 5d4777d
- Parents:
- a7684e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/gpu.py
r1780d59 rff7119b 242 242 243 243 class GpuKernel(object): 244 """ 245 Callable SAS kernel. 246 247 *kernel* is the GpuKernel object to call. 248 249 *info* is the module information 250 251 *input* is the DllInput q vectors at which the kernel should be 252 evaluated. 253 254 The resulting call method takes the *pars*, a list of values for 255 the fixed parameters to the kernel, and *pd_pars*, a list of (value,weight) 256 vectors for the polydisperse parameters. *cutoff* determines the 257 integration limits: any points with combined weight less than *cutoff* 258 will not be calculated. 259 260 Call :meth:`release` when done with the kernel instance. 261 """ 244 262 def __init__(self, kernel, info, input): 245 263 self.input = input
Note: See TracChangeset
for help on using the changeset viewer.