Changeset 848193e in sasmodels


Ignore:
Timestamp:
May 10, 2016 12:42:16 PM (9 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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:
a5da1f2
Parents:
da7af35 (diff), 4e00c13 (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.
Message:

Merge pull request #4 from SasView?/dataloader_fix

Update sas.dataloader to sas.sascalc.dataloader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/data.py

    re78edc4 r4e00c13  
    5353    Add a beam stop of the given *radius*.  If *outer*, make an annulus. 
    5454    """ 
    55     from sas.dataloader.manipulations import Ringcut 
     55    from sas.sascalc.dataloader.manipulations import Ringcut 
    5656    if hasattr(data, 'qx_data'): 
    5757        data.mask = Ringcut(0, radius)(data) 
     
    6868    Select half of the data, either "right" or "left". 
    6969    """ 
    70     from sas.dataloader.manipulations import Boxcut 
     70    from sas.sascalc.dataloader.manipulations import Boxcut 
    7171    if half == 'right': 
    7272        data.mask += \ 
     
    8181    Chop the top off the data, above *cutoff*. 
    8282    """ 
    83     from sas.dataloader.manipulations import Boxcut 
     83    from sas.sascalc.dataloader.manipulations import Boxcut 
    8484    data.mask += \ 
    8585        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.