Changeset 05e4f8a in sasmodels for explore


Ignore:
Timestamp:
Nov 1, 2017 10:30:44 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

guyou code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/guyou.py

    rbc386f0 r05e4f8a  
    280280  } while (--i); 
    281281 
     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) 
    282284  return [sin(phi), t = cos(phi), t / cos(phi - b), phi]; 
    283285} 
Note: See TracChangeset for help on using the changeset viewer.