public class org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser
super_class: java.lang.Object
{
private final double norm;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double mean;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double sigma;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new org.apache.commons.math3.exception.NullArgumentException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.INPUT_ARRAY:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.NullArgumentException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
3: StackMap locals: org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[]
StackMap stack:
aload 1
arraylength
iconst_3
if_icmpge 5
4: new org.apache.commons.math3.exception.NumberIsTooSmallException
dup
aload 1
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
invokespecial org.apache.commons.math3.exception.NumberIsTooSmallException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.sortObservations:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
astore 2
start local 2 6: aload 0
aload 2
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.basicGuess:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[D
astore 3
start local 3 7: aload 0
aload 3
iconst_0
daload
putfield org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.norm:D
8: aload 0
aload 3
iconst_1
daload
putfield org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.mean:D
9: aload 0
aload 3
iconst_2
daload
putfield org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.sigma:D
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 11 1 observations [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
6 11 2 sorted [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
7 11 3 params [D
MethodParameters:
Name Flags
observations
public double[] guess();
descriptor: ()[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_3
newarray 7
dup
iconst_0
aload 0
getfield org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.norm:D
dastore
dup
iconst_1
aload 0
getfield org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.mean:D
dastore
dup
iconst_2
aload 0
getfield org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.sigma:D
dastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
private org.apache.commons.math3.fitting.WeightedObservedPoint[] sortObservations(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint[].clone:()Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint[]
astore 2
start local 2 1: new org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser$1
dup
aload 0
invokespecial org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser$1.<init>:(Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;)V
2: astore 3
start local 3 3: aload 2
aload 3
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
4: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 5 1 unsorted [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
1 5 2 observations [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
3 5 3 cmp Ljava/util/Comparator<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;
MethodParameters:
Name Flags
unsorted
private double[] basicGuess(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[D
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=15, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.findMaxY:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)I
istore 2
start local 2 1: aload 1
iload 2
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 3
start local 3 2: aload 1
iload 2
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 5
start local 5 3: dload 3
dload 5
dload 3
dsub
ldc 2.0
ddiv
dadd
dstore 9
start local 9 4: aload 0
aload 1
iload 2
iconst_m1
dload 9
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.interpolateXAtY:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;IID)D
dstore 11
start local 11 5: aload 0
aload 1
iload 2
iconst_1
dload 9
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.interpolateXAtY:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;IID)D
dstore 13
start local 13 6: dload 13
dload 11
dsub
dstore 7
end local 13 end local 11 end local 9 start local 7 7: goto 10
end local 7 StackMap locals: org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[] int double double
StackMap stack: org.apache.commons.math3.exception.OutOfRangeException
8: pop
9: aload 1
aload 1
arraylength
iconst_1
isub
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 1
iconst_0
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dsub
dstore 7
start local 7 10: StackMap locals: double
StackMap stack:
dload 7
ldc 2.0
ldc 2.0
ldc 2.0
invokestatic org.apache.commons.math3.util.FastMath.log:(D)D
dmul
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dmul
ddiv
dstore 9
start local 9 11: iconst_3
newarray 7
dup
iconst_0
dload 3
dastore
dup
iconst_1
dload 5
dastore
dup
iconst_2
dload 9
dastore
areturn
end local 9 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 12 1 points [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
1 12 2 maxYIdx I
2 12 3 n D
3 12 5 m D
7 8 7 fwhmApprox D
10 12 7 fwhmApprox D
4 7 9 halfY D
5 7 11 fwhmX1 D
6 7 13 fwhmX2 D
11 12 9 s D
Exception table:
from to target type
3 7 8 Class org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
points
private int findMaxY(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_1
istore 3
start local 3 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
aload 1
iload 2
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dcmpl
ifle 5
4: iload 3
istore 2
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 8 1 points [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
1 8 2 maxYIdx I
2 7 3 i I
MethodParameters:
Name Flags
points
private double interpolateXAtY(org.apache.commons.math3.fitting.WeightedObservedPoint[], int, int, double);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;IID)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
ifne 2
1: new org.apache.commons.math3.exception.ZeroException
dup
invokespecial org.apache.commons.math3.exception.ZeroException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
dload 4
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.getInterpolationPointsForY:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;IID)[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
3: astore 6
start local 6 4: aload 6
iconst_0
aaload
astore 7
start local 7 5: aload 6
iconst_1
aaload
astore 8
start local 8 6: aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dload 4
dcmpl
ifne 8
7: aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dreturn
8: StackMap locals: org.apache.commons.math3.fitting.WeightedObservedPoint[] org.apache.commons.math3.fitting.WeightedObservedPoint org.apache.commons.math3.fitting.WeightedObservedPoint
StackMap stack:
aload 8
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dload 4
dcmpl
ifne 10
9: aload 8
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dreturn
10: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dload 4
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dsub
aload 8
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dsub
dmul
11: aload 8
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dsub
ddiv
12: dadd
dreturn
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 13 1 points [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
0 13 2 startIdx I
0 13 3 idxStep I
0 13 4 y D
4 13 6 twoPoints [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
5 13 7 p1 Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
6 13 8 p2 Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
Exceptions:
throws org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
points
startIdx
idxStep
y
private org.apache.commons.math3.fitting.WeightedObservedPoint[] getInterpolationPointsForY(org.apache.commons.math3.fitting.WeightedObservedPoint[], int, int, double);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;IID)[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
ifne 2
1: new org.apache.commons.math3.exception.ZeroException
dup
invokespecial org.apache.commons.math3.exception.ZeroException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
istore 6
start local 6 3: goto 11
4: StackMap locals: int
StackMap stack:
aload 1
iload 6
aaload
astore 7
start local 7 5: aload 1
iload 6
iload 3
iadd
aaload
astore 8
start local 8 6: aload 0
dload 4
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
aload 8
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
invokevirtual org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser.isBetween:(DDD)Z
ifeq 10
7: iload 3
ifge 9
8: iconst_2
anewarray org.apache.commons.math3.fitting.WeightedObservedPoint
dup
iconst_0
aload 8
aastore
dup
iconst_1
aload 7
aastore
areturn
9: StackMap locals: org.apache.commons.math3.fitting.WeightedObservedPoint org.apache.commons.math3.fitting.WeightedObservedPoint
StackMap stack:
iconst_2
anewarray org.apache.commons.math3.fitting.WeightedObservedPoint
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 8
aastore
areturn
end local 8 end local 7 10: StackMap locals:
StackMap stack:
iload 6
iload 3
iadd
istore 6
11: StackMap locals:
StackMap stack:
iload 3
ifge 12
iload 6
iload 3
iadd
ifge 4
goto 13
StackMap locals:
StackMap stack:
12: iload 6
iload 3
iadd
aload 1
arraylength
if_icmplt 4
end local 6 13: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
dload 4
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
14: ldc -Infinity
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
15: ldc Infinity
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
16: invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 17 1 points [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
0 17 2 startIdx I
0 17 3 idxStep I
0 17 4 y D
3 13 6 i I
5 10 7 p1 Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
6 10 8 p2 Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
Exceptions:
throws org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
points
startIdx
idxStep
y
private boolean isBetween(double, double, double);
descriptor: (DDD)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: dload 1
dload 3
dcmpl
iflt 1
dload 1
dload 5
dcmpg
ifle 4
1: StackMap locals:
StackMap stack:
dload 1
dload 5
dcmpl
iflt 3
dload 1
dload 3
2: dcmpg
ifle 4
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/fitting/GaussianFitter$ParameterGuesser;
0 5 1 value D
0 5 3 boundary1 D
0 5 5 boundary2 D
MethodParameters:
Name Flags
value
boundary1
boundary2
}
SourceFile: "GaussianFitter.java"
NestHost: org.apache.commons.math3.fitting.GaussianFitter
InnerClasses:
public ParameterGuesser = org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser of org.apache.commons.math3.fitting.GaussianFitter
org.apache.commons.math3.fitting.GaussianFitter$ParameterGuesser$1