Package sc.fiji.snt.analysis.curation
Record Class PlausibilityCalibrator.CheckSummary
java.lang.Object
java.lang.Record
sc.fiji.snt.analysis.curation.PlausibilityCalibrator.CheckSummary
- Enclosing class:
PlausibilityCalibrator
public static record PlausibilityCalibrator.CheckSummary(String checkName, String paramLabel, double computedValue, int sampleSize, double mean, double stdDev, double percentileUsed)
extends Record
Summary for a single calibrated parameter.
-
Constructor Summary
ConstructorsConstructorDescriptionCheckSummary(String checkName, String paramLabel, double computedValue, int sampleSize, double mean, double stdDev, double percentileUsed) Creates an instance of aCheckSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecheckNamerecord component.doubleReturns the value of thecomputedValuerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublemean()Returns the value of themeanrecord component.Returns the value of theparamLabelrecord component.doubleReturns the value of thepercentileUsedrecord component.intReturns the value of thesampleSizerecord component.doublestdDev()Returns the value of thestdDevrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CheckSummary
public CheckSummary(String checkName, String paramLabel, double computedValue, int sampleSize, double mean, double stdDev, double percentileUsed) Creates an instance of aCheckSummaryrecord class.- Parameters:
checkName- the value for thecheckNamerecord componentparamLabel- the value for theparamLabelrecord componentcomputedValue- the value for thecomputedValuerecord componentsampleSize- the value for thesampleSizerecord componentmean- the value for themeanrecord componentstdDev- the value for thestdDevrecord componentpercentileUsed- the value for thepercentileUsedrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
checkName
Returns the value of thecheckNamerecord component.- Returns:
- the value of the
checkNamerecord component
-
paramLabel
Returns the value of theparamLabelrecord component.- Returns:
- the value of the
paramLabelrecord component
-
computedValue
public double computedValue()Returns the value of thecomputedValuerecord component.- Returns:
- the value of the
computedValuerecord component
-
sampleSize
public int sampleSize()Returns the value of thesampleSizerecord component.- Returns:
- the value of the
sampleSizerecord component
-
mean
public double mean()Returns the value of themeanrecord component.- Returns:
- the value of the
meanrecord component
-
stdDev
public double stdDev()Returns the value of thestdDevrecord component.- Returns:
- the value of the
stdDevrecord component
-
percentileUsed
public double percentileUsed()Returns the value of thepercentileUsedrecord component.- Returns:
- the value of the
percentileUsedrecord component
-