Changeset ca55aa0 in sasmodels


Ignore:
Timestamp:
Oct 4, 2016 3:37:16 PM (5 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
e6378f9
Parents:
340428e
Message:

changed range for bckground to be -inf to +inf, not zero to +inf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/modelinfo.py

    r340428e rca55aa0  
    4343COMMON_PARAMETERS = [ 
    4444    ("scale", "", 1, (0.0, np.inf), "", "Source intensity"), 
    45     ("background", "1/cm", 1e-3, (0.0, np.inf), "", "Source background"), 
     45    ("background", "1/cm", 1e-3, (-np.inf, np.inf), "", "Source background"), 
    4646] 
    4747assert (len(COMMON_PARAMETERS) == 2 
Note: See TracChangeset for help on using the changeset viewer.