Changeset b297ba9 in sasmodels for sasmodels/data.py
- Timestamp:
- Mar 20, 2019 7:03:50 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4e28511
- Parents:
- 0d362b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
rc88f983 rb297ba9 500 500 mdata = masked_array(data.y, data.mask.copy()) 501 501 mdata[~np.isfinite(mdata)] = masked 502 if view is'log':502 if view == 'log': 503 503 mdata[mdata <= 0] = masked 504 504 plt.errorbar(data.x, scale*mdata, yerr=data.dy, fmt='.') … … 514 514 mtheory = masked_array(theory) 515 515 mtheory[~np.isfinite(mtheory)] = masked 516 if view is'log':516 if view == 'log': 517 517 mtheory[mtheory <= 0] = masked 518 518 plt.plot(theory_x, scale*mtheory, '-')
Note: See TracChangeset
for help on using the changeset viewer.