- Timestamp:
- Mar 18, 2016 12:45:38 PM (9 years ago)
- 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
- Location:
- explore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/J1.py
raceac39 r95ce773 50 50 model = core.load_model('bessel', dtype=dtype) 51 51 calculator = direct_model.DirectModel(data.empty_data1D(x), model) 52 #ret = calculator(background=0) 53 #print ret 52 54 53 return calculator(background=0) 55 54 -
explore/J1c.py
rcbd37a7 r95ce773 2 2 Show numerical precision of $2 J_1(x)/x$. 3 3 """ 4 import sys; sys.path.insert(0, '..') 4 5 5 6 import numpy as np 6 from sympy.mpmath import mp 7 try: 8 from mpmath import mp 9 except: 10 # CRUFT: mpmath split out into its own package 11 from sympy.mpmath import mp 7 12 #import matplotlib; matplotlib.use('TkAgg') 8 13 import pylab
Note: See TracChangeset
for help on using the changeset viewer.