Modifier and Type | Field and Description |
---|---|
static String |
DECAY |
static String |
MAX |
static String |
MAX_FITTED |
static String |
MAX_FITTED_RADIUS |
static String |
MEAN |
static String |
N_MAX |
static String |
N_SECONDARY_MAX |
static String |
POLY_FIT_DEGREE |
static String |
SUM |
Constructor and Description |
---|
ShollAnalyzer(Tree tree)
Instantiates a new Sholl analyzer using default settings, i.e., focused on
Tree's root; using sampling step size of average inter-node distance; curve
fitting enabled; and all other parameters left to defaults/auto-discovery.
|
Modifier and Type | Method and Description |
---|---|
LinearProfileStats |
getLinearStats()
Gets the
LinearProfileStats associated with this analyzer. |
ArrayList<Double> |
getMaximaRadii() |
static List<String> |
getMetrics() |
NormalizedProfileStats |
getNormStats()
Gets the
NormalizedProfileStats associated with this analyzer. |
ArrayList<double[]> |
getSecondaryMaxima() |
Map<String,Number> |
getSingleValueMetrics() |
static void |
main(String[] args) |
void |
setEnableCurveFitting(boolean enable)
Sets whether curve fitting computations should be performed.
|
void |
setPolynomialFitRange(int fromDegree,
int toDegree)
Sets the polynomial fit range for linear Sholl statistics.
|
public static final String MEAN
public static final String MAX
public static final String MAX_FITTED
public static final String MAX_FITTED_RADIUS
public static final String POLY_FIT_DEGREE
public static final String N_MAX
public static final String SUM
public static final String N_SECONDARY_MAX
public static final String DECAY
public ShollAnalyzer(Tree tree)
tree
- the Tree to be analyzedpublic void setPolynomialFitRange(int fromDegree, int toDegree)
fromDegree
- the lowest degree to be considered. Set it to -1 to skip
polynomial fittoDegree
- the highest degree to be considered. Set it to -1 to skip
polynomial fitpublic void setEnableCurveFitting(boolean enable)
enable
- if true
polynomial and linear regression on normalized
Sholl data will be performed. Enabling this option may
adversely affect performance.public ArrayList<double[]> getSecondaryMaxima()
public LinearProfileStats getLinearStats()
LinearProfileStats
associated with this analyzer. By default
it is set to determine the polynomial of 'best-fit' (2-20 degree range.)public NormalizedProfileStats getNormStats()
NormalizedProfileStats
associated with this analyzer. By
default it is set to determine the regression method of 'best-fit' (log-log
or semi-log) using shell volume as normalizer (if Tree has a depth component)
or shell area if Tree is 2D.public static void main(String[] args) throws InterruptedException
InterruptedException
Copyright © 2015–2021 Fiji. All rights reserved.