Changeset 3945 for trunk/GSASIImath.py
- Timestamp:
- May 2, 2019 1:02:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r3941 r3945 3655 3655 def getRhos(XYZ,rho): 3656 3656 ''' get scattering density at an array of point by 8-point interpolation 3657 this is faster than gerRho which is only used for single points. However, getRhos is 3658 replaced by scipy.ndimage.interpolation.map_coordinates which does a better job & is just as fast. 3659 Thus, getRhos is unused in GSAS-II at this time. 3657 3660 param xyz: array coordinates to be probed Nx3 3658 3661 param: rho: array copy of map (NB: don't use original!)
Note: See TracChangeset
for help on using the changeset viewer.