DiskSource¶
- class marxs.source.DiskSource(**kwargs)[source] [edit on github]¶
Bases:
RadialDistributionSource
Astrophysical source with the shape of a circle or ring.
This source uses a small angle approximation which is valid for radii less than a few degrees and runs much faster. See
SphericalDiskSource
for an implementation using full spherical geometry.- Parameters:
- a_inner, a_outer
astropy.coordinates.Angle
Inner and outer angle of the ring (e.g. in arcsec). The default is a disk with no inner hole (
a_inner
is set to zero.)
- a_inner, a_outer
Define a new MARXS element.