Package org.aavso.tools.vstar.util.model

Examples of org.aavso.tools.vstar.util.model.IPolynomialFitter


  @Override
  public IModel getModel(List<ValidObservation> obs) {
    IModel model = null;

    IPolynomialFitter polynomialFitter = new TSPolynomialFitter(obs);

    int minDegree = polynomialFitter.getMinDegree();
    int maxDegree = polynomialFitter.getMaxDegree();

    PolynomialDegreeDialog dialog = new PolynomialDegreeDialog(minDegree,
        maxDegree);

    if (!dialog.isCancelled()) {
      polynomialFitter.setDegree(dialog.getDegree());
      model = polynomialFitter;
    }

    return model;
  }
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.util.model.IPolynomialFitter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.