Changeset a154ad16 in sasmodels


Ignore:
Timestamp:
Mar 20, 2016 10:54:05 AM (9 years ago)
Author:
awashington
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, c94577f, 2c1bbcdd
Parents:
3415f4f
Message:

Fix one of the unit issues with make_q

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sesans.py

    rd459d4e ra154ad16  
    2626    q_max is determined by the acceptance angle of the SESANS instrument. 
    2727    """ 
     28    from sas.sascalc.data_util.nxsunit import Converter 
     29 
    2830    q_min = dq = 0.1 * 2*pi / Rmax 
    29     return np.arange(q_min, q_max, dq) 
     31    return np.arange(q_min, Converter("1/A")(q_max[0], units=q_max[1]), dq) 
    3032     
    3133def make_all_q(data): 
Note: See TracChangeset for help on using the changeset viewer.