SkyGaussian

class gammapy.image.models.SkyGaussian(lon_0, lat_0, sigma)[source]

Bases: gammapy.image.models.SkySpatialModel

Two-dimensional symmetric Gaussian model.

\[\phi(lon, lat) = \frac{1}{2\pi\sigma^2} \exp{\left(-\frac{1}{2} \frac{\theta^2}{\sigma^2}\right)}\]

where \(\theta\) is the sky separation

Parameters:
lon_0 : Longitude

\(lon_0\)

lat_0 : Latitude

\(lat_0\)

sigma : Angle

\(\sigma\)

Methods Summary

__call__(lon, lat) Call evaluate method
copy() A deep copy.
evaluate(lon, lat, lon_0, lat_0, sigma) Evaluate the model (static function).

Methods Documentation

__call__(lon, lat)

Call evaluate method

copy()

A deep copy.

static evaluate(lon, lat, lon_0, lat_0, sigma)[source]

Evaluate the model (static function).