tardis.plasma.base module

class tardis.plasma.base.BasePlasma(*args, **kwargs)[source]

Bases: tardis.io.util.PlasmaWriterMixin

freeze(*args)[source]

Freeze plama properties.

This method freezes plasma properties to prevent them from being updated: the values of a frozen property are fixed in the plasma calculation. This is useful for example for setting up test cases.

Parameters
argsiterable of str

Names of plasma properties to freeze.

Examples

>>> plasma.freeze('t_electrons')
get_value(item)[source]
hdf_name = 'plasma'
outputs_dict = {}
property plasma_properties_dict
remove_hidden_properties(print_graph)[source]
store_previous_properties()[source]
thaw(*args)[source]

Thaw plama properties.

This method thaws (unfreezes) plasma properties allowing them to be updated again.

Parameters
argsiterable of str

Names of plasma properties to unfreeze.

Examples

>>> plasma.thaw('t_electrons')
update(**kwargs)[source]
write_to_dot(fname, latex_label=True)[source]
write_to_tex(fname_graph)[source]