Changeset a06430c in sasmodels
- Timestamp:
- Mar 18, 2016 6:17:08 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:
- 59ce4cb
- Parents:
- 76d78c2
- 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.