Changeset 4e00c13 in sasmodels
- Timestamp:
- May 10, 2016 9:31:03 AM (9 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:
- da7af35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
re78edc4 r4e00c13 53 53 Add a beam stop of the given *radius*. If *outer*, make an annulus. 54 54 """ 55 from sas. dataloader.manipulations import Ringcut55 from sas.sascalc.dataloader.manipulations import Ringcut 56 56 if hasattr(data, 'qx_data'): 57 57 data.mask = Ringcut(0, radius)(data) … … 68 68 Select half of the data, either "right" or "left". 69 69 """ 70 from sas. dataloader.manipulations import Boxcut70 from sas.sascalc.dataloader.manipulations import Boxcut 71 71 if half == 'right': 72 72 data.mask += \ … … 81 81 Chop the top off the data, above *cutoff*. 82 82 """ 83 from sas. dataloader.manipulations import Boxcut83 from sas.sascalc.dataloader.manipulations import Boxcut 84 84 data.mask += \ 85 85 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.