Changeset 65fbf7c in sasmodels for sasmodels/compare.py


Ignore:
Timestamp:
May 21, 2018 3:33:49 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
2b2d431
Parents:
87964ac
Message:

play with resolution defined by fixed dtheta,dlambda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    r1198f90 r65fbf7c  
    667667        if opts['zero']: 
    668668            q = np.hstack((0, q)) 
    669         data = empty_data1D(q, resolution=res) 
     669        # TODO: provide command line control of lambda and Delta lambda/lambda 
     670        #L, dLoL = 5, 0.14/np.sqrt(6)  # wavelength and 14% triangular FWHM 
     671        L, dLoL = 0, 0 
     672        data = empty_data1D(q, resolution=res, L=L, dL=L*dLoL) 
    670673        index = slice(None, None) 
    671674    return data, index 
     
    871874    # Plot if requested 
    872875    view = opts['view'] 
     876    #view = 'log' 
    873877    if limits is None: 
    874878        vmin, vmax = np.inf, -np.inf 
Note: See TracChangeset for help on using the changeset viewer.