Changeset 1106 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Oct 15, 2013 12:25:24 PM (8 years ago)
Author:
vondreele
Message:

modify reflection array to be a dictionary with 4 items: RefList?, Uniq, Phi & FF. Each is list. Use patches to convert old format to new in various places.
Fix bug in simulate PWDR code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r1102 r1106  
    15821582        self.InitParameters()
    15831583        self.InitControls()
    1584         self.RefList = []
     1584        self.RefDict = {'RefList':[],'Uniq':[],'Phi':[],'FF':[]}
    15851585       
    15861586    def InitControls(self):
     
    16211621        HKLmin = [None,None,None]
    16221622        Fo2max = None
    1623         for refl in self.RefList:
     1623        for refl in self.RefDict['RefList']:
    16241624            HKL = refl[:3]
    16251625            if Fo2max is None:
     
    18531853                    if hnum is None: return True
    18541854                    self.histnam = [choices[hnum]]
     1855                   
    18551856    def loadParmDict(self):
    18561857        '''Load the GSAS-II refinable parameters from the tree into a dict (self.parmDict). Update
Note: See TracChangeset for help on using the changeset viewer.