Previous topic

Radiative transfer settings

Next topic

Setting up a YSO model

This Page

Analytical YSO ModelsΒΆ

The Arbitrary Models class should allow users to set up arbitrary problems. However, the Python module also provides classes that build on top of Model that make it easy to specify certain kinds of problems. These classes support all the methods available for the Model class, and define new ones. The AnalyticalYSOModel makes it easy to set up sources with flared disks, and rotationally flattened envelopes, optionally with bipolar cavities. To use this class, you will first need to import it:

from hyperion.model import AnalyticalYSOModel

it is then easy to set up such a model using:

m = AnalyticalYSOModel()

The model can then be set up using methods of the AnalyticalYSOModel instance. This is described in more detail in the following section:

To set up the dust, images, and configuration, see the Preparing dust properties, Setting up images and SEDs, and Radiative transfer settings sections of the Arbitrary Models description.

Once the model is set up, you can write it out to the disk for use with the Fortran radiation transfer code:

m.write('example.rtin')