- Timestamp:
- Apr 12, 2017 10:50:29 AM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/jitter.py
r8678a34 rd4c33d6 191 191 def apply_jitter(jitter, points): 192 192 dtheta, dphi, dpsi = jitter 193 points = R z(dpsi)*Ry(dtheta)*Rx(dphi)*points193 points = Rx(dphi)*Ry(dtheta)*Rz(dpsi)*points 194 194 return points 195 195 … … 257 257 ax.cla() 258 258 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) 264 262 plt.gcf().canvas.draw() 265 263
Note: See TracChangeset
for help on using the changeset viewer.