https://bugs.kde.org/show_bug.cgi?id=390865

--- Comment #10 from Colin Griffith <tyna...@gmail.com> ---
(In reply to Alexander Semke from comment #7)
> (In reply to Colin Griffith from comment #5)
> > In case it's relevant, I suppose I should mention that the data I'm messing
> > with is 4401 data points, with X values ranging from 390 to 830, and Y
> > values ranging from 0 to 2. Most plots have 3 data sets plotted, and one
> > fitting curve for each (so 3 total fitting curves, and 6 curves total).
> > Usually I have 2 such data sets, and so 2 plots, making 12 curves total.
> > 
> > The exact data can be downloaded from these pages:
> > http://www.cvrl.org/ciepr8dp.htm
> > http://www.cvrl.org/ciexyzpr.htm
> > 
> > 
> > To get the exact data files I'm using, choose these options on the form:
> > 
> > 1st page: 2-degree cone fundamentals in Energy (linear) units with a
> > stepsize of 0.1nm, in CSV format.
> > 
> > 2nd page: 2-degree XYZ color matching functions with a stepsize of 0.1nm, in
> > CSV format.
> 
> I just tried out the data from the first page. I have no problems to plot
> and to fit to those three Gauss curves. I attached the screenshot of the
> results. The curves with the filled areas are the fitted results.
> 
> To get this data quickly fitted in LabPlot:
> 1. import the csv file into a spreadsheet, use preview tab to check the
> results of the import settings
> 2. do a right click in the spreadsheet and select "Plot data" from the
> context menu and plot three curves in one single plot
> 3. do a right click on the curve (either in the plot or in the project
> explorer) and select Analysis/Fit/Gauss from the context menu
> 4. we fail to guess good starting values at the moment, so just provide a
> reasonable mean value for \mu and recalcute again.

This is consistent with my testing. However, I've been using curves with 3 - 8
peaks, attempting to visually match the fitted curve precisely to the actual
data so that without zooming in they appear to be 100% identical.

It is while repeatedly calculating the curves and tweaking the resulting values
that the crash occurs, and continues to occur.

I'll attach a screenshot of what I managed to get as far as results go
yesterday, but have not been able to get the 'L' curve to fit any better
(theoretically I should be able to get it to fit as well as the 'M' curve, but
the algorithms refuse to behave rationally in some cases). All three curves are
fit with 5 peaks.

Either way, my troubles with fitting the curves are not the topic of this bug,
but rather the fact that the program crashes after simply changing some values
over and over. I don't believe that should happen.

Also, I had already built Labplot with debugging symbols, but I'm now in the
process of rebuilding it for installation in '/usr'.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to