Changeset c072f83 in sasmodels for sasmodels/generate.py
- Timestamp:
- Mar 21, 2016 12:28:32 PM (8 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:
- 0a7e5eb4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
ra6f9577 rc072f83 669 669 c = p + 3*npars 670 670 671 details = np.zeros(c + 3, 'int32')671 details = np.zeros(c + 2, 'int32') 672 672 details[0*max_pd:1*max_pd] = range(max_pd) # pd_par: arbitrary order; use first 673 673 details[1*max_pd:2*max_pd] = [1]*max_pd # pd_length: only one element … … 702 702 theta_par = -1 703 703 704 details = np.empty(constants_offset + 3, 'int32')704 details = np.empty(constants_offset + 2, 'int32') 705 705 details[0*max_pd:1*max_pd] = idx # pd_par 706 706 details[1*max_pd:2*max_pd] = pd_length[idx]
Note: See TracChangeset
for help on using the changeset viewer.