Changeset 581661f in sasmodels
- Timestamp:
- Jul 27, 2018 6:51:20 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:
- 12eec1e, 9e7837a, 1711569
- Parents:
- 8b34a79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
r1a8c11c r581661f 504 504 # and the data mask will be added to it. 505 505 #mtheory = masked_array(theory, data.mask.copy()) 506 theory_x = data.x[ ~data.mask]506 theory_x = data.x[data.mask == 0] 507 507 mtheory = masked_array(theory) 508 508 mtheory[~np.isfinite(mtheory)] = masked … … 545 545 546 546 if use_resid: 547 theory_x = data.x[ ~data.mask]547 theory_x = data.x[data.mask == 0] 548 548 mresid = masked_array(resid) 549 549 mresid[~np.isfinite(mresid)] = masked
Note: See TracChangeset
for help on using the changeset viewer.