Changeset 3496 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jul 21, 2018 10:34:41 AM (3 years ago)
Author:
vondreele
Message:

fix issues with masks & powder patterns
remove stray print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3474 r3496  
    25622562#            xye0 = ma.masked_outside(xye0,limits[0],limits[1],copy=False)
    25632563            for excl in excls:
    2564                 xye0 = ma.masked_inside(xye0,excl[0],excl[1],copy=False)                   #excluded region mask
     2564                xye0 = ma.masked_inside(xye[0],excl[0],excl[1],copy=False)                   #excluded region mask
    25652565#            Pattern[1][0] = ma.array(Pattern[1][0],mask=ma.getmask(xye0))       #save the excluded region masking
    25662566            if not G2frame.Contour:
    2567                 xye0 = ma.masked_outside(xye0,limits[1][0],limits[1][1],copy=False)            #now mask for limits
     2567                xye0 = ma.masked_outside(xye[0],limits[1][0],limits[1][1],copy=False)            #now mask for limits
    25682568        if Page.plotStyle['qPlot'] and 'PWDR' in plottype:
    25692569            X = 2.*np.pi/G2lat.Pos2dsp(Parms,xye0)
Note: See TracChangeset for help on using the changeset viewer.