Changeset 2698 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Feb 10, 2017 12:30:28 PM (5 years ago)
Author:
vondreele
Message:

work over sequentia fit stuff - allow all parameters shown in table to be used in pseudoVariables & in fit equations.
Allow for gaps in columns
Sequential results can be accumulated
Allow for not used results & gaps in column averages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r2658 r2698  
    545545           
    546546    print 'GPX file save successful'
     547   
     548def GetSeqResult(GPXfile):
     549    '''
     550    Needs doc string
     551   
     552    :param str GPXfile: full .gpx file name
     553    '''
     554    fl = open(GPXfile,'rb')
     555    SeqResult = {}
     556    while True:
     557        try:
     558            data = cPickle.load(fl)
     559        except EOFError:
     560            break
     561        datum = data[0]
     562        if datum[0] == 'Sequential results':
     563            SeqResult = datum[1]
     564    fl.close()
     565    return SeqResult
    547566   
    548567def SetSeqResult(GPXfile,Histograms,SeqResult):
Note: See TracChangeset for help on using the changeset viewer.