Changeset 20fe0cd in sasmodels for explore/angles.py
- Timestamp:
- Oct 23, 2017 9:17:40 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 6e604f8
- Parents:
- 36b3154
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/angles.py
- Property mode changed from 100644 to 100755
rea60e08 r20fe0cd 229 229 230 230 if 0: 231 comment("==== asymmetric ( old) ====")231 comment("==== asymmetric (3.x) ====") 232 232 view_inv = Rz(-psi)*Rx(theta)*Ry(-(pi/2 - phi)) 233 233 vprint(q_abc, view_inv*q_xy, "reverse view") 234 print(""" existing code 235 cos_alpha = cos_theta*cos_phi*qxhat + sin_theta*qyhat; 236 cos_mu = (-sin_theta*cos_psi*cos_phi - sin_psi*sin_phi)*qxhat + cos_theta*cos_psi*qyhat; 237 cos_nu = (-cos_phi*sin_psi*sin_theta + sin_phi*cos_psi)*qxhat + sin_psi*cos_theta*qyhat; 238 """)
Note: See TracChangeset
for help on using the changeset viewer.