Ignore:
Timestamp:
Nov 24, 2014 9:27:52 AM (7 years ago)
Author:
vondreele
Message:

fix problem editing R3cR lattice parameters - incorrect angle index
begin GUI for modulation vector search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r1578 r1581  
    4545acosd = lambda x: 180.*np.arccos(x)/np.pi
    4646rdsq2d = lambda x,p: round(1.0/np.sqrt(x),p)
     47rpd = np.pi/180.
    4748
    4849def sec2HMS(sec):
     
    458459def calc_rDsqZ(H,A,Z,tth,lam):
    459460    'needs doc string'
    460     rpd = np.pi/180.
    461461    rdsq = calc_rDsq(H,A)+Z*sind(tth)*2.0*rpd/lam**2
    462462    return rdsq
     
    464464def calc_rDsqZSS(H,A,vec,Z,tth,lam):
    465465    'needs doc string'
    466     rpd = np.pi/180.
    467466    rdsq = calc_rDsq(H[:3]+(H[3][:,np.newaxis]*vec).T,A)+Z*sind(tth)*2.0*rpd/lam**2
    468467    return rdsq
     
    970969    """                         
    971970   
    972     rpd = math.pi/180.
    973971    if IFCoup:
    974972        GSomeg = sind(Gangls[2]+Tth)
Note: See TracChangeset for help on using the changeset viewer.