Ignore:
Timestamp:
Mar 20, 2016 10:43:12 AM (8 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
db74c47
Parents:
4416868
Message:

added ER to core_shell_ellipsoid, core_shell_ellipsoid_xt and fixed bug in flexible_cylinder_elliptical doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_ellipsoid.py

    r29172aa r65bf704  
    117117source = ["lib/sph_j1c.c", "lib/gfn.c", "lib/gauss76.c", "core_shell_ellipsoid.c"] 
    118118 
     119def ER(equat_shell, polar_shell): 
     120    """ 
     121        Returns the effective radius used in the S*P calculation 
     122    """ 
     123    import numpy as np 
     124    from .ellipsoid import ER as ellipsoid_ER 
     125    return ellipsoid_ER(rpolar, equat_shell) 
     126 
     127 
    119128demo = dict(scale=1, background=0.001, 
    120129            equat_core=200.0, 
Note: See TracChangeset for help on using the changeset viewer.