Ignore:
Timestamp:
Apr 29, 2015 2:04:05 PM (7 years ago)
Author:
vondreele
Message:

fix issues in reading powder peak lists (since TOF added)
force reload of data after Refine
add Move Peaks to Background menu - moves fitted background peaks to Peak List for possible indexing
increase number of possible peaks in background to 30!
fix bug in LS output for Pawley refinements
reformat background peak output from Refine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r1793 r1820  
    423423    ''' convert powder pattern position (2-theta or TOF, musec) to d-spacing
    424424    '''
    425     if 'C' in Inst['Type'][0]:
     425    if 'C' in Inst['Type'][0] or 'PKS' in Inst['Type'][0]:
    426426        wave = G2mth.getWave(Inst)
    427427        return wave/(2.0*sind((pos-Inst.get('Zero',[0,0])[1])/2.0))
     
    445445    ''' convert d-spacing to powder pattern position (2-theta or TOF, musec)
    446446    '''
    447     if 'C' in Inst['Type'][0]:
     447    if 'C' in Inst['Type'][0] or 'PKS' in Inst['Type'][0]:
    448448        wave = G2mth.getWave(Inst)
    449449        pos = 2.0*asind(wave/(2.*dsp))+Inst.get('Zero',[0,0])[1]             
Note: See TracChangeset for help on using the changeset viewer.