Changeset e66075f in sasmodels


Ignore:
Timestamp:
Feb 18, 2016 5:09:07 AM (9 years ago)
Author:
wojciech
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:
7e1d090
Parents:
2556095
Message:

Final touches for line model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/line.py

    r2556095 re66075f  
    5252    """ 
    5353    inten = intercept + slope*q 
    54     # TODO: In SasView code additional formula for list has been specifded. 
     54    # TODO: In SasView code additional formula for list has been specified. 
    5555    # if inten(x) = intercept + slope*x: 
    5656    # then if q is a list, Iq=inten(x[0]*math.cos(x[1]))*inten(x[0]*math.sin(x[1])) 
     
    6666    :return:     2D-Intensity 
    6767    """ 
    68     # TODO: SasView documention lists 2D intensity as Iq(qx)*Iq(qy) but in code is: 
     68    # TODO: SasView documention lists 2D intensity as Iq(qx)*Iq(qy) but code says: 
    6969    # return self._line(x[1]) 
    7070    return Iq(qx, *args)*Iq(qy, *args) 
Note: See TracChangeset for help on using the changeset viewer.