Package net.sf.mzmine.modules.peaklistmethods.alignment.ransac

Examples of net.sf.mzmine.modules.peaklistmethods.alignment.ransac.RTs


      return -1;
    }
  }

  public void addData(double RT, double RT2) {
    this.data.add(new RTs(RT, RT2));
  }
View Full Code Here


  public void addData(double RT, double RT2) {
    this.data.add(new RTs(RT, RT2));
  }

  private PolynomialFunction getPolynomialFunction() {
    Collections.sort(data, new RTs());
    PolynomialFitter fitter = new PolynomialFitter(3,
        new GaussNewtonOptimizer(true));
    for (RTs rt : data) {
      fitter.addObservedPoint(1, rt.RT, rt.RT2);
    }
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.peaklistmethods.alignment.ransac.RTs

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.