Changeset 1181 for trunk/GSASII.py


Ignore:
Timestamp:
Jan 2, 2014 2:18:25 PM (8 years ago)
Author:
toby
Message:

bypass format bug, add histogram prms to parmDict, more docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1176 r1181  
    28042804        also the histograms used in each phase.
    28052805
    2806         :returns: (phaseRIdList, usedHistograms) where
    2807 
    2808           *
    2809           ,phaseRIdList,usedHistograms
     2806        :returns: (phaseRIdList, usedHistograms) where
     2807
     2808          * phaseRIdList is a list of random Id values for each phase
     2809          * usedHistograms is a dict where the keys are the phase names
     2810            and the values for each key are a list of the histogram names
     2811            used in each phase.
    28102812        '''
    28112813        phaseRIdList = []
     
    29142916        different than the parmDict used in the refinement, which only has
    29152917        values.
     2918
     2919        Note that similar things are done in
     2920        :meth:`GSASIIIO.ExportBaseclass.loadParmDict` (from the tree) and
     2921        :func:`GSASIIstrMain.Refine` and :func:`GSASIIstrMain.SeqRefine` (from
     2922        a GPX file).
    29162923
    29172924        :returns: (parmDict,varyList) where:
     
    29492956            else:
    29502957                parmDict[parm] = [parmDict[parm],'F']
     2958        # for i in parmDict: print i,'\t',parmDict[i]
     2959        # fl = open('parmDict.dat','wb')
     2960        # import cPickle
     2961        # cPickle.dump(parmDict,fl,1)
     2962        # fl.close()
    29512963        return parmDict,varyList
    29522964
Note: See TracChangeset for help on using the changeset viewer.