Changeset 4538
- Timestamp:
- Aug 6, 2020 9:59:46 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIIO.py
r4498 r4538 885 885 Sample['Phi'] = data['GonioAngles'][2] 886 886 Sample['Azimuth'] = (azm+dazm)%360. #put here as bin center 887 polariz = 0.99 #set default polarization for synchrotron radiation!887 polariz = data['PolaVal'][0] 888 888 for item in Comments: 889 if 'polariz' in item:890 try:891 polariz = float(item.split('=')[1])892 except:893 polariz = 0.99889 # if 'polariz' in item: 890 # try: 891 # polariz = float(item.split('=')[1]) 892 # except: 893 # polariz = 0.99 894 894 for key in ('Temperature','Pressure','Time','FreePrm1','FreePrm2','FreePrm3','Omega', 895 895 'Chi','Phi'): -
trunk/GSASIIplot.py
r4537 r4538 6794 6794 xy2 = [] 6795 6795 aR = [azm0,azm1,max(3,int(0.5+azm1-azm0))] # number of points should be at least 3 6796 if azm1-azm0 > 180: aR[2] / = 2 # for more than 180 degrees, steps can be 2 deg.6796 if azm1-azm0 > 180: aR[2] //= 2 # for more than 180 degrees, steps can be 2 deg. 6797 6797 Azm = np.linspace(*aR) 6798 6798 for azm in Azm: … … 7641 7641 MaskA = ma.getmaskarray(MA) 7642 7642 except TypeError: # needed if spotMasks set to initial value (None) 7643 if GSASIIpath.GetConfigValue('debug'): print('spotMask is None')7643 # if GSASIIpath.GetConfigValue('debug'): print('spotMask is None') 7644 7644 MaskA = ma.getmaskarray(MA) 7645 7645 for xline in Masks.get('Xlines',[]):
Note: See TracChangeset
for help on using the changeset viewer.