Changeset 1956 for trunk/GSASII.py


Ignore:
Timestamp:
Aug 12, 2015 1:30:41 PM (8 years ago)
Author:
vondreele
Message:

fix (again) fill unit cell, dynamic SS drawing & GenAtom? issues - now all OK
fixes to get SS structure factors to compute & twins in SS data issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1949 r1956  
    697697                            H = hkl
    698698                        ref[4+Super] = np.sqrt(1./G2lat.calc_rDsq2(H,G))
    699                         iabsnt,ref[3+Super],Uniq,phi = G2spc.GenHKLf(H,SGData)
     699                        iabsnt = G2spc.GenHKLf(H,SGData)[0]
    700700                        if iabsnt:  #flag space gp. absences
    701                             ref[3+Super] = 0
     701                            if Super:
     702                                if not ref[2+Super]:
     703                                    ref[3+Super] = 0
     704                                else:
     705                                    ref[3+Super] = 1    #twin id?
     706                            else:
     707                                ref[3] = 0
    702708                    UseList[histoName] = SetDefaultDData(reflData['Type'],histoName)
    703709                elif histoName in PWDRlist:
     
    852858                    iabsnt,mul,Uniq,phi = G2spc.GenHKLf(H,SGData)
    853859                    if iabsnt:  #flag space gp. absences
    854                         ref[3+Super] = 0
     860                        if Super:
     861                            if not ref[2+Super]:
     862                                ref[3+Super] = 0
     863                            else:
     864                                ref[3+Super] = 1    #twin id?
     865                        else:
     866                            ref[3] = 0
    855867        wx.EndBusyCursor()
    856868       
Note: See TracChangeset for help on using the changeset viewer.