Changeset 3846


Ignore:
Timestamp:
Mar 8, 2019 3:19:10 PM (3 years ago)
Author:
vondreele
Message:

add plot timing for single plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3841 r3846  
    26452645    Lines = []
    26462646    exclLines = []
     2647    time0 = time.time()
    26472648    if G2frame.SinglePlot and PatternId:
    26482649        Pattern = G2frame.GPXtree.GetItemPyData(PatternId)
     
    26712672        SampleList = []
    26722673        Temps = []
    2673         time0 = time.time()
    26742674        for item in choices:
    26752675            pid = G2gd.GetGPXtreeItemId(G2frame,G2frame.root, item)
     
    26902690                pid, 'Sample Parameters')))
    26912691            Temps.append('%.1fK'%SampleList[-1]['Temperature'])
    2692         if timeDebug:
    2693             print('plot build time: %.3f for %dx%d patterns'%(time.time()-time0,len(PlotList[0][1][1]),len(PlotList)))
    26942692        if not G2frame.Contour:
    26952693            PlotList.reverse()
    26962694            ParmList.reverse()
    26972695            SampleList.reverse()
     2696    if timeDebug:
     2697        print('plot build time: %.3f for %dx%d patterns'%(time.time()-time0,len(PlotList[0][1][1]),len(PlotList)))
    26982698    lenX = 0
    26992699    Ymax = None
Note: See TracChangeset for help on using the changeset viewer.