Changeset 05e4f8a in sasmodels for explore/guyou.py
- Timestamp:
- Nov 1, 2017 12:30:44 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:
- ebd2ba6
- Parents:
- bc386f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/guyou.py
rbc386f0 r05e4f8a 280 280 } while (--i); 281 281 282 // Note: cephes uses dn = sqrt(1 - m*sin^2 phi) rather than cos(phi)/cos(phi-b) 283 // This agrees with matlab docs: dn = sqrt(1 - m sin^2 phi) 282 284 return [sin(phi), t = cos(phi), t / cos(phi - b), phi]; 283 285 }
Note: See TracChangeset
for help on using the changeset viewer.