Changeset 87b9447 in sasview for src/sas/sascalc/data_util
- Timestamp:
- Oct 5, 2016 7:21:51 PM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 24f6f4a
- Parents:
- 44c0746
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/qsmearing.py
r44c0746 r87b9447 48 48 return None 49 49 50 # Look for sesans 51 _found_sesans = False 52 if hasattr(data,'lam') : 53 _found_sesans = True 54 logging.info("Found SESANS data!!") 55 56 # If we found sesans data, do the necessary jiggery pokery 57 if _found_sesans == True: 58 return sesans_smear(data, model) 59 50 60 # Look for resolution smearing data 51 61 _found_resolution = False … … 83 93 if _found_slit == True: 84 94 return slit_smear(data, model) 85 86 # Look for sesans87 _found_sesans = False88 if data.hasattr(lam):89 _found_sesans = True90 logging.info("Found SESANS data!!")91 92 # If we found sesans data, do the necessary jiggery pokery93 if _found_sesans == True:94 return sesans_smear(data, model)95 95 96 96 return None
Note: See TracChangeset
for help on using the changeset viewer.