Changeset 2055


Ignore:
Timestamp:
Nov 16, 2015 10:26:26 AM (6 years ago)
Author:
vondreele
Message:

modify powder indexing to not count not Use reflections from Index list
seems to improve indexing performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIindex.py

    r2052 r2055  
    860860    N2s = [1,1,1,   2,2,  2,2,     2,2,2,2,   2,2,   4]
    861861    Nm  = [1,1,1,   1,1,  1,1,     1,1,1,1,   2,2,   4]
    862     Nobs = len(peaks)
     862    notUse = 0
     863    for peak in peaks:
     864        if not peak[2]:
     865            notUse += 1
     866    Nobs = len(peaks)-notUse
    863867    zero,ncno = controls[1:3]
    864868    ncMax = Nobs*ncno
Note: See TracChangeset for help on using the changeset viewer.