Package sc.fiji.snt.analysis.growth
Record Class GrowthAnalysisResults.GrowthSummaryStatistics
java.lang.Object
java.lang.Record
sc.fiji.snt.analysis.growth.GrowthAnalysisResults.GrowthSummaryStatistics
- Enclosing class:
GrowthAnalysisResults
public static record GrowthAnalysisResults.GrowthSummaryStatistics(double meanGrowthRate, double stdGrowthRate, double meanTotalGrowth, double stdTotalGrowth, double meanRSquared, int totalRetractions, int totalElongations, int neuriteCount)
extends Record
Container for summary statistics across all analyzed neurites.
-
Constructor Summary
ConstructorsConstructorDescriptionGrowthSummaryStatistics(double meanGrowthRate, double stdGrowthRate, double meanTotalGrowth, double stdTotalGrowth, double meanRSquared, int totalRetractions, int totalElongations, int neuriteCount) Creates an instance of aGrowthSummaryStatisticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doubledoublefinal inthashCode()Returns a hash code value for this object.doubleReturns the value of themeanGrowthRaterecord component.doubleReturns the value of themeanRSquaredrecord component.doubleReturns the value of themeanTotalGrowthrecord component.intReturns the value of theneuriteCountrecord component.doubleReturns the value of thestdGrowthRaterecord component.doubleReturns the value of thestdTotalGrowthrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetotalElongationsrecord component.intReturns the value of thetotalRetractionsrecord component.
-
Constructor Details
-
GrowthSummaryStatistics
public GrowthSummaryStatistics() -
GrowthSummaryStatistics
public GrowthSummaryStatistics(double meanGrowthRate, double stdGrowthRate, double meanTotalGrowth, double stdTotalGrowth, double meanRSquared, int totalRetractions, int totalElongations, int neuriteCount) Creates an instance of aGrowthSummaryStatisticsrecord class.- Parameters:
meanGrowthRate- the value for themeanGrowthRaterecord componentstdGrowthRate- the value for thestdGrowthRaterecord componentmeanTotalGrowth- the value for themeanTotalGrowthrecord componentstdTotalGrowth- the value for thestdTotalGrowthrecord componentmeanRSquared- the value for themeanRSquaredrecord componenttotalRetractions- the value for thetotalRetractionsrecord componenttotalElongations- the value for thetotalElongationsrecord componentneuriteCount- the value for theneuriteCountrecord component
-
-
Method Details
-
getRetractionFrequency
public double getRetractionFrequency() -
getElongationFrequency
public double getElongationFrequency() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
meanGrowthRate
public double meanGrowthRate()Returns the value of themeanGrowthRaterecord component.- Returns:
- the value of the
meanGrowthRaterecord component
-
stdGrowthRate
public double stdGrowthRate()Returns the value of thestdGrowthRaterecord component.- Returns:
- the value of the
stdGrowthRaterecord component
-
meanTotalGrowth
public double meanTotalGrowth()Returns the value of themeanTotalGrowthrecord component.- Returns:
- the value of the
meanTotalGrowthrecord component
-
stdTotalGrowth
public double stdTotalGrowth()Returns the value of thestdTotalGrowthrecord component.- Returns:
- the value of the
stdTotalGrowthrecord component
-
meanRSquared
public double meanRSquared()Returns the value of themeanRSquaredrecord component.- Returns:
- the value of the
meanRSquaredrecord component
-
totalRetractions
public int totalRetractions()Returns the value of thetotalRetractionsrecord component.- Returns:
- the value of the
totalRetractionsrecord component
-
totalElongations
public int totalElongations()Returns the value of thetotalElongationsrecord component.- Returns:
- the value of the
totalElongationsrecord component
-
neuriteCount
public int neuriteCount()Returns the value of theneuriteCountrecord component.- Returns:
- the value of the
neuriteCountrecord component
-