Changeset 2451 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Aug 25, 2016 3:10:53 PM (7 years ago)
Author:
vondreele
Message:

Add target atom type selection to sphere of enclosure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r2450 r2451  
    41814181        try:
    41824182            if dlg.ShowModal() == wx.ID_OK:
    4183                 centers,radius = dlg.GetSelection()
     4183                centers,radius,targets = dlg.GetSelection()
    41844184                for orig in centers:
    41854185                    xyzA = np.array(orig)
    41864186                    for atomB in atomData[:numAtoms]:
     4187                        if atomB[ct] not in targets:
     4188                            continue
    41874189                        xyzB = np.array(atomB[cx:cx+3])
    41884190                        Uij = atomB[cuij:cuij+6]
Note: See TracChangeset for help on using the changeset viewer.