Changeset 1791 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 16, 2015 10:17:53 AM (7 years ago)
Author:
vondreele
Message:

use sample angles in sp.harm. PO refinement for non Bragg-Brentano expts.
export powder sig, gam & FWHM in deg - several places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1785 r1791  
    30673067                                    if len(peak) == 8:  #CW
    30683068                                        FWHM = G2pwd.getgamFW(peak[6],peak[4])
    3069                                         file.write("%10.5f %12.2f %10.3f %10.3f %10.3f \n" % \
    3070                                             (peak[0],peak[2],peak[4],peak[6],FWHM))
     3069                                        file.write("%10.5f %12.2f %10.5f %10.5f %10.5f \n" % \
     3070                                            (peak[0],peak[2],np.sqrt(max(0.0001,peak[4]))/100.,peak[6]/100.,FWHM/100.)) #convert to deg
    30713071                                    else:               #TOF - more cols
    30723072                                        FWHM = G2pwd.getgamFW(peak[10],peak[8])
Note: See TracChangeset for help on using the changeset viewer.