# self.colnames = self.tableau.get_colnames()
# AnalyseMatrix.__init__(self, parent, parent.tableau, self.parametres, dlg = dlg)
- def doanalyse(self) :
- res = self.check_val()
- return res
-
- def check_val(self) :
+ def doparametres(self, dlg = None):
self.dial = ProtoDial(self.ira, self.tableau.colnames)
self.dial.CenterOnParent()
else :
self.parametres['limrang'] = self.dial.ranglim.GetValue()
self.parametres['freqmin'] = int(self.dial.m_textCtrl4.GetValue())
- table_assoc, table_rank = self.dotable()
- self.makedatas(table_assoc, table_rank)
- self.DoR()
+ if self.dial.typegraph.GetSelection() == 0 :
+ self.parametres['typegraph'] = 'classical'
+ self.parametres['cloud'] = False
+ elif self.dial.typegraph.GetSelection() == 1 :
+ self.parametres['typegraph'] = 'classical'
+ self.parametres['cloud'] = True
+ else :
+ self.parametres['typegraph'] = 'plan'
+ self.dial.Destroy()
else :
- return 'stop'
+ self.dial.Destroy()
+ self.parametres = None
+
+ def doanalyse(self) :
+ table_assoc, table_rank = self.dotable()
+ self.makedatas(table_assoc, table_rank)
+ self.DoR()
def dotable(self) :
table_assoc = self.tableau.select_col(self.ColSel1)