Changeset 2723 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Feb 24, 2017 9:27:17 AM (5 years ago)
Author:
vondreele
Message:

add patch for missing PolaVal? in old image gpx files
Stress/strain image plots now have calculated rings drawn from pixel centers where the intensity distribution is determined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2715 r2723  
    49214921            dsp = G2img.GetDsp(Xpos,Ypos,Data)
    49224922            StrSta['d-zero'].append({'Dset':dsp,'Dcalc':0.0,'pixLimit':10,'cutoff':0.5,
    4923                 'ImxyObs':[[],[]],'ImtaObs':[[],[]],'ImtaCalc':[[],[]],'Emat':[1.0,1.0,1.0]})
     4923                'ImxyObs':[[],[]],'ImxyCalc':[[],[]],'ImtaObs':[[],[]],'ImtaCalc':[[],[]],'Emat':[1.0,1.0,1.0]})
    49244924            R,r = G2img.MakeStrStaRing(StrSta['d-zero'][-1],G2frame.ImageZ,Data)
    49254925            if not len(R):
     
    51385138        if G2frame.PickId and G2frame.PatternTree.GetItemText(G2frame.PickId) in ['Stress/Strain',]:
    51395139            for N,ring in enumerate(StrSta['d-zero']):
     5140                if 'ImxyCalc' in ring:
     5141                    xringc,yringc = ring['ImxyCalc']
     5142                    Plot.plot(xringc,yringc,colors[N%6])
    51405143                xring,yring = ring['ImxyObs']
    51415144                Plot.plot(xring,yring,colors[N%6]+'.')
Note: See TracChangeset for help on using the changeset viewer.