Changeset 1475 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Aug 22, 2014 1:09:47 PM (7 years ago)
Author:
vondreele
Message:

add MCSA tutorial to main gsasII.html web page
change difB tern from d3 to 1/d - works much better
make all TOF/2-theta to dsp & vv conversions with G2lat.Pos2dsp & Dsp2pos routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r1460 r1475  
    18181818                                Phi.append(phi)
    18191819                        elif 'T' in inst['Type'][0]:
    1820                             pos = inst['difC'][1]*d+inst['difA'][1]*d**2+inst['difB'][1]*d**3+Zero
     1820                            pos = inst['difC'][1]*d+inst['difA'][1]*d**2+inst['difB'][1]/d+Zero
    18211821                            if limits[0] < pos < limits[1]:
    18221822                                wave = inst['difC'][1]*d/(252.816*inst['fltPath'][0])
Note: See TracChangeset for help on using the changeset viewer.