SkyPointSource

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

Bases: gammapy.image.models.SkySpatialModel

Point Source.

\[\phi(lon, lat) = \delta{(lon - lon_0, lat - lat_0)}\]

A tolerance of 1 arcsecond is accepted for numerical stability

Parameters:
lon_0 : Longitude

\(lon_0\)

lat_0 : Latitude

\(lat_0\)

Methods Summary

__call__(lon, lat) Call evaluate method
copy() A deep copy.
evaluate(lon, lat, lon_0, lat_0) 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)[source]

Evaluate the model (static function).