tardis.plasma.properties.base module

class tardis.plasma.properties.base.ArrayInput[source]

Bases: Input

class tardis.plasma.properties.base.BaseAtomicDataProperty(plasma_parent)[source]

Bases: ProcessingPlasmaProperty

Used for atomic data properties. Main feature is the ability to filter atomic data by the elements required for the simulation.

calculate(atomic_data, selected_atoms)[source]
inputs = ['atomic_data', 'selected_atoms']
class tardis.plasma.properties.base.BasePlasmaProperty[source]

Bases: object

Attributes:
outputsTuple (strings)

List of output parameter names for particular property.

nameString

Class name

latex_nameString

Used to label nodes when plotting graphs

get_latex_label()[source]
property name
abstract property outputs
class tardis.plasma.properties.base.DataFrameInput[source]

Bases: Input

class tardis.plasma.properties.base.HiddenPlasmaProperty(plasma_parent)[source]

Bases: ProcessingPlasmaProperty

Used for plasma properties that should not be displayed in the final graph (e.g. lines_lower_level_index). The code will automatically remove these property names from the graph and instead connect their inputs directly to their outputs.

class tardis.plasma.properties.base.Input[source]

Bases: BasePlasmaProperty

The plasma property class for properties that are input directly from model and not calculated within the plasma module, e.g. t_rad.

set_value(value)[source]
class tardis.plasma.properties.base.PreviousIterationProperty[source]

Bases: BasePlasmaProperty

This class is used for properties where, to prevent a property calculation loop, the property values from the previous iteration (which are static) are used in the current calculation. Usually only required for NLTE calculations. Given a sufficient number of iterations, the values should converge successfully on the correct solution.

set_value(value)[source]
class tardis.plasma.properties.base.ProcessingPlasmaProperty(plasma_parent)[source]

Bases: BasePlasmaProperty

Attributes:
inputsTuple (strings)

List of input parameters required to create the property

abstract calculate(*args, **kwargs)[source]
update()[source]

Updates the processing Plasma by calling the calculate-method with the required inputs

Returns: