Changeset 56b2687 in sasmodels for sasmodels/data.py
- Timestamp:
- Jul 14, 2016 1:35:58 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:
- 98ba1fc
- Parents:
- 61f8638 (diff), fa800e72 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
rb151003 r56b2687 62 62 Add a beam stop of the given *radius*. If *outer*, make an annulus. 63 63 """ 64 from sas. dataloader.manipulations import Ringcut # type: ignore64 from sas.sascalc.dataloader.manipulations import Ringcut 65 65 if hasattr(data, 'qx_data'): 66 66 data.mask = Ringcut(0, radius)(data) … … 78 78 Select half of the data, either "right" or "left". 79 79 """ 80 from sas. dataloader.manipulations import Boxcut # type: ignore80 from sas.sascalc.dataloader.manipulations import Boxcut 81 81 if half == 'right': 82 82 data.mask += \ … … 92 92 Chop the top off the data, above *cutoff*. 93 93 """ 94 from sas. dataloader.manipulations import Boxcut # type: ignore94 from sas.sascalc.dataloader.manipulations import Boxcut 95 95 data.mask += \ 96 96 Boxcut(x_min=-np.inf, x_max=np.inf, y_min=-np.inf, y_max=cutoff)(data)
Note: See TracChangeset
for help on using the changeset viewer.