Changeset 16bb433 in sasmodels


Ignore:
Timestamp:
Feb 17, 2016 1:53:40 PM (8 years ago)
Author:
Doucet, Mathieu <doucetm@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a45c2c
Parents:
19b6d28
Message:

Fix pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/porod.py

    r19b6d28 r16bb433  
    1010to the data directly without any need for linearisation (cf. Log I(q) vs Log q). 
    1111 
    12 Here $C$ is the scale factor and $S_v$ is the specific surface area (ie, surface area / volume)  
     12Here $C$ is the scale factor and $S_v$ is the specific surface area (ie, surface area / volume) 
    1313of the sample, and $\Delta\rho$ is the contrast factor. 
    1414 
    15 For 2D data: The 2D scattering intensity is calculated in the same way as 1D, where the q vector is defined as 
     15For 2D data: The 2D scattering intensity is calculated in the same way as 1D,  
     16where the q vector is defined as 
    1617 
    1718.. math:: 
     
    3637    @param q: Input q-value 
    3738    """ 
    38     return 1.0/power(q,4) 
     39    return 1.0/power(q, 4) 
    3940 
    4041Iq.vectorized = True  # Iq accepts an array of q values 
Note: See TracChangeset for help on using the changeset viewer.