Changeset 109


Ignore:
Timestamp:
Jul 15, 2010 9:40:37 PM (13 years ago)
Author:
toby
Message:

fix up GenHLaue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r108 r109  
    396396        Hmax[0] = Hmax[1] = int(round(aHx/dmin))
    397397        Hmax[2] = int(round(cHx/dmin))
    398         print Hmax,aHx,cHx
     398        #print Hmax,aHx,cHx
    399399    else:                           # all others
    400400        Hmax = MaxIndex(dmin,A)
     
    458458                if Laue in ['3R','3']:
    459459                    kmax = h
    460 #                    kmin = -int((h-1.)/2.)
    461                     kmin = -(h-1)/2
     460                    kmin = -int((h-1.)/2.)
     461                    #kmin = -(h-1)/2
    462462                else:
    463463                    kmin = 0
     
    473473                        rdsq = calc_rDsq(H,A)
    474474                        if 0 < rdsq <= dminsq:
    475                             HKL.append([h,k,l,1/math.sqrt(rdsq)])
    476                             print H,1/math.sqrt(rdsq)
     475                            HKL.append([H[0],H[1],H[2],1/math.sqrt(rdsq)])
     476                            #print H,1/math.sqrt(rdsq)
    477477    else:                                   #cubic
    478478        for h in range(Hmax[0]+1):
Note: See TracChangeset for help on using the changeset viewer.