JDTimeElementEntity.instance);
int minDegree = getMinDegree();
int maxDegree = getMaxDegree();
PolynomialDegreeDialog polyDegreeDialog = new PolynomialDegreeDialog(
minDegree, maxDegree);
if (!polyDegreeDialog.isCancelled()) {
setDegree(polyDegreeDialog.getDegree());
final AbstractLeastSquaresOptimizer optimizer = new LevenbergMarquardtOptimizer();
final PolynomialFitter fitter = new PolynomialFitter(
getDegree(), optimizer);