Implements

Constructors

Properties

fwhmX: number

Full width at half maximum. Could specify the value for each axis by a xy object or both by a number.

Default

50
fwhmY: number

Accessors

Methods

  • Return a parameterized function of a Gaussian2D shape (see README for equation).

    Parameters

    • x: number

      x value to calculate.

    • y: number

      y value to calculate.

    Returns number

    • the z value of bi-dimensional gaussian with the current parameters.