Previous topic

hyperion.sources.SphericalSource

Next topic

hyperion.sources.ExternalBoxSource

This Page

hyperion.sources.ExternalSphericalSource

class hyperion.sources.ExternalSphericalSource(name=None, peeloff=True, **kwargs)

An spherical external source.

This can be used for example to simulate the interstellar radiation field. This source is similar to SphericalSource but emits photons inwards.

Parameters :

name : str, optional

The name of the source

peeloff : bool, optional

Whether to peel-off photons from this source

Notes

Any additional arguments are are used to initialize attributes.

Attributes

luminosity The bolometric luminosity of the source (ergs/s)
temperature The temperature of the source (K)
spectrum The spectrum of the source, specified either as an astropy.table.Table
position The cartesian position of the source (x, y, z) as a sequence of three floating-point values (cm)
radius The radius of the source (cm)