SymbolFSource¶
- class marxs.source.SymbolFSource(**kwargs)[source]¶
Bases:
AstroSourceSource shaped like the letter F.
This source provides a non-symmetric source for testing purposes.
Parameters¶
- size
astropy.units.quantity angular size
- kwargssee
Source Other keyword arguments include
flux,energyandpolarization. SeeSourcefor details.
Define a new MARXS element.
Methods Summary
generate_photons(exposuretime)Central function to generate photons.
Methods Documentation
- generate_photons(exposuretime: Unit('s'))[source]¶
Central function to generate photons.
Calling this function generates a photon table according to the
flux,energy, andpolarizationof this source. The number of photons depends on the total exposure time, which is a parameter of this function. Depending on the setting forfluxthe photons could be distributed equally over the interval 0..exposuretime or follow some other distribution.Parameters¶
- exposuretime
astropy.quantity.Quantity Total exposure time.
Returns¶
- photons
astropy.table.Table Table with photon properties.
- exposuretime
- size