Changeset b135dc0 in sasmodels


Ignore:
Timestamp:
Mar 16, 2016 8:28:50 AM (9 years ago)
Author:
smk78
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:
5b2930f
Parents:
4a4ae41
Message:

Reset scaling to match SANDRA calculation - NB: this gives different
intensity to SasView?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/adsorbed_layer.py

    rcf95788 rb135dc0  
    5050              ["density_poly", "g/cm3", 0.7, [0.0, inf], "", "Polymer density"], 
    5151              ["radius", "Ang", 500.0, [0.0, inf], "", "Particle radius"], 
    52               ["vol_frac", "none", 0.14, [0.0, inf], "", "Particle vol fraction"], 
     52              ["vol_frac", "None", 0.14, [0.0, inf], "", "Particle vol fraction"], 
    5353              ["polymer_sld", "1/Ang^2", 1.5e-06, [-inf, inf], "", "Polymer SLD"], 
    5454              ["solvent_sld", "1/Ang^2", 6.3e-06, [-inf, inf], "", "Solvent SLD"]] 
     
    6464    #scale by 10^10 for units conversion to cm^-1 
    6565    inten =  1.0e+10 * deltarhosqrd * ((numerator / denominator) * eterm) 
    66     return inten * 9.4e-13 
     66    return inten 
    6767Iq.vectorized =  True  # Iq accepts an array of q values 
    6868 
Note: See TracChangeset for help on using the changeset viewer.