BidimensionalGaussianLayer

open class BidimensionalGaussianLayer<P : Position2D<P>> @JvmOverloads constructor(baseline: Double = 0.0, val centerX: Double, val centerY: Double, norm: Double, sigmaX: Double, sigmaY: Double = sigmaX) : Layer<Double, P> (source)

A Layer based on a 2D gaussian function and an optional baseline value.

Parameters

baseline

the baseline value added to the gaussian (default: 0.0)

norm

normalization (amplitude) factor of the gaussian function

sigmaX

standard deviation along the X axis

sigmaY

standard deviation along the Y axis (defaults to sigmaX)

Type Parameters

P

the position type

Constructors

Link copied to clipboard
constructor(baseline: Double = 0.0, centerX: Double, centerY: Double, norm: Double, sigmaX: Double, sigmaY: Double = sigmaX)

Properties

Link copied to clipboard

the x coordinate of the layer's center

Link copied to clipboard

the y coordinate of the layer's center

Link copied to clipboard

The function on which the layer is based.

Functions

Link copied to clipboard
open override fun getValue(p: P): Double