Changeset a503bfd in sasmodels for sasmodels/generate.py
- Timestamp:
- Feb 16, 2015 7:41:55 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:
- a1542aae, 373d1b6
- Parents:
- d547f16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
rb3f6bc3 ra503bfd 128 128 respectively. These can also be defined in the last source file. 129 129 130 *Iq* and *Iqxy* also be instead be python functions defining the 131 kernel. If they are marked as *Iq.vectorized = True* then the 132 kernel is passed the entire *q* vector at once, otherwise it is 133 passed values one *q* at a time. The performance improvement of 134 this step is significant. 135 130 136 An *info* dictionary is constructed from the kernel meta data and 131 returned to the caller. It includes the additional fields 132 137 returned to the caller. 138 139 Additional fields can be defined in the kernel definition file that 140 are not needed for sas modelling. 141 142 *demo* is a dictionary of parameter=value defining a set of 143 parameters to use by default when *compare* is called. 144 145 *oldname* is the name of the model in sasview before sasmodels 146 was split into its own package, and *oldpars* is a dictionary 147 of *parameter: old_parameter* pairs defining the new names for 148 the parameters. This is used by *compare* to check the values 149 of the new model against the values of the old model before 150 you are ready to add the new model to sasmodels. 133 151 134 152 The model evaluator, function call sequence consists of q inputs and the return vector,
Note: See TracChangeset
for help on using the changeset viewer.