Ignore:
Timestamp:
Aug 1, 2014 3:19:48 PM (8 years ago)
Author:
vondreele
Message:

get HKLF data type into RefDict?
create a SetDefaultDData routine in GSASII.py
fix copyflags for sc extinction coeff
fix neutron resonant ff for TOF
fix error in making Hessian v-cov matrix - now matches the Jabobian one
put names in the Es, Ep & Eg sc extinction coeff
fix errors in SCExtinction - still problem with derivatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2sfact.py

    r1446 r1453  
    7575            self.errors = 'Error after reading reflections (unexpected!)'
    7676            self.RefDict['RefList'] = np.array(self.RefDict['RefList'])
     77            self.RefDict['Type'] = 'SXC'
    7778            self.UpdateParameters(Type='SXC',Wave=None) # histogram type
    7879            return True
     
    115116            self.errors = 'Error after reading reflections (unexpected!)'
    116117            self.RefDict['RefList'] = np.array(self.RefDict['RefList'])
     118            self.RefDict['Type'] = 'SXC'
    117119            self.UpdateParameters(Type='SXC',Wave=None) # histogram type
    118120            return True
     
    174176                self.UpdateParameters(Type='SNT',Wave=None) # histogram type
    175177                for Bank in self.Banks:
    176                     Bank['RefDict']['RefList'] = np.array(Bank['RefDict']['RefList'])                   
     178                    Bank['RefDict']['RefList'] = np.array(Bank['RefDict']['RefList'])
     179                    Bank['RefDict']['Type'] = 'SNT'                   
    177180            else:
    178181                self.RefDict['RefList'] = np.array(self.RefDict['RefList'])
     182                self.RefDict['Type'] = 'SNT'
    179183                self.errors = 'Error after reading reflections (unexpected!)'
    180184                self.UpdateParameters(Type='SNT',Wave=None) # histogram type
     
    235239                self.UpdateParameters(Type='SNT',Wave=None) # histogram type
    236240                for Bank in self.Banks:
    237                     Bank['RefDict']['RefList'] = np.array(Bank['RefDict']['RefList'])                   
     241                    Bank['RefDict']['RefList'] = np.array(Bank['RefDict']['RefList'])
     242                    Bank['RefDict']['Type'] = 'SNT'                   
    238243            else:
    239244                self.RefDict['RefList'] = np.array(self.RefDict['RefList'])
     245                self.RefDict['Type'] = 'SNT'
    240246                self.errors = 'Error after reading reflections (unexpected!)'
    241247                self.UpdateParameters(Type='SNT',Wave=None) # histogram type
Note: See TracChangeset for help on using the changeset viewer.