Changeset 3fd3c3a3 in sasview for src/sas/sascalc/data_util/qsmearing.py
- Timestamp:
- Apr 8, 2017 9:10:28 AM (8 years ago)
- Branches:
- costrafo411
- Children:
- ba91f71
- Parents:
- 7cbbacd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/qsmearing.py
r775e0b7 r3fd3c3a3 72 72 zaccept = Converter(qunits)(qmax, "1/A"), 73 73 Rmax = 10000000 74 hankel = SesansTransform(data.x, SElength, zaccept, Rmax) 74 # data must have the isoriented flag here! 75 coshankel = SesansTransform(data.x, SElength, zaccept, Rmax) 75 76 # Then return the actual transform, as if it were a smearing function 76 return PySmear(hankel, model, offset=0) 77 if data.isoriented: 78 return PySmear2D(coshankel) 79 else: 80 return PySmear(coshankel, model, offset=0) 77 81 78 82 _found_resolution = False
Note: See TracChangeset
for help on using the changeset viewer.