Changeset 5004
- Timestamp:
- Jul 28, 2021 4:18:54 PM (18 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwd.py
r4998 r5004 789 789 (for peaks above 90 deg, these are reversed.) 790 790 791 param pos: peak position; 2-theta in degrees792 param sig: Gaussian peak variance in centideg^2793 param gam: Lorentzian peak width in centidegrees794 param shl: axial divergence parameter (S+H)/795 796 returns: widths; [Gaussian sigma, Lornetzian gamma] in degrees797 returns: low angle, high angle ends of peak; 20FWHM & 50 FWHM from position798 reverse tfor 2-theta > 90 deg.791 :param pos: peak position; 2-theta in degrees 792 :param sig: Gaussian peak variance in centideg^2 793 :param gam: Lorentzian peak width in centidegrees 794 :param shl: axial divergence parameter (S+H)/L 795 796 :returns: widths; [Gaussian sigma, Lorentzian gamma] in degrees, and 797 low angle, high angle ends of peak; 20 FWHM & 50 FWHM from position 798 reversed for 2-theta > 90 deg. 799 799 ''' 800 800 widths = [np.sqrt(sig)/100.,gam/100.] -
trunk/GSASIIstrMain.py
r4894 r5004 252 252 break 253 253 IfOK = True 254 if not len(varyList): 255 covMatrix = [] 256 break 254 257 try: 255 258 covMatrix = result[1]*Rvals['GOF']**2 … … 265 268 # if we get here, no result[1] (covar matrix) was returned or other calc error: refinement failed 266 269 IfOK = False 267 if not len(varyList):268 covMatrix = []269 break270 270 if 'Hessian' in Controls['deriv type']: 271 271 SVD0 = result[2].get('SVD0')
Note: See TracChangeset
for help on using the changeset viewer.