Changeset a5f91a7 in sasmodels


Ignore:
Timestamp:
Oct 24, 2017 2:04:49 PM (7 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:
a7db3c05
Parents:
1820208
Message:

add psi integration to check1d

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • explore/check1d.py

    re3571cb ra5f91a7  
    1919from sasmodels import compare, data 
    2020 
    21 def main(angle=0, steps=150): 
     21def main(angle=0, steps=76): 
    2222    # Parse the options using the parser in sasmodels.compare.  -angle 
    2323    # is an additional parameter that is parsed separately., with -sphere=n and -angle=a as additional arguments 
  • sasmodels/compare.py

    r34823bc ra5f91a7  
    13311331    ]) 
    13321332    if 'psi' in opts['info'][0].parameters: 
    1333         #opts['values'].append('psi=0') 
     1333        opts['values'].extend([ 
     1334            #'psi=0', 
     1335            'psi_pd=%g'%(180/np.sqrt(3)), 
     1336            'psi_pd_n=%d'%(2*steps), 
     1337            'psi_pd_type=rectangle', 
     1338        ]) 
    13341339        pass 
    13351340 
Note: See TracChangeset for help on using the changeset viewer.