Changeset 2586ab72 in sasmodels for explore/beta/sasfit_compare_new.py
- Timestamp:
- Oct 3, 2018 4:28:59 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- e44432d
- Parents:
- 9ae0d2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/beta/sasfit_compare_new.py
r5d40d0c r2586ab72 578 578 def load_sasfit(path): 579 579 data = np.loadtxt(path, dtype=str, delimiter=';').T 580 data = np.vstack(( map(float, v) for v in data[0:2]))580 data = np.vstack((list(map(float, v)) for v in data[0:2])) 581 581 return data 582 582
Note: See TracChangeset
for help on using the changeset viewer.