Previous topic

hyperion.sources.ExternalBoxSource

Next topic

hyperion.sources.PlaneParallelSource

This Page

hyperion.sources.MapSource

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

A diffuse source.

This can be used for example to simulate the interstellar radiation field. This source emits 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
map The relative luminosity in each cell, given as a Numpy array or an AMRGridView instance