LogSpiral#
- class gammapy.astro.population.LogSpiral[source]#
Bases:
object
Logarithmic spiral.
Reference: http://en.wikipedia.org/wiki/Logarithmic_spiral
Methods Summary
radius
(theta, spiralarm_index)Radius for a given angle.
theta
(radius, spiralarm_index)Angle for a given radius.
xy_position
([theta, radius, spiralarm_index])Compute (x, y) position for a given angle or radius.
Methods Documentation