Changeset 3023268 in sasmodels


Ignore:
Timestamp:
Oct 11, 2016 9:42:46 AM (8 years ago)
Author:
jhbakker
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c1904f6
Parents:
eb8a82e
Message:

This version will be merged with master. Added 2 data files for testing.

Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sesans.py

    reb8a82e r3023268  
    201201    #wavelength = Converter(wavelength[1])(wavelength[0],"A") 
    202202    #thickness = Converter(thickness[1])(thickness[0],"A") 
    203     Iq = Converter("1/cm")(Iq,"1/A") # All models default to inverse centimeters 
     203    #Iq = Converter("1/cm")(Iq,"1/A") # All models default to inverse centimeters 
    204204    SElength = Converter(SElength[1])(SElength[0],"A") 
    205205 
    206206    G = np.zeros_like(SElength, 'd') 
    207 #============================================================================== 
    208 #     Hankel Transform method if "wavelength" is a scalar; mono-chromatic SESANS 
    209 #============================================================================== 
    210207    for i, SElength_i in enumerate(SElength): 
    211208        integral = besselj(0, q*SElength_i)*Iq*q 
     
    222219    #P = exp(thickness*wavelength**2/(4*pi**2)*(G-G0)) 
    223220    P = (G-G0)/(4*pi**2) 
     221    #P=G-G0 
    224222 
    225223    return P 
Note: See TracChangeset for help on using the changeset viewer.