XYFit

class XYFit(val data: XYColumnarData<Double, Double, Double>, val model: DifferentiableExpression<Double>, val features: FeatureSet<OptimizationFeature>, pointToCurveDistance: PointToCurveDistance = PointToCurveDistance.byY, pointWeight: PointWeight = PointWeight.byYSigma, val xSymbol: Symbol = Symbol.x) : OptimizationProblem<Double> (source)

A fit problem for X-Y-Yerr data. Also known as "least-squares" problem.

Constructors

Link copied to clipboard
constructor(data: XYColumnarData<Double, Double, Double>, model: DifferentiableExpression<Double>, features: FeatureSet<OptimizationFeature>, pointToCurveDistance: PointToCurveDistance = PointToCurveDistance.byY, pointWeight: PointWeight = PointWeight.byYSigma, xSymbol: Symbol = Symbol.x)

Functions

Link copied to clipboard
Link copied to clipboard
open override fun <F : OptimizationFeature> getFeature(type: KClass<out F>): F?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Compute chi squared value for completed fit. Return null for incomplete fit

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get the starting point for optimization. Throws error if not defined.

Link copied to clipboard