Package sc.fiji.snt.analysis.sholl.math
Record Class PolarProfileStats.PolarPeak
java.lang.Object
java.lang.Record
sc.fiji.snt.analysis.sholl.math.PolarProfileStats.PolarPeak
- Record Components:
angleDeg- bin-center angle (Direction: [0,360[, Orientation: [0,180[)value- the peak height in distribution units (counts or length)bin- index of the peak bin in the distribution
- Enclosing class:
PolarProfileStats
public static record PolarProfileStats.PolarPeak(double angleDeg, double value, int bin)
extends Record
Simple container for angular peaks.
-
Constructor Summary
ConstructorsConstructorDescriptionPolarPeak(double angleDeg, double value, int bin) Creates an instance of aPolarPeakrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleangleDeg()Returns the value of theangleDegrecord component.intbin()Returns the value of thebinrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.doublevalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
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. All components in this record class are compared with '=='. -
angleDeg
public double angleDeg()Returns the value of theangleDegrecord component.- Returns:
- the value of the
angleDegrecord component
-
value
public double value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
bin
public int bin()Returns the value of thebinrecord component.- Returns:
- the value of the
binrecord component
-