Changeset 6938


Ignore:
Timestamp:
09/14/10 20:26:39 (9 years ago)
Author:
aivar
Message:

Handles m_free, which parameters are free vs. fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/curve-fitter/src/main/java/loci/curvefitter/AbstractCurveFitter.java

    r6925 r6938  
    4747    int m_curveType = ICurveFitter.EXPONENTIAL; 
    4848    double m_xInc = ICurveFitter.DEFAULT_X_INC; 
     49    boolean[] m_free; 
    4950     
    5051    /** 
     
    7980     * @inheritDoc 
    8081     */ 
    81     public int fitData(ICurveFitData[] data) { 
     82    public boolean[] getFree() { 
     83        return m_free; 
     84    } 
     85 
     86    /** 
     87     * @inheritDoc 
     88     */ 
     89    public void setFree(boolean[] free) { 
     90        m_free = free; 
     91    } 
     92 
     93    /** 
     94     * @inheritDoc 
     95     */ 
     96     public int fitData(ICurveFitData[] data) { 
    8297        int nData = data[0].getYData().length; 
    8398        return fitData(data, 0, nData - 1); 
Note: See TracChangeset for help on using the changeset viewer.