Changeset 95ce773 in sasmodels for explore/J1c.py


Ignore:
Timestamp:
Mar 18, 2016 10:45:38 AM (8 years ago)
Author:
wojciech
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:
9f7a852
Parents:
a629d8e
Message:

Bessel functions clean-up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/J1c.py

    rcbd37a7 r95ce773  
    22Show numerical precision of $2 J_1(x)/x$. 
    33""" 
     4import sys; sys.path.insert(0, '..') 
    45 
    56import numpy as np 
    6 from sympy.mpmath import mp 
     7try: 
     8    from mpmath import mp 
     9except: 
     10    # CRUFT: mpmath split out into its own package 
     11    from sympy.mpmath import mp 
    712#import matplotlib; matplotlib.use('TkAgg') 
    813import pylab 
Note: See TracChangeset for help on using the changeset viewer.