GaussSource¶
- class marxs.source.GaussSource(**kwargs)[source] [edit on github]¶
Bases:
AstroSource
Astrophysical source with a Gaussian brightness profile.
This source uses a small angle approximation which is valid for radii less than a few degrees.
- Parameters:
- sigma
astropy.coordinates.Angle
Gaussian sigma setting the width of the distribution
- sigma
Define a new MARXS element.
Methods Summary
generate_photons
(exposuretime)Photon positions are generated in a frame that is centered on the coordinates set in
coords
, then they get transformed into the global sky system.Methods Documentation
- generate_photons(exposuretime: Unit('s'))[source] [edit on github]¶
Photon positions are generated in a frame that is centered on the coordinates set in
coords
, then they get transformed into the global sky system.