Changeset 3429 for trunk/GSASIIplot.py
- Timestamp:
- Jun 11, 2018 11:00:24 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r3428 r3429 2559 2559 # recompute mask from excluded regions, in case they have changed 2560 2560 excls = limits[2:] 2561 xye0 = ma.array(xye0,mask=False)2561 # xye0 = ma.masked_outside(xye0,limits[0],limits[1],copy=False) 2562 2562 for excl in excls: 2563 xye0 = ma.masked_inside(xye0,excl[0],excl[1] ) #excluded region mask2564 Pattern[1][0] = ma.array(Pattern[1][0],mask=ma.getmask(xye0)) #save the excluded region masking2563 xye0 = ma.masked_inside(xye0,excl[0],excl[1],copy=False) #excluded region mask 2564 # Pattern[1][0] = ma.array(Pattern[1][0],mask=ma.getmask(xye0)) #save the excluded region masking 2565 2565 if not G2frame.Contour: 2566 xye0 = ma.masked_outside(xye0,limits[1][0],limits[1][1] ) #now mask for limits2566 xye0 = ma.masked_outside(xye0,limits[1][0],limits[1][1],copy=False) #now mask for limits 2567 2567 if Page.plotStyle['qPlot'] and 'PWDR' in plottype: 2568 2568 X = 2.*np.pi/G2lat.Pos2dsp(Parms,xye0)
Note: See TracChangeset
for help on using the changeset viewer.