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 Evaluation radius (Angle).
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).
to_dict(self[, selection])

Attributes Documentation

evaluation_radius

Evaluation radius (Angle).

Set as zero degrees.

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).

to_dict(self, selection='all')