Changeset 4342


Ignore:
Timestamp:
Mar 5, 2020 9:42:04 AM (20 months ago)
Author:
vondreele
Message:

correct scale factor for xray .bragg file
try 1/w for xray real space & w for xray reciprocal space weights - may hve to revisit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r4341 r4342  
    22862286    Sample = PWDdata['Sample Parameters']
    22872287    Scale = Sample['Scale'][0]
     2288    if 'X' in Inst['Type'][1]:
     2289        Scale *= 2.
    22882290    Limits = PWDdata['Limits'][1]
    22892291    Ibeg = np.searchsorted(Data[0],Limits[0])
     
    24542456                    fl.write('  > RECIPROCAL_SPACE_PARAMETERS :: 1 %d %.4f\n'%(lines,Files[File][1]))
    24552457                    fl.write('  > REAL_SPACE_FIT :: 1 %d 1\n'%(3*lines//2))
    2456                     fl.write('  > REAL_SPACE_PARAMETERS :: 1 %d %.4f\n'%(3*lines//2,Files[File][1]))
     2458                    fl.write('  > REAL_SPACE_PARAMETERS :: 1 %d %.4f\n'%(3*lines//2,1./Files[File][1]))
    24572459    fl.write('\n')
    24582460    fl.write('BRAGG ::\n')
Note: See TracChangeset for help on using the changeset viewer.