Changeset 2368
- Timestamp:
- Jul 10, 2016 2:11:08 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2367 r2368 3208 3208 # GSASIIpath.IPyBreak() 3209 3209 try: 3210 lut = si.SmoothSphereBivariateSpline(Beta,Phi,Rmd,s=len(Beta)) 3210 sfac = 1 3211 while True: 3212 try: 3213 lut = si.SmoothSphereBivariateSpline(Beta,Phi,Rmd,s=sfac) 3214 break 3215 except ValueError: 3216 sfac *= 1.2 3211 3217 Z = [lut(r*np.pi/180.,p*np.pi/180.) for r,p in zip(list(R),list(P))] 3212 3218 except AttributeError:
Note: See TracChangeset
for help on using the changeset viewer.