Changeset e962d85 in sasview for src/sas/sascalc/data_util


Ignore:
Timestamp:
Apr 9, 2017 5:38:26 AM (8 years ago)
Author:
Adam Washington <adam.washington@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
5d1e040
Parents:
f6c2555
Message:

Pass flake8 and pylint for changes in qsmearing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/data_util/qsmearing.py

    rd01b55c re962d85  
    6565            raise ValueError('one or more of your dx values are negative, please check the data file!') 
    6666 
    67     if _found_sesans == True: 
    68         #Pre-compute the Hankel matrix (H) 
     67    if _found_sesans: 
     68        # Pre-compute the Hankel matrix (H) 
    6969        SElength = Converter(data._xunit)(data.x, "A") 
    7070 
     
    7474 
    7575        Rmax = 10000000 
    76         hankel = SesansTransform(data.x, SElength, data.source.wavelength, zaccept, Rmax) 
     76        hankel = SesansTransform(data.x, SElength, 
     77                                 data.source.wavelength, 
     78                                 zaccept, Rmax) 
    7779        # Then return the actual transform, as if it were a smearing function 
    7880        return PySmear(hankel, model, offset=0) 
Note: See TracChangeset for help on using the changeset viewer.