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>

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

Parameters

centerX

x coord of the layer's center.

centerY

y coord of the layer's center.

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
Link copied to clipboard
Link copied to clipboard

The function on which the layer is based.

Functions

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