Changeset aceac39 in sasmodels for explore


Ignore:
Timestamp:
Mar 18, 2016 9:05:42 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
934f906, 08376e7
Parents:
68b8734
Message:

mpmath moved out of sympy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/J1.py

    ra5af4e1 raceac39  
    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 
    7 from 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 
    812#import matplotlib; matplotlib.use('TkAgg') 
    913import pylab 
Note: See TracChangeset for help on using the changeset viewer.