Changeset 2186 for trunk/GSASIIpwdGUI.py
- Timestamp:
- Mar 31, 2016 9:50:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwdGUI.py
r2158 r2186 2479 2479 controls[7] = controls[8] = controls[6] 2480 2480 controls[9] = controls[10] = controls[11] = 90. 2481 elif controls[5] in ['R 3 m','P 6/m m m','I 4/m m m','P 4/m mm']:2481 elif controls[5] in ['R3m','P6/mmm','I4/mmm','P4/mmm']: 2482 2482 controls[7] = controls[6] 2483 2483 controls[9] = controls[10] = controls[11] = 90. 2484 2484 if controls[5] in ['R3-H','P6/mmm']: 2485 2485 controls[11] = 120. 2486 elif controls[5] in ['F m m m','I m m m','C m m m','P m mm']:2486 elif controls[5] in ['Fmmm','Immm','Cmmm','Pmmm']: 2487 2487 controls[9] = controls[10] = controls[11] = 90. 2488 elif controls[5] in ['C 2/m','P2/m']:2488 elif controls[5] in ['C2/m','P2/m']: 2489 2489 controls[9] = controls[11] = 90. # b unique 2490 2490 if len(controls) < 13: controls.append(0) … … 2612 2612 if controls[5] in ['R3-H','P6/mmm']: 2613 2613 controls[11] = 120. 2614 elif controls[5] in ['F m m m','I m m m','C m m m','P m mm']:2614 elif controls[5] in ['Fmmm','Immm','Cmmm','Pmmm']: 2615 2615 controls[6+ObjId] = value 2616 2616 Obj.SetValue("%.5f"%(controls[6+ObjId])) 2617 2617 controls[9] = controls[10] = controls[11] = 90.0 2618 elif controls[5] in ['C 2/m','P2/m']:2618 elif controls[5] in ['C2/m','P2/m']: 2619 2619 controls[9] = controls[11] = 90.0 2620 2620 if ObjId != 3: … … 2675 2675 value = 90. 2676 2676 SetCellValue(Obj,ObjId/2,value) 2677 wx.CallAfter(UpdateUnitCellsGrid,G2frame,data) 2677 2678 2678 2679 def OnHklShow(event): … … 2751 2752 elif ibrav in ['R3-H','P6/mmm','I4/mmm','P4/mmm']: 2752 2753 print " %s%10.6f %s%10.6f %s%12.3f" % ('a =',cell[0],' c =',cell[2],' volume =',Vol) 2753 elif ibrav in ['P 4/m m m','F m m m','I m m m','C m m m','P m mm']:2754 elif ibrav in ['P4/mmm','Fmmm','Immm','Cmmm','Pmmm']: 2754 2755 print " %s%10.6f %s%10.6f %s%10.6f %s%12.3f" % ('a =',cell[0],'b =',cell[1],'c =',cell[2],' volume =',Vol) 2755 elif ibrav in ['C 2/m','P2/m']:2756 elif ibrav in ['C2/m','P2/m']: 2756 2757 print " %s%10.6f %s%10.6f %s%10.6f %s%8.3f %s%12.3f" % ('a =',cell[0],'b =',cell[1],'c =',cell[2],'beta =',cell[4],' volume =',Vol) 2757 2758 else:
Note: See TracChangeset
for help on using the changeset viewer.