Donut Class¶
- class astrodonut.donut.Donut(a1, b1, ecc, inc, ring_ratio, width, height)[source]¶
Bases:
objectRepresents a single elliptical donut shape rendered as a 2D NumPy array.
This class encapsulates parameters like the size, eccentricity, inclination, and thickness of the donut, and generates a ring-shaped image using those values.