Changeset f247314 in sasmodels for sasmodels/models/cylinder.py


Ignore:
Timestamp:
Apr 4, 2016 5:23:23 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
ec45c4f
Parents:
204fd9b
Message:

use sasmodels/convert.json for converting new models to old

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/cylinder.py

    r6ef4293 rf247314  
    138138            phi_pd=10, phi_pd_n=5) 
    139139 
    140 # For testing against the old sasview models, include the converted parameter 
    141 # names and the target sasview model name. 
    142 oldname = 'CylinderModel' 
    143 oldpars = dict(theta='cyl_theta', phi='cyl_phi', sld='sldCyl', sld_solvent='sldSolv') 
    144  
    145  
    146140qx, qy = 0.2 * np.cos(2.5), 0.2 * np.sin(2.5) 
    147141tests = [[{}, 0.2, 0.042761386790780453], 
Note: See TracChangeset for help on using the changeset viewer.