SkyPointSource

class gammapy.image.models.SkyPointSource(lon_0, lat_0, frame='galactic')[source]

Bases: gammapy.image.models.SkySpatialModel

Point Source.

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

\(lon_0\)

lat_0 : Latitude

\(lat_0\)

frame : {“galactic”, “icrs”}

Coordinate frame of lon_0 and lat_0.

Attributes Summary

evaluation_radius Returns the effective radius of the sky region where the model evaluates to non-zero.
frame
lat_0
lon_0
parameters Parameters (Parameters)
position Spatial model center position

Methods Summary

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

Attributes Documentation

evaluation_radius

Returns the effective radius of the sky region where the model evaluates to non-zero. For a Gaussian source, we fix it to \(0\).

Returns:
radius : Quantity

Radius

frame
lat_0
lon_0
parameters

Parameters (Parameters)

position

Spatial model center position

Methods Documentation

__call__(self, lon, lat)

Call evaluate method

copy(self)

A deep copy.

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

Evaluate the model (static function).