Dear all, I confirm this bug is also on pro-fit 6.1.14. I had the same problem and ended creating new tables for every new data.<br><br>Thank you for your support<br>Ludovic Pecqueur<br><br>----- Reply message -----<br>From: "proFit Support" <profit@quansoft.com><br>To: "all things about pro Fit" <profit-list@quantum-soft.com><br>Subject: [proFit-list] Repetitive fit using pro Fit 6.2.2<br>Date: Wed, Feb 9, 2011 05:27<br><br><br>Dear Christian<br><br>There seems to be a bug here. We are investigating this. However, I presently understand that the fit would run correctly, but the check for empty columns is executed with the wrong parameters. So try to make sure that column 1 is not empty, and then run the fit again.<br><br>Best regards<br><br>Kurt Sutter<br>QuantumSoft<br><br>On 7. Feb 2011, at 5:56, Scott Lasley wrote:<br><br>> It appears that the fit still uses columns 1 and 2 even after setting xColumn=2 and yColumn=3 in pf.FitSetExperiment. the line print fitObj in the code below shows xColumn = 2 and yColumn = 3, but if column 1 is empty the call to pf.FitExecute fails with the error   "Python exception: Empty columns cannot be used".  If column 1 contains the x data, column 2 contains the y data and column 3 is empty the fit works (after holding A constant in the Parameters window) even though xColumn=2 and yColumn=3 in pf.FitSetExperiment<br>> <br>> <br>> <br>> fitObj = pf.FitCreate(function = 'Exp')<br>> pf.FitSetArguments(fitObject = fitObj, algorithm = pf.robust, printResults = True, \<br>>                   onlyActiveParameters = False, fullDescription = True)<br>> pf.FitSetExperiment(fitObject = fitObj, window =  pf.GetCurrentWindow(pf.dataType), \<br>>                    xColumn = 2, yColumn = 3 )<br>> print fitObj<br>> fitResultObj = pf.FitExecute(fitObject = fitObj)<br>> n = pf.FitResult(fitResultObject = fitResultObj, result = pf.nrFittedParameters)<br>> print 'Number of parameters fitted:', n <br>> pf.FitResultDispose(fitResultObject = fitResultObj)<br>> pf.FitDispose(fitObject = fitObj)<br>> ----<br>> column 1 empty, column 2 x, column 3 y<br>> <br>> function               : Exp<br>> algorithm              : robust<br>> guessInitialParameters : True<br>> stopIfError            : True<br>> doErrorAnalysis        : False<br>> iterations             : 500<br>> confidence             : 68.3<br>> printResults           : True<br>> onlyActiveParameters   : False<br>> fullDescription        : True<br>> autoSearch             : True<br>> stopCounter            : 0<br>> localParameters        : -1<br>> <br>> experiment               : 1<br>> 1 - window               : test.data<br>> 1 - selectedRowsOnly     : False<br>> 1 - input                : 0<br>> 1 - xColumn              : 2<br>> 1 - xErrorKind           : zeroError<br>> 1 - xErrorColumn         : 0<br>> 1 - xError               : 1<br>> 1 - xErrorDistribution   : gaussianDistribution<br>> 1 - output               : 0<br>> 1 - yColumn              : 3<br>> 1 - yErrorKind           : zeroError<br>> 1 - yErrorColumn         : 0<br>> 1 - yError               : 1<br>> 1 - yErrorDistribution   : gaussianDistribution<br>> 1 - localParameterValue  : <br>> <br>> <br>> Python exception: Empty columns cannot be used.<br>> Traceback (most recent call last):<br>>  File "Untitled Function 1", line 7, in <module><br>> ----<br>> same function, column 1 x, column 2 y, column 3 empty<br>> <br>> function               : Exp<br>> algorithm              : robust<br>> guessInitialParameters : True<br>> stopIfError            : True<br>> doErrorAnalysis        : False<br>> iterations             : 500<br>> confidence             : 68.3<br>> printResults           : True<br>> onlyActiveParameters   : False<br>> fullDescription        : True<br>> autoSearch             : True<br>> stopCounter            : 0<br>> localParameters        : -1<br>> <br>> experiment               : 1<br>> 1 - window               : test.data<br>> 1 - selectedRowsOnly     : False<br>> 1 - input                : 0<br>> 1 - xColumn              : 2<br>> 1 - xErrorKind           : zeroError<br>> 1 - xErrorColumn         : 0<br>> 1 - xError               : 1<br>> 1 - xErrorDistribution   : gaussianDistribution<br>> 1 - output               : 0<br>> 1 - yColumn              : 3<br>> 1 - yErrorKind           : zeroError<br>> 1 - yErrorColumn         : 0<br>> 1 - yError               : 1<br>> 1 - yErrorDistribution   : gaussianDistribution<br>> 1 - localParameterValue  : <br>> <br>> <br>> ===========================================<br>> Fit Algorithm:      Robust<br>> <br>> Function  :    Exp<br>> Descr 1  :       y = A * exp(-(x-x0)/t0)  + const<br>> Descr 2  :     exponential function<br>> <br>> Data      :    test.data<br>> <br>> output    :    y<br>> y  column: Column 2<br>> ∆y value :     0.0<br>> ∆y distr.:  Gaussian<br>> <br>> input     :     x<br>> x  column: Column 1<br>> ∆x value :     0.0<br>> ∆x distr.:  Gaussian<br>> <br>> <br>> Iterations:        390<br>> -------------------------------------------<br>> Chi squared          =       1.68866816e-33<br>> <br>> Parameters:<br>> A       =        1.00000000<br>> x0       =        2.00000000<br>> t0       =       30.00000000<br>> const =        2.10254858e-17<br>> <br>> Number of parameters fitted: 4.0<br>> <br>> <br>> _______________________________________________<br>> proFit-list mailing list<br>> proFit-list@quantum-soft.com<br>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com<br><br><br>_______________________________________________<br>proFit-list mailing list<br>proFit-list@quantum-soft.com<br>http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com<br><br>