hyperspy._components.gaussian2d module

class hyperspy._components.gaussian2d.Gaussian2D(A=1.0, sigma_x=1.0, sigma_y=1.0, centre_x=0.0, centre_y=0.0)

Bases: hyperspy.component.Component

Normalized 2D elliptical gaussian function component

f(x,y) = \frac{A}{2\pi s_x s_y}e^{-\frac{\left(x-x0\right)
^{2}}{2s_{x}^{2}}\frac{\left(y-y0\right)^{2}}{2s_{y}^{2}}}

Parameter

Attribute

a

amplitude

x0,y0

centre

s_x,s_y

sigma

function(x, y)
property fwhm_x
property fwhm_y
hyperspy._components.gaussian2d.pi2 = 6.283185307179586
hyperspy._components.gaussian2d.sigma2fwhm = 2.3548200450309493