From b43fe2586c860e3e9b2f422d72dc49e6ea5e7906 Mon Sep 17 00:00:00 2001 From: "pancaldi.paolo" Date: Wed, 4 Mar 2009 19:21:49 +0000 Subject: [PATCH] fixed many importants bugs: flatten, c_leng(ths) and p_leng(ths) --- pcluster.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pcluster.py b/pcluster.py index de1d932..12a4082 100644 --- a/pcluster.py +++ b/pcluster.py @@ -142,8 +142,8 @@ class pclusterCommands: if len(params)==1: #if we did choose 1-value fit p_leng=pl_value c_leng=params[0]*(1.0e+9) - sigma_p_lengths=0 - sigma_c_lengths=fit_errors[0]*(1.0e+9) + sigma_p_lengt=0 + sigma_c_leng=fit_errors[0]*(1.0e+9) force = abs(y-avg)*(1.0e+12) else: #2-value fit p_leng=params[1]*(1.0e+9) @@ -174,6 +174,8 @@ class pclusterCommands: c+=1 item.identify(self.drivers) itplot=item.curve.default_plots() + flatten=self._find_plotmanip('flatten') #extract flatten plot manipulator + itplot[0]=flatten(itplot[0], item, customvalue=1) try: peak_location,peak_size=self.exec_has_peaks(item,min_deviation) except: -- 2.26.2