hyperion.sources.SphericalSource¶
-
class
hyperion.sources.SphericalSource(name=None, peeloff=True, **kwargs)¶ A spherical source
- Parameters
- namestr, optional
The name of the source
- peeloffbool, optional
Whether to peel-off photons from this source
Notes
Any additional arguments are are used to initialize attributes.
Attributes
nameA string identifying the source (optional)
luminosityThe bolometric luminosity of the source (ergs/s)
temperatureThe temperature of the source (K)
spectrumThe spectrum of the source, specified either as an astropy.table.Table instance with
'nu'and'fnu'columns, or as a(nu, fnu)tuple, where the frequency is given in Hz, and the flux is given as F_nu (units are unimportant since the normalization is set by the luminosity).positionThe cartesian position of the source
(x, y, z)as a sequence of three floating-point values (cm)radiusThe radius of the source (cm)
limbWhether to include limb darkening
Methods
add_spot(self, \*args, \*\*kwargs)Add a spot to the source.
Methods (detail)
-
add_spot(self, \*args, \*\*kwargs)¶ Add a spot to the source.
All arguments are passed to
SpotSource, so see that class for more details