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)
fwhm_x
fwhm_y