Skip to content

Commit

Permalink
Fixed bug in LEEM window extraction for time series data. I(t) plot n…
Browse files Browse the repository at this point in the history
…ow correctly scales the x-axis to the time series data.
  • Loading branch information
mgrady3 committed Nov 13, 2017
1 parent 7751d11 commit 71f60b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/please.py
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,11 @@ def extractLEEMWindows(self):
ilist = [img.sum()/(width*height) for img in np.rollaxis(window, 2)]
if self.smoothLEEMplot:
ilist = LF.smooth(ilist, window_len=self.LEEMWindowLen, window_type=self.LEEMWindowType)
self.LEEMivplotwidget.plot(self.leemdat.elist,
if self.currentLEEMTime:
xdata = self.leemdat.timelist
else:
xdata = self.leemdat.elist
self.LEEMivplotwidget.plot(xdata,
ilist,
pen=pg.mkPen(tup[2].color(), width=self.LEEM_Linewidth))

Expand Down

0 comments on commit 71f60b0

Please sign in to comment.