Changeset 6897


Ignore:
Timestamp:
09/07/10 23:20:27 (9 years ago)
Author:
curtis
Message:

Update SLIM Plotter to work with jaolho LMA v1.3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/slim-plotter/src/main/java/loci/slim/fit/LMCurveFitter.java

    r5093 r6897  
    2727import jaolho.data.lma.LMA; 
    2828import jaolho.data.lma.LMAFunction; 
    29 import jaolho.data.lma.implementations.JAMAMatrix; 
    3029 
    3130import java.io.OutputStream; 
     
    4847  protected static final ExpFunction[] EXP_FUNCTIONS = { 
    4948    new ExpFunction(1), new ExpFunction(2) 
    50   }; 
    51  
    52   protected static final JAMAMatrix[] EXP_MATRICES = { 
    53     new JAMAMatrix(3, 3), 
    54     new JAMAMatrix(5, 5) 
    5549  }; 
    5650 
     
    126120 
    127121    lma = new LMA(EXP_FUNCTIONS[components - 1], params, 
    128       new double[][] {xVals, yVals}, weights, 
    129       EXP_MATRICES[components - 1]); 
     122      new double[][] {xVals, yVals}, weights); 
    130123    lma.maxIterations = 1; 
    131124  } 
Note: See TracChangeset for help on using the changeset viewer.