Changeset a06430c in sasmodels


Ignore:
Timestamp:
Mar 18, 2016 6:17:08 AM (9 years ago)
Author:
krzywon
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:
59ce4cb
Parents:
76d78c2
Message:

More small fixes to the SESANS scripting. Still not 100%.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • example/sesansfit.py

    r5bb9c79 ra06430c  
    11from bumps.names import * 
    2 from sas import core, bumps_model, sesans 
     2from sasmodels import core, bumps_model, sesans 
    33 
    44HAS_CONVERTER = True 
     
    3030        data = loader.load(file) 
    3131        if data is None: raise IOError("Could not load file %r"%(file)) 
     32        data.needs_all_q = acceptance_angle is not None 
    3233        if HAS_CONVERTER == True: 
    3334            default_unit = "A" 
  • sasmodels/sesans.py

    r251b40b ra06430c  
    2323    return np.arange(q_min, q_max, dq) 
    2424     
    25 def make_allq(data): 
     25def make_all_q(data): 
    2626    if not data.needs_all_q: 
    2727        return [] 
Note: See TracChangeset for help on using the changeset viewer.