public class GaussianAxis extends Variable4Axis
CalibratedAxis
that scales raw values by the
equation y = a + (b-a)*exp(-(x-c)*(x-c)/(2*d*d))
.Constructor and Description |
---|
GaussianAxis(AxisType type,
String unit,
double a,
double b,
double c,
double d) |
Modifier and Type | Method and Description |
---|---|
double |
calibratedValue(double rawValue)
Returns a calibrated value given a raw position along the axis.
|
GaussianAxis |
copy()
Creates an exact duplicate of this axis.
|
String |
generalEquation()
Gets the general equation representing values along this axis; for
instance:
y = m*x + b . |
double |
rawValue(double calibratedValue)
Returns a raw value given a calibrated position along the axis.
|
d, setD
c, setC
b, setB
a, setA
get, numVars, particularEquation, set, vars
averageScale, equals, hashCode, setUnit, unit
setType, type
public double calibratedValue(double rawValue)
CalibratedAxis
public double rawValue(double calibratedValue)
CalibratedAxis
public String generalEquation()
CalibratedAxis
y = m*x + b
.public GaussianAxis copy()
CalibratedAxis
Copyright © 2014–2022 ImageJ. All rights reserved.