Configuration Components

TARDIS uses the YAML markup language for its configuration files. There are several sections which allow different settings for the different aspects of the TARDIS calculation. An example configuration file (with a small subset of the options that can be specified) can be downloaded here.

Warning

One should note that currently floats in YAML that are expressed in scientific notation need to be specified in a special format: any pure floats in scientific notation need to have a +/- after the “e”, e.g. 2e+5

The TARDIS configuration consists of multiple sections that pertain to certain parts of the code. We will use the schemas to show what options are available. Our schema mark-up defines names in bold-fat as required and can be seen here:

Note

The following shows all the options (and their default settings) that are available for TARDIS. No other options are allowed or available.

The base schema outlines the main components of the TARDIS configuration. Schemas for these components are linked in the base schema, and important information about the configuration is linked below.

type

object

properties

  • tardis_config_version

Version of the configuration file. The current version is 1.0 and no other versions are allowed

type

string

  • supernova

a section pertaining to observations of the supernova

supernova.yml

  • atom_data

path or filename to the Atomic Data HDF5 file

type

string

  • plasma

configuration of the plasma microphysics

plasma.yml

  • csvy_model

defining the model using csvy format

type

string

  • model

defining the model in the config yaml file

model.yml

  • montecarlo

configuring the physics of the monte carlo radiative transfer

montecarlo.yml

  • spectrum

Final spectrum sampling

spectrum.yml

additionalProperties

False