Changeset 3211
- Timestamp:
- Jan 1, 2018 2:12:54 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r3210 r3211 1829 1829 Choice = [] 1830 1830 for item in SSChoice: 1831 if generalData['SGData'] ['SGGray']:1831 if generalData['SGData'].get('SGGray',False): 1832 1832 E,SSG = G2spc.SSpcGroup(generalData['SGData'],item+'s') 1833 1833 else: -
trunk/GSASIIplot.py
r3210 r3211 4113 4113 ' at %.4f %.4f %.4f'%(atxyz[0],atxyz[1],atxyz[2]) 4114 4114 ix = -np.array(np.rint(rhoSize[:3]*atxyz)+1,dtype='i') 4115 ix += (rhoSize[:3]/ 2)4115 ix += (rhoSize[:3]//2) 4116 4116 ix = ix%rhoSize[:3] 4117 4117 rho = np.roll(np.roll(np.roll(Map['rho'],ix[0],axis=0),ix[1],axis=1),ix[2],axis=2) 4118 ix = rhoSize[:3]/ 24118 ix = rhoSize[:3]//2 4119 4119 ib = 4 4120 4120 hdx = [2,2,2] #this needs to be something for an offset correction on atom positions -
trunk/GSASIIspc.py
r3210 r3211 2933 2933 if "1'" in rspc: 2934 2934 gray = " 1'" 2935 rspc = rspc [:-2]2935 rspc = rspc.replace("1'",'') 2936 2936 elif rspc[-1:] == 'H': # hexagonal is assumed and thus can be ignored 2937 2937 rspc = rspc[:-1] 2938 else: 2939 rspc = rspc.replace("'",'') 2938 2940 # look for a match in the spacegroup lists 2939 2941 for i in spglist.values(): -
trunk/imports/G2phase_CIF.py
r3210 r3211 179 179 sspgrp[1] = "("+sspgrp[1] 180 180 SpGrp = G2spc.StandardizeSpcName(sspgrp[0]) 181 MSpGrp = sspgrp[0] 181 182 self.MPhase['General']['Type'] = 'magnetic' 182 183 self.MPhase['General']['AtomPtrs'] = [3,1,10,12] … … 189 190 if not SpGrp: 190 191 print (sspgrp) 191 self.warnings += ' No space group name was found in the CIF.'192 self.warnings += 'Space group name '+sspgrp[0]+sspgrp[1]+' not recognized by GSAS-II' 192 193 return False 193 194 SuperSg = sspgrp[1].replace('\\','')
Note: See TracChangeset
for help on using the changeset viewer.