Changes in / [f903f0a:59ce4cb] in sasmodels


Ignore:
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.