Changeset de71632 in sasmodels for explore/jitter.py
- Timestamp:
- Nov 1, 2017 2:49:23 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:
- 3a1fc7d, 129bdc4
- Parents:
- ebd2ba6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/jitter.py
r0f65169 rde71632 243 243 return Rx(phi_j)*Ry(theta_i) 244 244 def weight(theta_i, phi_j, wi, wj): 245 return wi*wj* cos(radians(theta_i))245 return wi*wj*abs(cos(radians(theta_i))) 246 246 elif projection == 'azimuthal_equidistance': 247 247 def rotate(theta_i, phi_j): … … 621 621 ## create the plot window 622 622 #plt.hold(True) 623 plt.subplots(num=None, figsize=(5.5, 5.5)) 623 624 plt.set_cmap('gist_earth') 624 625 plt.clf() 626 plt.gcf().canvas.set_window_title(projection) 625 627 #gs = gridspec.GridSpec(2,1,height_ratios=[4,1]) 626 628 #ax = plt.subplot(gs[0], projection='3d')
Note: See TracChangeset
for help on using the changeset viewer.