Changeset 95ce773 in sasmodels for explore


Ignore:
Timestamp:
Mar 18, 2016 12:45:38 PM (9 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

Location:
explore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • explore/J1.py

    raceac39 r95ce773  
    5050    model = core.load_model('bessel', dtype=dtype) 
    5151    calculator = direct_model.DirectModel(data.empty_data1D(x), model) 
    52     #ret = calculator(background=0) 
    53     #print ret 
     52 
    5453    return calculator(background=0) 
    5554 
  • 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.