Changeset 0db85af in sasmodels for explore/jitter.py
- Timestamp:
- Oct 28, 2017 9:33:21 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- dd4d95d
- Parents:
- 3d40839
- git-author:
- Paul Kienzle <pkienzle@…> (10/28/17 21:33:05)
- git-committer:
- Paul Kienzle <pkienzle@…> (10/28/17 21:33:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/jitter.py
rb9578fc r0db85af 496 496 # the maximum width to 90. 497 497 dlimit = 30 if dist == 'gaussian' else 90/sqrt(3) 498 sdtheta = Slider(axdtheta, 'dTheta', 0, dlimit, valinit=dtheta)498 sdtheta = Slider(axdtheta, 'dTheta', 0, 2*dlimit, valinit=dtheta) 499 499 sdphi = Slider(axdphi, 'dPhi', 0, 2*dlimit, valinit=dphi) 500 500 sdpsi = Slider(axdpsi, 'dPsi', 0, 2*dlimit, valinit=dpsi) … … 512 512 draw_jitter(ax, view, jitter, dist=dist, size=size) 513 513 #draw_jitter(ax, view, (0,0,0)) 514 draw_mesh(ax, view, jitter, dist=dist )514 draw_mesh(ax, view, jitter, dist=dist, n=30) 515 515 draw_scattering(calculator, ax, view, jitter, dist=dist) 516 516 plt.gcf().canvas.draw()
Note: See TracChangeset
for help on using the changeset viewer.