类 Correlate1D
- java.lang.Object
-
- org.meteoinfo.image.ndimage.Correlate1D
-
public class Correlate1D extends Object
-
-
构造器概要
构造器 构造器 说明 Correlate1D()ConstructorCorrelate1D(org.meteoinfo.ndarray.Array weights)ConstructorCorrelate1D(org.meteoinfo.ndarray.Array weights, ExtendMode mode)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.meteoinfo.ndarray.Arraycorrelate(org.meteoinfo.ndarray.Array a)Calculate a 1-D correlation along the given axis.intgetAxis()Get axisdoublegetCValue()Get constant valueExtendModegetMode()Get extend modeorg.meteoinfo.ndarray.ArraygetWeights()Get weightsvoidsetAxis(int value)Set axisvoidsetCValue(double value)Set constant valuevoidsetMode(ExtendMode value)Set extend modevoidsetWeights(org.meteoinfo.ndarray.Array value)Set weights
-
-
-
构造器详细资料
-
Correlate1D
public Correlate1D(org.meteoinfo.ndarray.Array weights, ExtendMode mode)Constructor- 参数:
weights- Weightsmode- Extend mode
-
Correlate1D
public Correlate1D(org.meteoinfo.ndarray.Array weights)
Constructor- 参数:
weights- Weights
-
Correlate1D
public Correlate1D()
Constructor
-
-
方法详细资料
-
getWeights
public org.meteoinfo.ndarray.Array getWeights()
Get weights- 返回:
- Weights
-
setWeights
public void setWeights(org.meteoinfo.ndarray.Array value)
Set weights- 参数:
value- Weights
-
getMode
public ExtendMode getMode()
Get extend mode- 返回:
- Extend mode
-
setMode
public void setMode(ExtendMode value)
Set extend mode- 参数:
value- Extend mode
-
getAxis
public int getAxis()
Get axis- 返回:
- Axis
-
setAxis
public void setAxis(int value)
Set axis- 参数:
value- Axis
-
getCValue
public double getCValue()
Get constant value- 返回:
- Constant value
-
setCValue
public void setCValue(double value)
Set constant value- 参数:
value- Constant value
-
correlate
public org.meteoinfo.ndarray.Array correlate(org.meteoinfo.ndarray.Array a) throws org.meteoinfo.ndarray.InvalidRangeExceptionCalculate a 1-D correlation along the given axis. The lines of the array along the given axis are correlated with the given weights.- 参数:
a- The input array- 返回:
- Correlation result
- 抛出:
org.meteoinfo.ndarray.InvalidRangeException
-
-