Ignore:
Timestamp:
Feb 23, 2021 3:34:12 PM (2 years ago)
Author:
vondreele
Message:

fix PDF GUI stuff transmission as percent, plot limits for g(r)
fix problem with 'PKS' unit cell indexing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r4818 r4826  
    842842    ''' convert powder pattern position (2-theta or TOF, musec) to d-spacing
    843843    '''
    844     if 'T' in Inst['Type'][0] or 'PKS' in Inst['Type'][0]:
     844    if 'T' in Inst['Type'][0]:
    845845        return TOF2dsp(Inst,pos)
    846     else:   #'C' or 'B'
     846    else:   #'PKS', 'C' or 'B'
    847847        wave = G2mth.getWave(Inst)
    848848        return wave/(2.0*sind((pos-Inst.get('Zero',[0,0])[1])/2.0))
Note: See TracChangeset for help on using the changeset viewer.