Changeset d4c33d6 in sasmodels for explore


Ignore:
Timestamp:
Apr 12, 2017 10:50:29 AM (8 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:
597878a
Parents:
535fee6
Message:

send cos-weighted theta values to kernel rather than computing them inside

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/jitter.py

    r8678a34 rd4c33d6  
    191191def apply_jitter(jitter, points): 
    192192    dtheta, dphi, dpsi = jitter 
    193     points = Rz(dpsi)*Ry(dtheta)*Rx(dphi)*points 
     193    points = Rx(dphi)*Ry(dtheta)*Rz(dpsi)*points 
    194194    return points 
    195195 
     
    257257        ax.cla() 
    258258        draw_beam(ax, (0, 0)) 
    259         if 0: 
    260             draw_jitter(ax, view, jitter) 
    261         else: 
    262             draw_jitter(ax, view, (0,0,0)) 
    263             draw_mesh(ax, view, jitter) 
     259        draw_jitter(ax, view, jitter) 
     260        #draw_jitter(ax, view, (0,0,0)) 
     261        draw_mesh(ax, view, jitter) 
    264262        plt.gcf().canvas.draw() 
    265263 
Note: See TracChangeset for help on using the changeset viewer.