Changes in / [f903f0a:59ce4cb] in sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
example/sesansfit.py
r5bb9c79 ra06430c 1 1 from bumps.names import * 2 from sas import core, bumps_model, sesans2 from sasmodels import core, bumps_model, sesans 3 3 4 4 HAS_CONVERTER = True … … 30 30 data = loader.load(file) 31 31 if data is None: raise IOError("Could not load file %r"%(file)) 32 data.needs_all_q = acceptance_angle is not None 32 33 if HAS_CONVERTER == True: 33 34 default_unit = "A" -
sasmodels/sesans.py
r251b40b ra06430c 23 23 return np.arange(q_min, q_max, dq) 24 24 25 def make_all q(data):25 def make_all_q(data): 26 26 if not data.needs_all_q: 27 27 return []
Note: See TracChangeset
for help on using the changeset viewer.