Bug 144626

Summary: For fit plugins allow user to optionally supply x-vector for fit calculation
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Walker 2007-04-24 21:29:53 UTC
Version:           HEAD (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
OS:                Linux

When fitting data it would be useful to optionally allow an additional x-vector to be supplied by the user, which would be used to calculate the output y-vector.

At present the input x-vector is used to calculate the output y-vector. However, there are many situations when the user might want the output y-vector to be sampled differently from the input x-vector.
Comment 1 Andrew Walker 2007-04-25 20:56:03 UTC
This request seems to be in conflict with the current behaviour of returning residuals. If the output x-vector does not overlap (or only partially overlaps) with the input x-vector how would residuals be calculated? 
Comment 2 Netterfield 2007-04-26 15:16:18 UTC
Sounds like the residual curve follows the current behavior.  Only the fit 
itself would be evaluated on the new x vector.
Comment 3 Andrew Walker 2007-09-27 20:40:40 UTC
I think my preference here would be to add an additional x-vector. The result and residual vectors would be provided basesd on the additional x-vector. In the case where the additional x-vector is the same as the base x-vector then the existing behaviour is returned. This would be the default behaviour.
Comment 4 Andrew Walker 2009-04-15 00:48:10 UTC
In order to maintain backward compatibility the only way to implement this proposed change would be to duplicate all the existing fit plugins, modify their name slightly, and add the additional input x-vector and output y-vector.

This would likely be confusing to the user and the proposed functionality can also be created by using an expression.