Changeset 4826 for trunk/GSASIIlattice.py
- Timestamp:
- Feb 23, 2021 3:34:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r4818 r4826 842 842 ''' convert powder pattern position (2-theta or TOF, musec) to d-spacing 843 843 ''' 844 if 'T' in Inst['Type'][0] or 'PKS' in Inst['Type'][0]:844 if 'T' in Inst['Type'][0]: 845 845 return TOF2dsp(Inst,pos) 846 else: #' C' or 'B'846 else: #'PKS', 'C' or 'B' 847 847 wave = G2mth.getWave(Inst) 848 848 return wave/(2.0*sind((pos-Inst.get('Zero',[0,0])[1])/2.0))
Note: See TracChangeset
for help on using the changeset viewer.