Ignore:
Timestamp:
Mar 27, 2015 2:46:30 PM (7 years ago)
Author:
vondreele
Message:

correct old LANSCE/HIPD import to give correct Omega, chi & phi from goniometer
correct 2-theta from TOF & use abs(Tth) as needed in Lorentz calc for TOF
some corrections to texture calcs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_fxye.py

    r1713 r1766  
    384384            elif 'Omega' in S.split('=')[0] or 'Theta' in S.split('=')[0]:  #HIPD weirdness
    385385                try:
    386                     self.Sample['Omega'] = float(S.split('=')[1])
     386                    self.Sample['Omega'] = 90.-float(S.split('=')[1])
    387387                except:
    388388                    pass
    389389            elif 'Chi' in S.split('=')[0]:
    390390                try:
    391                     self.Sample['Chi'] = float(S.split('=')[1])
     391                    self.Sample['Chi'] = -float(S.split('=')[1])
    392392                except:
    393393                    pass                   
Note: See TracChangeset for help on using the changeset viewer.