Changeset 609 for trunk/GSASIIstruct.py
- Timestamp:
- May 9, 2012 11:15:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstruct.py
r599 r609 3222 3222 Factor = DisAglCtls['Factors'] 3223 3223 Radii = dict(zip(DisAglCtls['AtomTypes'],zip(DisAglCtls['BondRadii'],DisAglCtls['AngleRadii']))) 3224 Units = np.array([ #is there a nicer way to make this? 3225 [-1,-1,-1],[-1,-1,0],[-1,-1,1],[-1,0,-1],[-1,0,0],[-1,0,1],[-1,1,-1],[-1,1,0],[-1,1,1], 3226 [0,-1,-1],[0,-1,0],[0,-1,1],[0,0,-1],[0,0,0],[0,0,1],[0,1,-1],[0,1,0],[0,1,1], 3227 [1,-1,-1],[1,-1,0],[1,-1,1],[1,0,-1],[1,0,0],[1,0,1],[1,1,-1],[1,1,0],[1,1,1]]) 3224 # Units = np.array([ #is there a nicer way to make this? 3225 # [-1,-1,-1],[-1,-1,0],[-1,-1,1],[-1,0,-1],[-1,0,0],[-1,0,1],[-1,1,-1],[-1,1,0],[-1,1,1], 3226 # [0,-1,-1],[0,-1,0],[0,-1,1],[0,0,-1],[0,0,0],[0,0,1],[0,1,-1],[0,1,0],[0,1,1], 3227 # [1,-1,-1],[1,-1,0],[1,-1,1],[1,0,-1],[1,0,0],[1,0,1],[1,1,-1],[1,1,0],[1,1,1]]) 3228 indices = (-1,0,1) 3229 Units = np.array([[h,k,l] for h in indices for k in indices for l in indices]) 3228 3230 origAtoms = DisAglData['OrigAtoms'] 3229 3231 targAtoms = DisAglData['TargAtoms']
Note: See TracChangeset
for help on using the changeset viewer.