DiskSource¶
- class marxs.source.DiskSource(**kwargs)[source] [edit on github]¶
Bases:
RadialDistributionSourceAstrophysical 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
SphericalDiskSourcefor 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_inneris set to zero.)
- a_inner, a_outer
Define a new MARXS element.