FlareSummaryPlotGUI: no need to convert to dataframes again, as we supply them now
This commit is contained in:
@@ -72,7 +72,7 @@ class FlareSummaryPlotGUI(QWidget):
|
|||||||
self.resize(1000, 800)
|
self.resize(1000, 800)
|
||||||
|
|
||||||
def btShowFlaresPerFileClicked(self):
|
def btShowFlaresPerFileClicked(self):
|
||||||
data = pd.DataFrame(self.starFLareDictList)
|
data = self.starFLareDictList
|
||||||
x = np.arange(start=1, stop=len(data)+1, step=1, dtype=int)
|
x = np.arange(start=1, stop=len(data)+1, step=1, dtype=int)
|
||||||
showSourceFilter = np.full(np.shape(x), False)
|
showSourceFilter = np.full(np.shape(x), False)
|
||||||
|
|
||||||
@@ -137,16 +137,16 @@ class FlareSummaryPlotGUI(QWidget):
|
|||||||
self.figure.canvas.draw_idle()
|
self.figure.canvas.draw_idle()
|
||||||
|
|
||||||
def btShowFlaresPerStarClicked(self):
|
def btShowFlaresPerStarClicked(self):
|
||||||
data = pd.DataFrame(self.starFLareDictList).drop(columns=['Distance',
|
data = self.starFLareDictList.drop(columns=['Distance',
|
||||||
'DistanceUnit',
|
'DistanceUnit',
|
||||||
'FilePath',
|
'FilePath',
|
||||||
'RotVel',
|
'RotVel',
|
||||||
'RotVelUnit',
|
'RotVelUnit',
|
||||||
'Sequence',
|
'Sequence',
|
||||||
'pdcsapFits',
|
'pdcsapFits',
|
||||||
'pdcsapPeaks',
|
'pdcsapPeaks',
|
||||||
'sapFits',
|
'sapFits',
|
||||||
'sapPeaks'])
|
'sapPeaks'])
|
||||||
|
|
||||||
showSourceFilter = np.full(len(data), False)
|
showSourceFilter = np.full(len(data), False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user