<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Kurt, Dear Scott, Dear all,</div><div><br></div><div>Scott exactly describes what is my experience: the new-style pf.FitCreate & pf.FitSetArguments etc. ignores the values of xColumn and yColumn set by either pf.FitSetExperiment or pf.SetDefaultCols, even though print fitObj suggests that they were set.</div><div><br></div><div>The only workaround is using the old-syte pf.Fit</div><div><br></div><div>Best wishes,</div><div><br></div><div>Christian</div><div><br></div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: Times; "><pre style="white-space: pre-wrap; ">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.

Thank you for your support
Ludovic Pecqueur

----- Reply message -----
From: "proFit Support" <<a href="http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com">profit at quansoft.com</a>>
To: "all things about pro Fit" <<a href="http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com">profit-list at quantum-soft.com</a>>
Subject: [proFit-list] Repetitive fit using pro Fit 6.2.2
Date: Wed, Feb 9, 2011 05:27


Dear Christian

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.

Best regards

Kurt Sutter
QuantumSoft
</pre></span></blockquote></div><div><span class="Apple-style-span" style="font-family: Times; "><pre style="white-space: pre-wrap; "><br></pre></span></div><div><br></div><div><blockquote type="cite">Dear pro Fit Team,<div><br></div><div>thanks for the new version of pro Fit and particularly for the inclusion of Python - a great new feature!</div><div><br></div><div>I am trying to repeat fitting over a range of columns, i.e. x-values are stored in col 2 and y-values in col 3-n. The loop works nicely, the output verifies that different y columns are used.  BUT the parameters obtained are always identical, i.e. the fit is done only once... </div><div><br></div><div>What am I missing here?</div><div><br></div><div><br></div><div>A second problem occurs if I now mask data in col 1 ( i.e. a column not used for fitting), which generates the error msg</div><div>Python exception: There is no data to fit.<br>Traceback (most recent call last):<br>  File "Test_python.func", line 10, in <module></div><div><br></div><div>Thanks in advance,</div><div>Christian</div><div><br></div><div>==> Python script</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; color: rgb(216, 25, 20); "># test repetitive fit over columns</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; min-height: 12px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; "><span style="color: rgb(17, 45, 205); ">for</span> i <span style="color: rgb(17, 45, 205); ">in</span> <span style="color: rgb(0, 166, 81); ">range</span>(3, 5):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">    <span style="color: rgb(17, 45, 205); ">if</span> not  <span style="color: rgb(0, 166, 81); ">pf.ColEmpty</span>(i):</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        <span style="color: rgb(0, 166, 81); ">pf.SetDefaultCols</span>(2,i,0,0)<span class="Apple-tab-span" style="white-space: pre; ">  </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        fitObj = <span style="color: rgb(0, 166, 81); ">pf.FitCreate</span>(function = <span style="color: rgb(121, 121, 121); ">'Exp'</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        <span style="color: rgb(0, 166, 81); ">pf.FitSetArguments</span>(fitObject = fitObj, algorithm = <span style="color: rgb(215, 121, 41); ">pf.robust</span> , printResults = <span style="color: rgb(215, 121, 41); ">True</span>, onlyActiveParameters = <span style="color: rgb(215, 121, 41); ">False</span>, fullDescription = <span style="color: rgb(215, 121, 41); ">True</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        <span style="color: rgb(0, 166, 81); ">pf.FitSetExperiment</span>(fitObject = fitObj, window =  <span style="color: rgb(0, 166, 81); ">pf.GetCurrentWindow</span>(<span style="color: rgb(215, 121, 41); ">pf.dataType</span>) )</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        fitResultObj = <span style="color: rgb(0, 166, 81); ">pf.FitExecute</span>(fitObject = fitObj)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        n = <span style="color: rgb(0, 166, 81); ">pf.FitResult</span>(fitResultObject = fitResultObj, result = <span style="color: rgb(215, 121, 41); ">pf.nrFittedParameters</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; color: rgb(121, 121, 121); "><span style="color: rgb(0, 0, 0); ">        </span><span style="color: rgb(0, 166, 81); ">print</span><span style="color: rgb(0, 0, 0); "> </span>'Number of parameters fitted:'<span style="color: rgb(0, 0, 0); ">, n </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        <span style="color: rgb(0, 166, 81); ">pf.FitResultDispose</span>(fitResultObject = fitResultObj)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; ">        <span style="color: rgb(0, 166, 81); ">pf.FitDispose</span>(fitObject = fitObj)</div></div><div><br></div><div><br></div><div><br></div></blockquote></div></body></html>