Changeset 2a2b43a in sasview
- Timestamp:
- Feb 2, 2017 6:17:46 AM (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:
- ad4632c
- Parents:
- 18501795
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/qsmearing.py
ra9f579c r2a2b43a 68 68 #Pre-compute the Hankel matrix (H) 69 69 qmax, qunits = data.sample.zacceptance 70 hankel = sesans.SesansTransform() 71 sesans.SesansTransform.set_transform(hankel, 72 SE = Converter(data._xunit)(data.x, "A"), 73 zaccept = Converter(qunits)(qmax, "1/A"), 74 Rmax = 10000000) 70 hankel = sesans.SesansTransform(SE=Converter(data._xunit)(data.x, "A"), 71 zaccept=Converter(qunits)(qmax, "1/A"), 72 Rmax=10000000) 75 73 # Then return the actual transform, as if it were a smearing function 76 return PySmear(SESANS1D(data, hankel. _H0, hankel._H, hankel.q), model)74 return PySmear(SESANS1D(data, hankel.H0, hankel.H, hankel.q), model) 77 75 78 76 _found_resolution = False … … 122 120 123 121 if hasattr(self.resolution, 'data'): 124 if self.resolution.data.meta_data['loader'] == 'SESANS': # Always True if file extension is '.ses'! 122 #if self.resolution.data.meta_data['loader'] == 'SESANS': # Always True if file extension is '.ses'! 123 if self.resolution.data.isSesans: 125 124 self.offset = 0 126 125 # This is default behaviour, for future resolution/transform functions this needs to be revisited.
Note: See TracChangeset
for help on using the changeset viewer.