Changeset 992199e in sasview for Invariant/invariant.py


Ignore:
Timestamp:
Jan 12, 2011 12:38:35 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a01c743
Parents:
b7c7a1c
Message:

modify invariant wrapper bring the pylint score 10/10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Invariant/invariant.py

    rcbaa2f4 r992199e  
    626626        # Systematic error 
    627627        # If we have smearing, the shape of the I(q) distribution at low Q will 
    628         # may not be a Guinier or simple power law. The following is a conservative 
    629         # estimation for the systematic error. 
     628        # may not be a Guinier or simple power law. The following is  
     629        # a conservative estimation for the systematic error. 
    630630        err = qmin*qmin*math.fabs((qmin-self._low_q_limit)*\ 
    631631                                  (data.y[0] - data.y[INTEGRATION_NSTEPS-1])) 
Note: See TracChangeset for help on using the changeset viewer.