Changeset 4102 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Aug 20, 2019 1:16:48 PM (2 years ago)
Author:
vondreele
Message:

add transfer of flat background to images corrected for 1/dist2
correct error in recalibrate; eliminate duplicate reflections in e.g. silicon from genHKLpeak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r4080 r4102  
    11341134    return lenR,dRdS
    11351135
    1136 def getHKLpeak(dmin,SGData,A,Inst=None):
     1136def getHKLpeak(dmin,SGData,A,Inst=None,nodup=False):
    11371137    '''
    11381138    Generates allowed by symmetry reflections with d >= dmin
     
    11481148    HKL = G2lat.GenHLaue(dmin,SGData,A)       
    11491149    HKLs = []
     1150    ds = []
    11501151    for h,k,l,d in HKL:
    11511152        ext = G2spc.GenHKLf([h,k,l],SGData)[0]
     
    11531154            ext = G2spc.checkMagextc([h,k,l],SGData)
    11541155        if not ext:
     1156            if nodup and int(10000*d) in ds:
     1157                continue
     1158            ds.append(int(10000*d))
    11551159            if Inst == None:
    11561160                HKLs.append([h,k,l,d,0,-1])
Note: See TracChangeset for help on using the changeset viewer.